Skip to content

Conversation

jaz1-nordic
Copy link
Contributor

Rollback of obsolete commits and replacing them with correct ones already merged in upstream.

@jaz1-nordic jaz1-nordic force-pushed the nrfx-7707_prs_rebase branch from 0769170 to 937bd14 Compare August 20, 2025 08:20
…n single-mode"

This reverts commit e54b994.

Signed-off-by: Jakub Zymelka <[email protected]>
… single-ended ADC readings"

This reverts commit 84ab620.

Signed-off-by: Jakub Zymelka <[email protected]>
…C internal sampling timer"

This reverts commit 77547f8.

Signed-off-by: Jakub Zymelka <[email protected]>
…al sampling timer

The SAMPLERATE register can be used as a local timer instead
of triggering individual SAMPLE tasks. When SAMPLERATE.MODE is set
to Timers, it is sufficient to trigger SAMPLE task only once in order
to start the SAADC and triggering the STOP task will stop sampling.
The SAMPLERATE.CC field controls the sample rate.

The SAMPLERATE timer should not be combined with SCAN mode and
only one channel should be enabled when using the internal timer.

(cherry picked from commit 376b34c)

Signed-off-by: Jakub Zymelka <[email protected]>
…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.

(cherry picked from commit 138f977)

Signed-off-by: Jakub Zymelka <[email protected]>
…rection

Increment pointer only when channel was selected.

Upstream PR #: 94705

Signed-off-by: Jakub Zymelka <[email protected]>
@jaz1-nordic jaz1-nordic force-pushed the nrfx-7707_prs_rebase branch from 937bd14 to 52c34d0 Compare August 20, 2025 12:39
@rlubos rlubos merged commit 778ca5f into nrfconnect:main Aug 21, 2025
18 checks passed
@jaz1-nordic jaz1-nordic deleted the nrfx-7707_prs_rebase branch August 21, 2025 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants