![]() |
nrfx 4.5.0
|
The sample demonstrates a basic functionality of the nrfx_gppi helper.
The sample supports the following development kits:
| Board | Support | Driver |
|---|---|---|
| nrf52dk_nrf52832 | Yes | PPI |
| nrf52833dk_nrf52833 | Yes | PPI |
| nrf52840dk_nrf52840 | Yes | PPI |
| nrf5340dk_nrf5340 | Yes | DPPI |
| nrf54l15dk_nrf54l15 | Yes | DPPI |
| nrf9160dk_nrf9160 | Yes | DPPI |
Application initializes nrfx_gpiote, nrfx_timer drivers and the nrfx_gppi helper in a way that sets up the TIMER COMPARE event to be forwarded via PPI/DPPI to GPIOTE and to toggle a pin.
For more information, see GPPI helper - nrfx documentation.
To run this sample, no special configuration is needed. You should monitor the output from the board to check if it is as expected.
To run this sample, build it for the appropriate board and then flash it as per instructions in Building and running section.
You should see the following output:
In the output, instead of
<LED1_PIN>, you should see the corresponding pin numbers defined incommon/nrfx_example.h.