EMBEDDED TOOLKIT

SYSTEMS R&D // DEV_TOOLS SUITE

Tools (65)

nrf ppi easydma

SYSTEM ONLINE

PPI (Programmable Peripheral Interconnect) & EasyDMA

Nordic nRF is famous for its PPI system, which allows peripherals to directly trigger tasks in others (e.g. Hardware Timer can trigger ADC converter) completely bypassing the processor (CPU 0% load). EasyDMA, on the other hand, allows writing from these peripherals directly to RAM.

PPI Channel Configurator

nRF52 has up to 20 configurable PPI channels (0-19) and several preprogrammed ones.

C Code (nRFx / HAL)

// 1. Get physical addresses for EEP and TEP
uint32_t eep = (uint32_t)&NRF_RTC0->EVENTS_EVENTS_COMPARE;
uint32_t tep = (uint32_t)&NRF_SAADC->TASKS_TASKS_SAMPLE;

// 2. Assign them to PPI channel 0
NRF_PPI->CH[0].EEP = eep;
NRF_PPI->CH[0].TEP = tep;

// 3. Enable PPI channel
NRF_PPI->CHENSET = (1UL << 0);
Thanks to this, when RTC0 Event occurs, the hardware will automatically trigger SAADC Task in exactly 1 clock cycle! The processor can be completely asleep during this time.

MODULE UNDER CONSTRUCTION

EXPECTED DEPLOYMENT: Q4 2026