PPI trace
The PPI trace module enables tracing of hardware peripheral events on pins. Tracing is performed without CPU intervention, because PPI is used to connect events with tasks in GPIOTE.
PPI trace can be used to debug a single event or a pair of complementary events.
When tracing a single event, every occurrence of the event toggles the state of the pin (see ppi_trace_config()
).
When tracing a pair of complementary events (for example, the start and end of a transfer), the pin is set when one of the events occurs and cleared when the other event occurs (see ppi_trace_pair_config()
).
The PPI trace module is used in the PPI trace sample.
API documentation
Header file:
include/debug/ppi_trace.h
Source files:
subsys/debug/ppi_trace/