cancel
Showing results for 
Search instead for 
Did you mean: 

The DMA buffer configured with a multichannel ADC setup ( Processor STM32f769II) shows values in different buffer location with respect to the rank configured in the ADC setup. How can this be fixed?

SP.7
Associate

We have connected 7 channels in ADC2 to a STM32F769II processor. The DMA to ADC is enabled and the rank for conversion too is configured. But on testing, the ADC values are being shown in buffer location very different from its rank.

This happened in debug mode. But when turned off optimization, those values are shown as per the rank of the ADC channels. The DMA buffer acts differently to different compilation configurations, and to different optimizations.

0 REPLIES 0