arduino / arduino/ArduinoCore-mbed

Apparent 'stuck bit' in ADC readings

Open
#1,047 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
411
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Configuration:
DC voltage into A8
Starting voltage: 0V incrementing in 1.5mV steps.

Between approximately 0.2049V and 0.2197V the ADC reading is 4054 (16 bit resolution) or 252 (12 bit resolution)

Image

The chart above shows the very strange behaviour. Notice the other discontinuities above and below. Sorry for the very poor annotations!

Board firmware version: 4.2.4

Any thought on am mbed interim workaround?

Many thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by reproducing the ADC sweep on A8 with the reported 0–0.2197 V range using firmware 4.2.4, then inspect the ADC configuration and reading path. Done means explaining the discontinuities and documenting or validating an interim workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.