Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debug: ppi_trace: use nrfx_gppi to support nRF54L
This commit changes implementation of the ppi_trace module so that it is based on nrfx_gppi as provided since nrfx 3.8.0. The functions provided by nrfx_gppi library on the nRF54L devices provide ability to connect events and tasks which cross the power domains through PPIB bridges. Most of the functions simply use the nrfx_gppi API, but `ppi_trace_dppi_ch_trace` is a special one. The nRF54L devices have multiple DPPIC controllers, so the function `ppi_trace_dppi_ch_trace` is given an additional parameter that identifies the DPPIC controller. The channel number is not enough. The function prototype must now be provided conditionally only for SoCs equipped with DPPI. GPIOTE can directly subscribe only to DPPI channels of this DPPIC controller which is in the same power domain. Neither Device Tree nor nrfx provide such information. That's why `get_dppic_for_gpiote` function is used internally. It allows handling the case within `ppi_trace_dppi_ch_trace` function where GPIOTE can subscribe to DPPI channel directly. The nrfx_gppi API cannot be used for this purpose. Signed-off-by: Andrzej Kuros <[email protected]>
- Loading branch information