Skip to content
Manuel Bl edited this page Feb 4, 2024 · 1 revision

The expansion board (shield) for Nucleo boards in the Nucleo-64 form factor provides the separate USB-C connector.

Additionally, it uses the TCPP01-M12 port protection chip. The chip needs to be configured. Otherwise, it will block the CC1/CC2 signals. See below for details.

X-NUCLEO-SNK1M1 shield

Supported Boards

  • Nucleo-G071RB
  • Nucleo-G474RE

Setup

Jumpers JP1 and JP2 should be set to 1–2 position (CC1_Gx/CC2_Gx). Jumpers JP3 and JP4 should not be set.

To initialize the port protection chip, add this code to your setup() function:

NucleoSNK1MK1.init();

Exclusive Use of Pins

The below STM32 pins are hardwired by the shield and cannot be used otherwise unless solder bridges and 0 Ω resistors are changed.

DB_OUT and VCC_OUT are used to control the TCPP01-M12 port protection chip.

Nucleo-G071RB

STM32 GPIO Pin Arduino Pin Shield TCPP01-M12 Pin Usage
PB6 D46 DB_OUT DB Dead battery configuration
PC10 D16 VCC_OUT VCC 3.3V power supply for TCPP01-M12
PC0 D44 FLT_IN FLT Fault indication
PB1 A3 ADC_VBUS VBUS measurement
PA8 D7 CC1_G0 CC1 CC1 for STM32 G0 family
PB15 D47 CC2_G0 CC2 CC2 for STM32 G0 family
PB0 D10 CC1_G4 CC1 CC1 for STM32 G4 family
PB4 D5 CC2_G4 CC2 CC2 for STM32 G4 family
PA12 D42 DP_Gx_Fx USB data line (D+)
PA11 D41 DM_Gx_Fx USB data line (D-)

Nucleo-G474RE

STM32 GPIO Pin Arduino Pin Shield TCPP01-M12 Pin Usage
PB1 A9 DB_OUT DB Dead battery configuration
PC10 D16 VCC_OUT VCC 3.3V power supply for TCPP01-M12
PB11 A11 FLT_IN FLT Fault indication
PB0 A3 ADC_VBUS VBUS measurement
PA8 D7 CC1_G0 CC1 CC1 for STM32 G0 family
PB15 D47 CC2_G0 CC2 CC2 for STM32 G0 family
PB6 D10 CC1_G4 CC1 CC1 for STM32 G4 family
PB4 D5 CC2_G4 CC2 CC2 for STM32 G4 family
PA12 D46 DP_Gx_Fx USB data line (D+)
PA11 D45 DM_Gx_Fx USB data line (D-)
Clone this wiki locally