ADC measurement error on STM32G030KxTx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-11 4:15 AM
I am developing a project to take some measurements with ADC channels, however the values are wrong. When I connect any ADC channel direct to GND, it gives me a value about 60~80 (The ADCs are 12-bit precision) and this error propagates for any reading.
How should I solve this problem? Could be any PCB layout noise or is it a problem with ADC reference?
Solved! Go to Solution.
- Labels:
-
ADC
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-11 5:15 AM
Did you perform ADC calibration as per instructions in Reference Manual?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-11 5:15 AM
Did you perform ADC calibration as per instructions in Reference Manual?
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-05-11 7:38 AM
@Community member​ I've set the ADCAL bit and it solved as detailed in the RM, thank you a lot!
