Reference Arm Documentation; Pinout And Debug Port Pins; Swd Port Pins; Sw-Dp Pin Assignment - ST STM32G0 1 Series Reference Manual

Table of Contents

Advertisement

Debug support (DBG)
It also includes debug features dedicated to the STM32G0x1:
Flexible debug pinout assignment
MCU debug box (support for low-power modes, control over peripheral clocks, etc.)
Note:
For further information on debug functionality supported by the Arm Cortex
to the Cortex
documentation).
40.2

Reference Arm documentation

Cortex
http://infocenter.arm.com
Arm Debug Interface V5
Arm CoreSight Design Kit revision r1p1 Technical Reference Manual
40.3

Pinout and debug port pins

The STM32G0x1 MCUs are available in various packages with different numbers of
available pins.
40.3.1

SWD port pins

Two pins are used as outputs for the SW-DP as alternate functions of general purpose I/Os.
These pins are available on all packages.
SW-DP pin name
SWDIO
SWCLK
40.3.2

SW-DP pin assignment

After reset (SYSRESETn or PORESETn), the pins used for the SW-DP are assigned as
dedicated pins which are immediately usable by the debugger host.
However, the MCU offers the possibility to disable the SWD port and can then release the
associated pins for general-purpose I/O (GPIO) usage. For more details on how to disable
SW-DP port pins, refer to
on page
1366/1390
®
-M0+ Technical Reference Manual (see
®
-M0+ Technical Reference Manual (TRM), available from

Table 247. SW debug port pins

Section 7.3.2: I/O pin alternate function multiplexer and mapping
234.
SW debug port
Type
Debug assignment
I/O
Serial Wire Data Input/Output
I
Serial Wire Clock
RM0444 Rev 5
®
-M0+ core, refer
Section 40.2: Reference Arm
RM0444
Pin
assignment
PA13
PA14

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32G0 1 Series and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF