STM32G4 coder support package: ADC 1 readings are unusable and noisy. Is this problem known?

Hello @all

I am using the STM32G4 Coder Support Package to implement an RST voltage regulator for an inductive load. The system basically works fine expect for the ADCs. Using ADC 1 channel 1 in triggered mode I get extremely noisy measurements from a perfectly fine input voltage. The ADC’s reference voltage is also fine. My measured voltage jumps around 0.1, sometimes 0.3 volts. I have tried the same ADC using plain C code and it seems to work fine. Does anyone have similar problems?

Cheers.

Hello Thomas,

Thank you for your post!

Could you provide more information on which chip you are generating code for? I have tried to reproduce the error on the G474RE, but I do not observe the described problem on this microcontroller.