F4-ADC-DMA-DAC

所属分类:单片机开发
开发工具:C/C++
文件大小:7208KB
下载次数:51
上传日期:2016-08-16 21:19:13
上 传 者chsh
说明:  用STM32F407的ADC+DMA+DAC的应用
(Use STM32F407 ADC+ DMA+ application of DAC)

文件列表:
F4-ADC-DMA-DAC\CORE (0, 2016-07-12)
F4-ADC-DMA-DAC\CORE\core_cm4.h (109142, 2014-07-17)
F4-ADC-DMA-DAC\CORE\core_cm4_simd.h (22735, 2014-07-17)
F4-ADC-DMA-DAC\CORE\core_cmFunc.h (17146, 2014-07-17)
F4-ADC-DMA-DAC\CORE\core_cmInstr.h (20513, 2014-07-17)
F4-ADC-DMA-DAC\CORE\startup_stm32f40_41xxx.s (29605, 2014-08-02)
F4-ADC-DMA-DAC\FWLIB (0, 2016-07-12)
F4-ADC-DMA-DAC\FWLIB\inc (0, 2016-07-12)
F4-ADC-DMA-DAC\FWLIB\inc\misc.h (6924, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_adc.h (32880, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_can.h (27318, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_crc.h (2416, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_cryp.h (14481, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_dac.h (14946, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_dbgmcu.h (4296, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_dcmi.h (12977, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_dma.h (28882, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_dma2d.h (19692, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_exti.h (8012, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_flash.h (24467, 2014-08-04)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_flash_ramfunc.h (3275, 2014-08-04)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_fmc.h (44924, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_fsmc.h (27181, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_gpio.h (23548, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_hash.h (10084, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_i2c.h (31939, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_iwdg.h (4323, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_ltdc.h (21191, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_pwr.h (7728, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_rcc.h (30063, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_rng.h (3958, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_rtc.h (40546, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_sai.h (25470, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_sdio.h (22777, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_spi.h (21178, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_syscfg.h (8974, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_tim.h (51689, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_usart.h (17935, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\inc\stm32f4xx_wwdg.h (3542, 2014-08-01)
F4-ADC-DMA-DAC\FWLIB\src (0, 2016-07-12)
... ...

实验器材: 探索者STM32F4开发板 实验目的: 学习STM32内部ADC的使用 硬件资源: 1,DS0(连接在PF9) 2,串口1(波特率:115200,PA9/PA10连接在板载USB转串口芯片CH340上面) 3,ALIENTEK 2.8/3.5/4.3/7寸TFTLCD模块(通过FSMC驱动,FSMC_NE4接LCD片选/A6接RS) 4,ADC(STM32内部ADC1,通道5,即:ADC1_CH5) 实验现象: 本实验通过STM32内部ADC1读取通道5(PA5)上面的电压,在LCD模块上面显示ADC转换值以及换算成电压后 的电压值。 注意事项: 1,4.3寸和7寸屏需要比较大电流,USB供电可能不足,请用外部电源适配器(推荐外接12V 1A电源). 2,本例程在LCD_Init函数里面(在ILI93xx.c),用到了printf,如果不初始化串口1,将导致液晶无法显示!! 3,PA5默认通过跳线帽连接TPAD,读取到的电压值约为3V左右,请拔了P12跳线帽,然后给PA5提供测试电压. 4,ADC的最大输入电压是3.3V,请不要超过这个值. 5,多功能接口(P12)的ADC即连接在PA5上. 6,ADC的参考电压默认通过P7连接在VDDA上面(3.3V),所以默认参考电压是3.3V 正点原子@ALIENTEK 2014-10-25 广州市星翼电子科技有限公司 电话:020-38271790 传真:020-36773971 购买:http://shop62103354.taobao.com http://shop62057469.taobao.com 公司网站:www.alientek.com 技术论坛:www.openedv.com

近期下载者

相关文件


收藏者