【E2435】基于STM32F407的信号发生器

2021-11-24 00:37:18      索炜达电子      712     

项目编号:E2435

文件大小:12M

源码说明:带中文注释

开发环境:C编译器

简要概述

编译环境:Keil5

开发板:STM32开发板

语言:C

说明:配合3倍放大器等外部电路使用

功能:可以产生1Hz~100kHz的方波、三角波、正弦波

步进0.1V,1Hz可以预置频率和幅值,可以实现扫频功能(目前实现的不是太好)。

可以识别输入的波形频率、幅值、类型(目前还没有实现)。

PA4输出波形

ADC(PA5)接收波形

目录│文件列表:

 │ 不绕弯路,获取海量资源.jpg

 └ waveform-generator-based-on-stm32f407

    │ keilkilll.bat

    │ output(iar).hex

    │ output(mdk).hex

    ├ CORE

    │  │ core_cm4.h

    │  │ core_cm4_simd.h

    │  │ core_cmFunc.h

    │  │ core_cmInstr.h

    │  └ startup_stm32f40_41xxx.s

    ├ EWARMv6

    │  │ CopyHex_Flash.bat

    │  │ Project.ewd

    │  │ Project.ewp

    │  │ project.eww

    │  │ stm32f4xx_flash.icf

    │  │ stm32f4xx_ram.icf

    │  └ 说明.txt

    ├ FWLIB

    │  ├ inc

    │  │  │ misc.h

    │  │  │ stm32f4xx_adc.h

    │  │  │ stm32f4xx_can.h

    │  │  │ stm32f4xx_crc.h

    │  │  │ stm32f4xx_cryp.h

    │  │  │ stm32f4xx_dac.h

    │  │  │ stm32f4xx_dbgmcu.h

    │  │  │ stm32f4xx_dcmi.h

    │  │  │ stm32f4xx_dma.h

    │  │  │ stm32f4xx_dma2d.h

    │  │  │ stm32f4xx_exti.h

    │  │  │ stm32f4xx_flash.h

    │  │  │ stm32f4xx_flash_ramfunc.h

    │  │  │ stm32f4xx_fmc.h

    │  │  │ stm32f4xx_fsmc.h

    │  │  │ stm32f4xx_gpio.h

    │  │  │ stm32f4xx_hash.h

    │  │  │ stm32f4xx_i2c.h

    │  │  │ stm32f4xx_iwdg.h

    │  │  │ stm32f4xx_ltdc.h

    │  │  │ stm32f4xx_pwr.h

    │  │  │ stm32f4xx_rcc.h

    │  │  │ stm32f4xx_rng.h

    │  │  │ stm32f4xx_rtc.h

    │  │  │ stm32f4xx_sai.h

    │  │  │ stm32f4xx_sdio.h

    │  │  │ stm32f4xx_spi.h

    │  │  │ stm32f4xx_syscfg.h

    │  │  │ stm32f4xx_tim.h

    │  │  │ stm32f4xx_usart.h

    │  │  └ stm32f4xx_wwdg.h

    │  └ src

    │     │ misc.c

    │     │ stm32f4xx_adc.c

    │     │ stm32f4xx_can.c

    │     │ stm32f4xx_crc.c

    │     │ stm32f4xx_cryp.c

    │     │ stm32f4xx_cryp_aes.c

    │     │ stm32f4xx_cryp_des.c

    │     │ stm32f4xx_cryp_tdes.c

    │     │ stm32f4xx_dac.c

    │     │ stm32f4xx_dbgmcu.c

    │     │ stm32f4xx_dcmi.c

    │     │ stm32f4xx_dma.c

    │     │ stm32f4xx_dma2d.c

    │     │ stm32f4xx_exti.c

    │     │ stm32f4xx_flash.c

    │     │ stm32f4xx_flash_ramfunc.c

    │     │ stm32f4xx_fmc.c

    │     │ stm32f4xx_fsmc.c

    │     │ stm32f4xx_gpio.c

    │     │ stm32f4xx_hash.c

    │     │ stm32f4xx_hash_md5.c

    │     │ stm32f4xx_hash_sha1.c

    │     │ stm32f4xx_i2c.c

    │     │ stm32f4xx_iwdg.c

    │     │ stm32f4xx_ltdc.c

    │     │ stm32f4xx_pwr.c

    │     │ stm32f4xx_rcc.c

    │     │ stm32f4xx_rng.c

    │     │ stm32f4xx_rtc.c

    │     │ stm32f4xx_sai.c

    │     │ stm32f4xx_sdio.c

    │     │ stm32f4xx_spi.c

    │     │ stm32f4xx_syscfg.c

    │     │ stm32f4xx_tim.c

    │     │ stm32f4xx_usart.c

    │     └ stm32f4xx_wwdg.c

    ├ HARDWARE

    │  ├ 24CXX

    │  │  │ 24cxx.c

    │  │  └ 24cxx.h

    │  ├ ADC

    │  │  │ adc.c

    │  │  └ adc.h

    │  ├ BUTTON_APP

    │  │  │ button_app.c

    │  │  └ button_app.h

    │  ├ DAC

    │  │  │ dac.c

    │  │  └ dac.h

    │  ├ DSP_LIB

    │  │  │ arm_cortexM4lf_math.lib

    │  │  └ Include

    │  │     │ arm_common_tables.h

    │  │     │ arm_const_structs.h

    │  │     │ arm_math.h

    │  │     │ core_cm0.h

    │  │     │ core_cm0plus.h

    │  │     │ core_cm3.h

    │  │     │ core_cm4.h

    │  │     │ core_cm4_simd.h

    │  │     │ core_cmFunc.h

    │  │     │ core_cmInstr.h

    │  │     │ core_sc000.h

    │  │     └ core_sc300.h

    │  ├ FFT

    │  │  │ fft.c

    │  │  └ fft.h

    │  ├ IIC

    │  │  │ myiic.c

    │  │  └ myiic.h

    │  ├ KEY

    │  │  │ key.c

    │  │  └ key.h

    │  ├ LCD

    │  │  │ FONT.H

    │  │  │ lcd.c

    │  │  └ lcd.h

    │  ├ LED

    │  │  │ led.c

    │  │  └ led.h

    │  ├ SWEEP

    │  │  │ sweep.c

    │  │  └ sweep.h

    │  └ TOUCH

    │     │ ctiic.c

    │     │ ctiic.h

    │     │ ft5206.c

    │     │ ft5206.h

    │     │ gt9147.c

    │     │ gt9147.h

    │     │ ott2001a.c

    │     │ ott2001a.h

    │     │ touch.c

    │     └ touch.h

    ├ MDK-ARM(uV4)

    │  │ CopyHex_Flash.bat

    │  │ CpuRAM.ini

    │  │ project.uvgui.Administrator

    │  │ project.uvopt

    │  │ project.uvproj

    │  │ project_uvopt.bak

    │  │ 说明.txt

    │  └ Flash

    │     └ Obj

    │        └ output.build_log.htm

    ├ OBJ

    │  │ 24cxx.crf

    │  │ 24cxx.d

    │  │ 24cxx.o

    │  │ adc.crf

    │  │ adc.d

    │  │ adc.o

    │  │ button_app.crf

    │  │ button_app.d

    │  │ button_app.o

    │  │ ctiic.crf

    │  │ ctiic.d

    │  │ ctiic.o

    │  │ DAC.axf

    │  │ DAC.build_log.htm

    │  │ dac.crf

    │  │ dac.d

    │  │ DAC.hex

    │  │ DAC.htm

    │  │ DAC.lnp

    │  │ DAC.map

    │  │ dac.o

    │  │ DAC.sct

    │  │ DAC_DAC.dep

    │  │ delay.crf

    │  │ delay.d

    │  │ delay.o

    │  │ ExtDll.iex

    │  │ fft.crf

    │  │ fft.d

    │  │ fft.o

    │  │ ft5206.crf

    │  │ ft5206.d

    │  │ ft5206.o

    │  │ gt9147.crf

    │  │ gt9147.d

    │  │ gt9147.o

    │  │ key.crf

    │  │ key.d

    │  │ key.o

    │  │ lcd.crf

    │  │ lcd.d

    │  │ lcd.o

    │  │ led.crf

    │  │ led.d

    │  │ led.o

    │  │ main.crf

    │  │ main.d

    │  │ main.o

    │  │ misc.crf

    │  │ misc.d

    │  │ misc.o

    │  │ myiic.crf

    │  │ myiic.d

    │  │ myiic.o

    │  │ ott2001a.crf

    │  │ ott2001a.d

    │  │ ott2001a.o

    │  │ startup_stm32f40_41xxx.d

    │  │ startup_stm32f40_41xxx.lst

    │  │ startup_stm32f40_41xxx.o

    │  │ stm32f4xx_adc.crf

    │  │ stm32f4xx_adc.d

    │  │ stm32f4xx_adc.o

    │  │ stm32f4xx_can.crf

    │  │ stm32f4xx_can.d

    │  │ stm32f4xx_can.o

    │  │ stm32f4xx_crc.crf

    │  │ stm32f4xx_crc.d

    │  │ stm32f4xx_crc.o

    │  │ stm32f4xx_cryp.crf

    │  │ stm32f4xx_cryp.d

    │  │ stm32f4xx_cryp.o

    │  │ stm32f4xx_cryp_aes.crf

    │  │ stm32f4xx_cryp_aes.d

    │  │ stm32f4xx_cryp_aes.o

    │  │ stm32f4xx_cryp_des.crf

    │  │ stm32f4xx_cryp_des.d

    │  │ stm32f4xx_cryp_des.o

    │  │ stm32f4xx_cryp_tdes.crf

    │  │ stm32f4xx_cryp_tdes.d

    │  │ stm32f4xx_cryp_tdes.o

    │  │ stm32f4xx_dac.crf

    │  │ stm32f4xx_dac.d

    │  │ stm32f4xx_dac.o

    │  │ stm32f4xx_dbgmcu.crf

    │  │ stm32f4xx_dbgmcu.d

    │  │ stm32f4xx_dbgmcu.o

    │  │ stm32f4xx_dcmi.crf

    │  │ stm32f4xx_dcmi.d

    │  │ stm32f4xx_dcmi.o

    │  │ stm32f4xx_dma.crf

    │  │ stm32f4xx_dma.d

    │  │ stm32f4xx_dma.o

    │  │ stm32f4xx_dma2d.crf

    │  │ stm32f4xx_dma2d.d

    │  │ stm32f4xx_dma2d.o

    │  │ stm32f4xx_exti.crf

    │  │ stm32f4xx_exti.d

    │  │ stm32f4xx_exti.o

    │  │ stm32f4xx_flash.crf

    │  │ stm32f4xx_flash.d

    │  │ stm32f4xx_flash.o

    │  │ stm32f4xx_flash_ramfunc.crf

    │  │ stm32f4xx_flash_ramfunc.d

    │  │ stm32f4xx_flash_ramfunc.o

    │  │ stm32f4xx_fmc.d

    │  │ stm32f4xx_fsmc.crf

    │  │ stm32f4xx_fsmc.d

    │  │ stm32f4xx_fsmc.o

    │  │ stm32f4xx_gpio.crf

    │  │ stm32f4xx_gpio.d

    │  │ stm32f4xx_gpio.o

    │  │ stm32f4xx_hash.crf

    │  │ stm32f4xx_hash.d

    │  │ stm32f4xx_hash.o

    │  │ stm32f4xx_hash_md5.crf

    │  │ stm32f4xx_hash_md5.d

    │  │ stm32f4xx_hash_md5.o

    │  │ stm32f4xx_hash_sha1.crf

    │  │ stm32f4xx_hash_sha1.d

    │  │ stm32f4xx_hash_sha1.o

    │  │ stm32f4xx_i2c.crf

    │  │ stm32f4xx_i2c.d

    │  │ stm32f4xx_i2c.o

    │  │ stm32f4xx_it.crf

    │  │ stm32f4xx_it.d

    │  │ stm32f4xx_it.o

    │  │ stm32f4xx_iwdg.crf

    │  │ stm32f4xx_iwdg.d

    │  │ stm32f4xx_iwdg.o

    │  │ stm32f4xx_ltdc.crf

    │  │ stm32f4xx_ltdc.d

    │  │ stm32f4xx_ltdc.o

    │  │ stm32f4xx_pwr.crf

    │  │ stm32f4xx_pwr.d

    │  │ stm32f4xx_pwr.o

    │  │ stm32f4xx_rcc.crf

    │  │ stm32f4xx_rcc.d

    │  │ stm32f4xx_rcc.o

    │  │ stm32f4xx_rng.crf

    │  │ stm32f4xx_rng.d

    │  │ stm32f4xx_rng.o

    │  │ stm32f4xx_rtc.crf

    │  │ stm32f4xx_rtc.d

    │  │ stm32f4xx_rtc.o

    │  │ stm32f4xx_sai.crf

    │  │ stm32f4xx_sai.d

    │  │ stm32f4xx_sai.o

    │  │ stm32f4xx_sdio.crf

    │  │ stm32f4xx_sdio.d

    │  │ stm32f4xx_sdio.o

    │  │ stm32f4xx_spi.crf

    │  │ stm32f4xx_spi.d

    │  │ stm32f4xx_spi.o

    │  │ stm32f4xx_syscfg.crf

    │  │ stm32f4xx_syscfg.d

    │  │ stm32f4xx_syscfg.o

    │  │ stm32f4xx_tim.crf

    │  │ stm32f4xx_tim.d

    │  │ stm32f4xx_tim.o

    │  │ stm32f4xx_usart.crf

    │  │ stm32f4xx_usart.d

    │  │ stm32f4xx_usart.o

    │  │ stm32f4xx_wwdg.crf

    │  │ stm32f4xx_wwdg.d

    │  │ stm32f4xx_wwdg.o

    │  │ sweep.crf

    │  │ sweep.d

    │  │ sweep.o

    │  │ sys.crf

    │  │ sys.d

    │  │ sys.o

    │  │ system_stm32f4xx.crf

    │  │ system_stm32f4xx.d

    │  │ system_stm32f4xx.o

    │  │ touch.crf

    │  │ touch.d

    │  │ touch.o

    │  │ usart.crf

    │  │ usart.d

    │  └ usart.o

    ├ SYSTEM

    │  ├ delay

    │  │  │ delay.c

    │  │  └ delay.h

    │  ├ sys

    │  │  │ sys.c

    │  │  └ sys.h

    │  └ usart

    │     │ usart.c

    │     └ usart.h

    └ USER

       │ DAC.uvguix.z'ZY

       │ DAC.uvoptx

       │ DAC.uvprojx

       │ EventRecorderStub.scvd

       │ JLinkSettings.ini

       │ main.c

       │ stm32f4xx.h

       │ stm32f4xx_conf.h

       │ stm32f4xx_it.c

       │ stm32f4xx_it.h

       │ system_stm32f4xx.c

       │ system_stm32f4xx.h

       ├ DebugConfig

       │  └ DAC_STM32F407ZG.dbgconf

       └ RTE

          └ _DAC

             └ RTE_Components.h

TAG信号发生器
  • 8 次
  • 20 分