AN4938 Rev 4 29/46
AN4938 Debug management
45
STM32H74xI/G and STM32H75xI/G, while still allowing enough space to attach the trace
port analyzer probe.
Refer to Table 4 for a summary of trace pins and GPIO assignment.
6.2.2 External debug trigger
The TRGIN and TRGOUT pins are available on some packages. On smaller packages, they
are replaced by a bidirectional TRGIO signal, which is configured as TRGIN or TRGOUT by
software.
Refer to Table 5 for a summary of trigger pins and GPIO assignment.
6.3 Pinout and debug port pins
STM32H74xI/G and STM32H75xI/G devices are available in various packages with different
numbers of available pins. As a result, some functionality related to the pin availability (TPIU
parallel output interface) may differ between the packages.
6.3.1 SWJ debug port pins
Five pins are used as outputs from the STM32H74xI/G and STM32H75xI/G devices for the
SWJ-DP as alternate functions of general-purpose I/Os. These pins are available on all
packages.
Table 4. TPIU trace pins
Trace pin name Type Description Pin assignment
TRACED0 Output Trace synchronous data out 0 PC1 or PE3 or PG13
TRACED1 Output Trace synchronous data out 1 PC8 or PE4 or PG14
TRACED2 Output Trace synchronous data out 2 PD2 or PE5
TRACED3 Output Trace synchronous data out 3 PC12 or PE6
TRACECLK Output Trace clock PE2
Table 5. External debug trigger pins
Trigger pin name Type Description Pin assignment
TRGIN Input External trigger input PJ7
TRGOUT Output External trigger output PJ12
TRGIO Input/output External trigger bi-directional PC7