You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ADC driver API already supports ADC readings which can return signed
values, these are differential readings. In Nordic's datasheet, we have
a mode called "single ended", but its just a name. "Single ended"
is a differential reading, with the negative channel tied to GND. This is
not compatible with zephyrs definition of a single ended reading.
To support Nordic's "single ended" mode, the user must configure
a differential reading, with the negative input tied to ground, which the
saadc driver can then use to configure the reading as Nordic SAADC
"single ended", and return negative values as expected.
Upstream PR #: 94069
Signed-off-by: Jakub Zymelka <[email protected]>
(cherry picked from commit 84ab620)
0 commit comments