cancel
Showing results for 
Search instead for 
Did you mean: 

DMA 16 ADC channels

mosine
Associate II
Posted on November 13, 2014 at 11:31

Hi,

I need examples or informations about DMA and ADC 16 channels. I saw examples where DMA manage 4 ADC channels.   

Thanks
3 REPLIES 3
Posted on November 13, 2014 at 17:32

Couldn't you cite the example and specify the processor?

Why not just increase the Channel count, the Rank in the enumerated list of channels, and buffer/DMA length?

Your first task would be to identify the 16 channels and pins you want to use in YOUR design. Determine if you want to do this with one or more ADC.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
mosine
Associate II
Posted on November 17, 2014 at 10:26

Hi Clive,

thanks for reply. I'm working with STM32F0 and this mcu has 16 adc channels. 

In my project, I need read at the same time all 16 channels.

Is there an example?

Thanks 

Posted on November 17, 2014 at 14:59

I'm working with STM32F0 and this mcu has 16 adc channels.In my project, I need read at the same time all 16 channels. Is there an example?

Ok, but I think it has only a few ADC units. They will scan multiple channels, with the conversions slewed about a microsecond between each channel.

STM32F072B-Discovery_FW_V1.0.1\Projects\Peripheral_Examples\ADC_DMA\main.c

Increase the buffer size, and enumerate more channels. Configure the pins.

The F0 is not my platform.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..