cancel
Showing results for 
Search instead for 
Did you mean: 

Offset ADC+DMA STM32H563

Ghislain_Clement
Associate II

Hi,

I'm using the ADC1 of the STM32H563 and I'd like to configure an offset (64) for all 12 of my analog channels. I'm using GPDMA1 to obtain an array of 1200 values ​​at 100 kHz. When I configure the offset (before starting the conversion), I don't see the offset subtraction :

Ghislain_Clement_0-1745933536470.png

Here is my configuration:

Ghislain_Clement_1-1745933704095.png

Can you help me please?

Ghislain

 

1 REPLY 1
Dor_RH
ST Employee

Hello @Ghislain_Clement,

Verify ADC Initialization and DMA Configuration.

For guidance, you can refer to ADC and DMA projects available in the STM32CubeH5.

Additionally, here are some corrected and verified links to articles on STM32 ADC and how to use DMA with STM32:

I hope my answer has helped you. When your question is answered, please select this topic as the solution that answered you, as it will help others find that answer faster.

Thanks for your contribution.

Dor_RH