Skip to content
Manuel Bl edited this page Feb 4, 2024 · 3 revisions

The STM32 G4 family is a modern and powerful MCU family. Many chips include a dedicated USB PD peripheral (called UCPD) and thus require no additional hardware.

Supported MCUs / Boards

  • Nucleo-G431KB
  • Nucleo-G474RE

Required Additional Components

No additional components needed.

Optionally, the X-NUCLEO-SNK1M1 shield can be used for the Nucleo-G474RE.

Pin Assignment

STM32 Pin Board Label Signal Monitor Sink Peripheral
PB6 A6 CC1 X X UCPD, CC1
PB4 A4 CC2 X X UCPD, CC2

Exclusive Use of Peripherals

The below peripherals are used exclusively by this USB PD library. They cannot be used – directly or indirectly – by other code without interfering with the library operation.

Peripheral Monitor Sink Usage
TIM7 X X Timer for scheduling tasks
UCPD X X USB PD peripheral
DMA1, channel 1 X X Message reception
DMA1, channel 2 X Message transmission
Clone this wiki locally