CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 嵌入式/单片机编程 单片机(51,AVR,MSP430等)

文件名称:ADC3andDMAhighspeed(2.4Msps)

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2015-12-15
  • 文件大小:
    2.16mb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

硬件平台:STM32F429I-DISCORVERY

软件平台:KEIL MDK5.10



在STM32F429I-DISCO board中,由于串口2被L3GD20和液晶数据线占用,所以串口1很方便,而且还留了2个孔外接。

*  说 明 : 实现printf和scanf函数重定向到串口1,即支持printf信息到USART1

*        实现重定向,只需要添加2个函数:

*        int fputc(int ch, FILE *f)

*        int fgetc(FILE *f)

*        对于KEIL MDK编译器,编译选项中需要在MicorLib前面打钩,否则不会有数据打印到USART1。



- This example describes how to use the ADC3 and DMA to transfer continuously

converted data ADC3 to memory.

  The ADC3 is configured to convert continuously channel13.

  Each time an end of conversion occurs the DMA transfers, in circular mode, the

converted data ADC3 DR register to the ADC3ConvertedValue variable.

  To get the maximum ADC performance (2.4 MSPS, at 2.4V to 3.6V supply range), 

the ADC clock must be set to 36MHz. As ADC clock is equal to APB2/2, then APB2

value will be 72MHz which lead to maximum AHB (System clock) at 144MHz.

Since the sampling time is set to 3 cycles and the conversion time to 12bit data

is 12 cycles, so the total conversion time is (12+3)/36= 0.41us(2.4Msps).



  The converted voltage is displayed on the STM32F429I-DISCO board LCD (when the define USE_LCD

is enabled in main.h). It can also be monitored by adding the variable ADC3ConvertedValue 

to the debugger watch window.





@par Example Descr iption



This example is
(系统自动生成,下载前可以参看下载内容)

下载文件列表

5.ADC3+DMA高速采样(2.4Msps)/
5.ADC3+DMA高速采样(2.4Msps)/2014-05-31_19-17-23.jpg
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Include/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Include/stm32f4xx.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Include/system_stm32f4xx.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Release_Notes.html
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f401xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f40xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f40_41xxx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f427x.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f427_437xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/arm/startup_stm32f429_439xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f401xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f40_41xxx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f427x.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f427_437xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/gcc_ride7/startup_stm32f429_439xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/startup_stm32f401xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/startup_stm32f40xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/startup_stm32f40_41xxx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/startup_stm32f427x.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/startup_stm32f427_437xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/iar/startup_stm32f429_439xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/system_stm32f4xx.c
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/TASKING/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/TASKING/cstart_thumb2.asm
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/TrueSTUDIO/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/TrueSTUDIO/startup_stm32f401xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/TrueSTUDIO/startup_stm32f40xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/TrueSTUDIO/startup_stm32f40_41xxx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/TrueSTUDIO/startup_stm32f427xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/TrueSTUDIO/startup_stm32f427_437xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Device/ST/STM32F4xx/Source/Templates/TrueSTUDIO/startup_stm32f429_439xx.s
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/arm_common_tables.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/arm_const_structs.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/arm_math.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/core_cm0.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/core_cm0plus.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/core_cm3.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/core_cm4.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/core_cm4_simd.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/core_cmFunc.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/core_cmInstr.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/core_sc000.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/Include/core_sc300.h
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/index.html
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/README.txt
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/RTOS/
5.ADC3+DMA高速采样(2.4Msps)/CMSIS/RTOS/cmsis_os.h
5.ADC3+DMA高速采样(2.4Msps)/Project/
5.ADC3+DMA高速采样(2.4Msps)/Project/bsp/
5.ADC3+DMA高速采样(2.4Msps)/Project/bsp/adc.c
5.ADC3+DMA高速采样(2.4Msps)/Project/bsp/adc.h
5.ADC3+DMA高速采样(2.4Msps)/Project/bsp/key.c
5.ADC3+DMA高速采样(2.4Msps)/Project/bsp/key.h
5.ADC3+DMA高速采样(2.4Msps)/Project/bsp/stdarg.h
5.ADC3+DMA高速采样(2.4Msps)/Project/bsp/SysTick.c
5.ADC3+DMA高速采样(2.4Msps)/Project/bsp/SysTick.h
5.ADC3+DMA高速采样(2.4Msps)/Project/bsp/usart.c
5.ADC3+DMA高速采样(2.4Msps)/Project/bsp/usart.h
5.ADC3+DMA高速采样(2.4Msps)/Project/keilkill.bat
5.ADC3+DMA高速采样(2.4Msps)/Project/List/
5.ADC3+DMA高速采样(2.4Msps)/Project/Output/
5.ADC3+DMA高速采样(2.4Msps)/Project/Output/stm32f429i_discovery.hex
5.ADC3+DMA高速采样(2.4Msps)/Project/readme.txt
5.ADC3+DMA高速采样(2.4Msps)/Project/Template.uvgui.Administrator

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com