nuttx/Documentation/platforms
raiden00pl a8ac2e74e0 arch/nrf52: add SAADC external TIMER trigger over PPI
The SAADC internal sample timer only works with a single enabled
channel, so hardware-timed multi-channel scan was not possible.  Add
NRF52_SAADC_TIMER_PPI, a third trigger mode in which a general-purpose
TIMER compare event is routed to TASKS_SAMPLE over PPI.  All enabled
channels are scanned, and the TIMER prescaler allows much lower sample
rates than the internal timer, which is limited to 16MHz/CC with CC in
80..2047.

NRF52_SAADC_CONTINUOUS is no longer tied to the internal timer and
works with either source.  Its EasyDMA buffers now hold
NRF52_SAADC_CONTINUOUS_BUFLEN whole scans rather than that many single
samples, so MAXCNT becomes chan_len * BUFLEN.  Samples are interleaved
scan by scan, so a channel map is built once at configure() time and
passed to the upper half with the batch; the upper half already accepts
a per-sample channel array.  A single-channel configuration produces
the same MAXCNT and the same delivery as before.

Because both features want a PPI channel, add a build-time check that
NRF52_SAADC_PPI_CHANNEL and NRF52_SAADC_CONTINUOUS_PPI_CH differ, and
constrain the latter under the SoftDevice controller like the former.

NRF52_SAADC_CHANNELS gains a default and range for the new mode, and
documents that the internal timer is restricted to one channel.

Assisted-by: Claude Code
Signed-off-by: raiden00pl <raiden00@railab.me>
2026-09-28 11:20:31 +02:00
..
arm arch/nrf52: add SAADC external TIMER trigger over PPI 2026-09-28 11:20:31 +02:00
arm64 Documentation/imx9: describe the ELE random number generator 2026-09-27 11:02:13 -03:00
avr Documentation: Point the buildroot links at the repository that still exists. 2026-09-13 18:29:40 -03:00
ceva
hc Documentation: Point the buildroot links at the repository that still exists. 2026-09-13 18:29:40 -03:00
mips arch/mips/jz4780: Add HDMI EDID parsing and dynamic display modes 2026-08-29 11:08:25 -03:00
misco Documentation: Point the buildroot links at the repository that still exists. 2026-09-13 18:29:40 -03:00
or1k docs/or1k: Migrate README.txt to RST format 2026-02-06 08:54:28 -03:00
renesas Documentation: Point the buildroot links at the repository that still exists. 2026-09-13 18:29:40 -03:00
risc-v Documentation/erbium: Add ET-Minion core diagram and references. 2026-09-24 15:38:14 +08:00
sim boards/sim: add S2OPC server configuration 2026-09-15 14:55:24 +02:00
sparc
tricore arch/tricore: support tc4evb board. 2026-03-10 10:38:19 +01:00
x86 doc/qemu-i486: Add documentation about qemu-i486:vga_fb 2026-04-30 11:56:49 +08:00
x86_64 boards/qemu-intel64: add NXTerm display console config 2026-08-25 10:06:53 +08:00
xtensa Documentation/esp32s3-devkit: Describe the kernel build configurations. 2026-09-26 11:13:57 -03:00
z16
z80 style: Fix "the the" typo across the codebase. 2026-03-23 11:07:49 +01:00
index.rst docs: Fix duplicate toctree references causing build warnings 2026-06-03 15:02:22 +08:00