STM32G4 MCU ADC output suddenly stucks to zero
Hello,
I'm using an STM32G474ME MCU for grid connected power converter applications.
I use multiple ADC modules for current and voltage sensing of the converter, and when I drive the power converter, the result values of all channels in certain ADC module are fixed to zero. The strange thing is that when it is fixed to 0, no ADC error occurs, and only the DR register value is fixed to zero.
I am currently using ADC modules 1 to 5, and each module has 3 channels. The ADC starts by triggering the HRTIM interrupt, and the converted data is saved as an array using DMA. To help you understand, I have attached the Cube MX settings and registers of ADC module whose output(DR) is stucked to zero.
What could be causing this problem? Could this phenomenon be caused by EMI due to the switching of the power converter?
Here are some similar questions that have gone unanswered.
@ikrosoft ADC output suddenly becomes constant
@FChen.3 STM32L4P5CET ADC freezes at high noise environment
Please help me. Thank you.
Paul.
