How to improve the ADC precision? #1501
-
The default precision of stm32G0 is 12 bits. How can I increase the precision to 13 bits or higher? |
Beta Was this translation helpful? Give feedback.
Answered by
fpistm
Sep 22, 2021
Replies: 1 comment 3 replies
-
Hi, Anyway G0 max ADC resolution is 12 bits so increasing the resolution will simply map the resolution which will not be very precise. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
fpistm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
simply use
analogreadresolution()
:https://www.arduino.cc/reference/en/language/functions/zero-due-mkr-family/analogreadresolution/
Anyway G0 max ADC resolution is 12 bits so increasing the resolution will simply map the resolution which will not be very precise.