cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H7 multi-channel ADC & DMA config help

Mr. Berticus
Associate II

I'm having a very tough time getting more than 1 channel of an ADC instance using DMA to work on the Nucleo-H753 board. No matter what I try, nada... After rigorous debug, found that the ADC is NOT even starting when I call it to right before my while(1) loop... It saying that there is an internal error (17) and fails to start. This leads me to think that there's a config issue/error on my end. Any tips on setting up multiple ADC channels using DMA on the STM32H7 line would be greatly appreciated, as they have the fancier/more finicky 16b ADCs

10 REPLIES 10

The D-cache maintenance code in that ST's article is still incomplete and wrong. The correct explanation and example is here:

https://community.st.com/s/question/0D53W00001Z9K9TSAV/maintaining-cpu-data-cache-coherence-for-dma-buffers