
Table 8.
External debug trigger pins
Trigger pin name
Type
Description
Pin assignment
TRGIO
Input/output
Bidirectional external trigger
PC7
6.3
Pinout and debug port pins
STM32H723/33, STM32H725/35 and STM32H730 microcontrollers are available in various packages with
differing number of pins. As a result, some functionality is related to the pin availability (TPIU parallel output
interface) and will differ between the packages.
6.3.1
SWJ debug port pins
Five pins are used as outputs from the STM32H723/33, STM32H725/35 and STM32H730 microcontrollers for the
SWJ-DP as alternate general-purpose I/O functions. These pins are available on all packages and detailed in
.
Table 9.
SWJ debug port pins
SWJ-DP pin name
JTAG debug port
SW debug port
Pin assignment
Type
Description
Type
Debug assignment
JTMS/SWDIO
I
JTAG test mode
selection
IO
Serial wire data
input/output
PA13
JTCK/SWCLK
I
JTAG test clock
I
Serial wire clock
PA14
JTDI
I
JTAG test data input
-
-
PA15
JTDO/TRACESWO O
JTAG test data output
-
TRACESWO if asynchronous trace is enabled
PB3
NJTRST
I
JTAG test nReset
-
-
PB4
6.3.2
Flexible SWJ-DP pin assignment
After RESET (SYSRESETn or PORESETn), all five pins used for the SWJ-DP are assigned as dedicated pins
immediately available to the debugger host (note that the trace outputs are not assigned except if explicitly
programmed by the debugger host).
However, the STM32H723/33, STM32H725/35 and STM32H730 microcontrollers offer the possibility of disabling
some or all of the SWJ-DP ports and so freeing the associated pins for general-purpose IO (GPIO) usage.
Table 10. Flexible SWJ-DP assignment
shows the different possibilities to release some pins.
Table 10.
Flexible SWJ-DP assignment
Available debug ports
SWJ IO pin assigned
PA13/
JTMS/
SWDIO
PA14/JTCK/SWCLK
PA15/JTDI
PB3/JTDO
PB4/NJTRST
Full SWJ (JTAG-DP + SW-DP) - reset state
X
X
X
X
X
Full SWJ (JTAG-DP + SW-DP) but without NJTRST
X
X
X
X
-
JTAG-DP disabled and SW-DP enabled
X
X
-
JTAG-DP disabled and SW-DP disabled
Released
For more details on how to disable SWJ-DP port pins, refer to the
STM32H723/733, STM32H725/735 and
STM32H730 advanced Arm
®
-based 32-bit MCUs
(RM0468) I/O pin alternate function multiplexer and mapping
section.
AN5419
Pinout and debug port pins
AN5419
-
Rev 2
page 29/50