cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F0Discovery - ADC DMA How to sort Conversion Data

Nickname925_O
Associate II
Posted on September 13, 2013 at 17:14

Hi,

I am using the STM32F0Discovery board and I am acquiring ADC converted data value using the DMA.

Well, I am able to read values but I cannot understand how the uC fills the Buffer.

I am using a buffer[5] because I am acquiring 5 ADC converted value (channel 1, 2, 3 and Vref and Temperature).

How can I manage the filling of my buffer?

Thanks in advance,

Giuseppe.

#stm32 #dma #discovery
11 REPLIES 11
Nickname925_O
Associate II
Posted on September 19, 2013 at 19:43

Hi Clive1,

you are great and right 🙂

In fact, the problem was due to missing call to SystemInit.

Now it works fine.

Thanks a lot for your excellent and very useful support!

PS: I think that if you write a manual for beginner it's a good thing 🙂

Posted on September 19, 2013 at 22:31

PS: I think that if you write a manual for beginner it's a good thing 🙂

Unfortunately that would be a lot of work, and not pay very well. The topic area is pretty broad and changing. I prefer to swing at pitches here for my own amusement.

I'd recommend Joseph Yiu's books on the Cortex-Mx processors as a good starting point and companion to ARM's TRMs. I could probably suggest some more foundational texts, but most are 30+ years old limiting their immediate applicability today.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..