Skip to content

Conversation

@github-actions
Copy link

@github-actions github-actions bot commented Aug 8, 2025

Backport 84ab620 from #3147.

…ended ADC readings

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)
@shanthanordic
Copy link

Missing sdk-nrf PR, Too late for 3.1.0 closing this

@NordicBuilder
Copy link
Contributor

none

Note: This comment is automatically posted and updated by the Contribs GitHub Action.

@thst-nordic thst-nordic deleted the backport-3147-to-ncs-v3.1-branch branch August 29, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants