Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Embeded-SCM Develop ARM-PowerPC-ColdFire-MIPS
Title: STM32F746-ADC Download
 Description: This STM32F746 code how to use the ADC3 and DMA to transfer continuously converted data ADC3 to memory. The ADC3 is configured to convert continuously ADC_CHANNEL_8. Each time an end of conversion occurs the DMA transfers, in circular mode, the converted data ADC3 DR register to the uhADCxConvertedValue variable. The uhADCxConvertedValue read value is coded on 12 bits, the Vref+ reference voltage is connected on the board to VDD (+3.3V), the Vref- reference voltage is connected on the board to the ground. To convert the read value in volts, here is the equation to apply : Voltage = uhADCxConvertedValue* (Vref+- Vref-)/(2^12) = uhADCxConvertedValue* 3.3/4096 In this example, the system clock is 216MHz, APB2 = 108MHz and ADC clock = APB2/4. Since ADC3 clock is 27 MHz and sampling time is set to 3 cycles, the conversion time to 12bit data is 12 cycles so the total conversion time is (12+3)/27 = 0.56us(1.57Msps). User can vary the ADC_CHANNEL_8 voltage by a
 Downloaders recently: [More information of uploader MIAO]
 To Search:
File list (Check if you may need any files):
 

ADC\ADC_RegularConversion_DMA\EWARM\Project.ewd
...\.........................\.....\Project.ewp
...\.........................\.....\Project.eww
...\.........................\.....\startup_stm32f746xx.s
...\.........................\.....\stm32f746xx_flash.icf
...\.........................\Inc\main.h
...\.........................\...\stm32f7xx_hal_conf.h
...\.........................\...\stm32f7xx_it.h
...\.........................\MDK-ARM\Project.uvoptx
...\.........................\.......\Project.uvprojx
...\.........................\.......\startup_stm32f746xx.s
...\.........................\readme.txt
...\.........................\Src\main.c
...\.........................\...\stm32f7xx_hal_msp.c
...\.........................\...\stm32f7xx_it.c
...\.........................\...\system_stm32f7xx.c
...\.........................\.W4STM32\startup_stm32f746xx.s
...\.........................\........\STM32746G_DISCOVERY\.cproject
...\.........................\........\...................\.project
...\.........................\........\...................\STM32F746NGHx_FLASH.ld
...\.........................\........\STM32746G_DISCOVERY
...\.........................\EWARM
...\.........................\Inc
...\.........................\MDK-ARM
...\.........................\Src
...\.........................\SW4STM32
...\ADC_RegularConversion_DMA
ADC
    

CodeBus www.codebus.net