Title:
ADC3andDMAhighspeed(2.4Msps) Download
- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 2.16mb
- Update:
- 2015-12-16
- Downloads:
- 0 Times
- Uploaded by:
Description: 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 Description
This example is
To Search:
File list (Check if you may need any files):
5.ADC3+DMA高速采样(2.4Msps)
.............................\2014-05-31_19-17-23.jpg
.............................\CMSIS
.............................\.....\Device
.............................\.....\......\ST
.............................\.....\......\..\STM32F4xx
.............................\.....\......\..\.........\Include
.............................\.....\......\..\.........\.......\stm32f4xx.h
.............................\.....\......\..\.........\.......\system_stm32f4xx.h
.............................\.....\......\..\.........\Release_Notes.html
.............................\.....\......\..\.........\Source
.............................\.....\......\..\.........\......\Templates
.............................\.....\......\..\.........\......\.........\arm
.............................\.....\......\..\.........\......\.........\...\startup_stm32f401xx.s
.............................\.....\......\..\.........\......\.........\...\startup_stm32f40xx.s
.............................\.....\......\..\.........\......\.........\...\startup_stm32f40_41xxx.s
.............................\.....\......\..\.........\......\.........\...\startup_stm32f427x.s
.............................\.....\......\..\.........\......\.........\...\startup_stm32f427_437xx.s
.............................\.....\......\..\.........\......\.........\...\startup_stm32f429_439xx.s
.............................\.....\......\..\.........\......\.........\gcc_ride7
.............................\.....\......\..\.........\......\.........\.........\startup_stm32f401xx.s
.............................\.....\......\..\.........\......\.........\.........\startup_stm32f40xx.s
.............................\.....\......\..\.........\......\.........\.........\startup_stm32f40_41xxx.s
.............................\.....\......\..\.........\......\.........\.........\startup_stm32f427x.s
.............................\.....\......\..\.........\......\.........\.........\startup_stm32f427_437xx.s
.............................\.....\......\..\.........\......\.........\.........\startup_stm32f429_439xx.s
.............................\.....\......\..\.........\......\.........\iar
.............................\.....\......\..\.........\......\.........\...\startup_stm32f401xx.s
.............................\.....\......\..\.........\......\.........\...\startup_stm32f40xx.s
.............................\.....\......\..\.........\......\.........\...\startup_stm32f40_41xxx.s
.............................\.....\......\..\.........\......\.........\...\startup_stm32f427x.s
.............................\.....\......\..\.........\......\.........\...\startup_stm32f427_437xx.s
.............................\.....\......\..\.........\......\.........\...\startup_stm32f429_439xx.s
.............................\.....\......\..\.........\......\.........\system_stm32f4xx.c
.............................\.....\......\..\.........\......\.........\TASKING
.............................\.....\......\..\.........\......\.........\.......\cstart_thumb2.asm
.............................\.....\......\..\.........\......\.........\TrueSTUDIO
.............................\.....\......\..\.........\......\.........\..........\startup_stm32f401xx.s
.............................\.....\......\..\.........\......\.........\..........\startup_stm32f40xx.s
.............................\.....\......\..\.........\......\.........\..........\startup_stm32f40_41xxx.s
.............................\.....\......\..\.........\......\.........\..........\startup_stm32f427xx.s
.............................\.....\......\..\.........\......\.........\..........\startup_stm32f427_437xx.s
.............................\.....\......\..\.........\......\.........\..........\startup_stm32f429_439xx.s
.............................\.....\Include
.............................\.....\.......\arm_common_tables.h
.............................\.....\.......\arm_const_structs.h
.............................\.....\.......\arm_math.h
.............................\.....\.......\core_cm0.h
...........................