IT lexicon › Hardware › TPIU (Trace Port Interface Unit)

TPIU (Trace Port Interface Unit)

Hardware På svenska → Updated: 2026-11-05

The CoreSight component that takes trace data from inside the chip and pushes it out through the pins to a debug probe.

Trace sources such as the ETM and ITM produce data but have no way off the die on their own. The TPIU is the last stop: a formatter tags each byte with its source ID so several streams can share the wire, and the result is clocked out either on a parallel trace port — TRACECLK plus one to four TRACEDATA pins — or over the single SWO pin.

On Cortex-M3 and M4 it is the TPIU that decides whether SWO speaks Manchester or UART-style NRZ, and its prescaler register (ACPR) derives the baud rate from the core clock. That is why a wrong clock frequency in the debugger settings produces complete silence rather than garbled characters. The parallel port needs an expensive probe, but it is the only way to get full instruction trace out in real time.

← Back to the lexicon