2025-04-23 8:27 AM
Hi Team,
We are using STM32G431RBT6, we have tested the ADC1 for PA3 i.e. Channel4 with external Vref 3.3 and VDDA 3.3 with 12-bit selection and the reading we are getting with 5 to 10 counts fluctuations we are seeing but when we have changed to internal voltage ref selection for 2.048 then the PA3 i.e. Channel4 is fluctuating more than 1000 counts! but it works fine for PA0!
VDDA remains same 3.3v for both our internal and external voltage.
Please suggest us how to resolve this??
Thanks
Solved! Go to Solution.
2025-04-24 6:45 AM
So VREF+ isn't connected to anything? Seems like an issue to me. Should have caps on there.
2025-04-23 9:56 AM
The ADC is a multiplexer. Hardware downstream of the pin is the same for all channels, so this must be related to what's connected to the pin (or a misinterpretation). Show the hardware schematic and connection details and a plot of the data coming out if possible.
2025-04-24 12:33 AM
2025-04-24 12:37 AM
we have given 200mV and we need to get 400 counts, but we are getting values in between 250 to 430 counts.
I am unable to upload the video
2025-04-24 1:31 AM
Is it Nucleo board?
2025-04-24 2:37 AM
Yes Nucleo -G431RB (NUG431RB$AT3) Board and also same Microcontroller is used in our customized board.
2025-04-24 6:22 AM
This is nucleo board, likely PA2 & PA3 assign to serial port. Locate product description page on ST.com, navigate to CAD docs - get schematic. Also download and study nucleo board manual.
2025-04-24 6:45 AM
So VREF+ isn't connected to anything? Seems like an issue to me. Should have caps on there.
2025-04-24 8:45 AM
Hi @sshan.2
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards,
Billy
2025-04-24 10:53 AM
but we have not enabled any serial ports for this PA3 and PA2, only PA3 is used for channel4