2
Demo application setup
The
expansion board flexibility allows demonstrating the
and capabilities with a wide range of
The
companion software package contains specific application examples for the
development boards, which embed the USB Type-C™ and Power Delivery management (
,
).
2.1
Overview of the application example for STM32G474RE (embedding the UCPD
peripheral)
This example shows how to start a battery-powered source application with the
The example includes two different modes:
1.
powers the
2.
a system validation (realistic case) in one of the following cases:
–
the source (provider path) powers the
;
–
you cannot program the
as the
–
These two modes cannot be merged because the 3.3 V coming from
manages the STM32 NRST pin. If
is not powered, the STM32 NRST pin becomes HiZ and might cause parasitic resets.
2.1.1
Programming/debugging example for STM32G747RE
Step 1.
as follows.
Step 1a.
Do not put any jumper on JP1.
Step 1b.
Put the JP2 and JP3 jumpers on CC1_UCPD and CC2_UCPD, respectively.
Step 2.
Step 2a.
On JP5, put the 5V_STLINK jumper to select 5 V from the
USB as a power source
Step 2b.
On JP8, put the jumpers on positions 1-2 to select 5 V as a reference voltage initiator.
Step 3.
Connect the USB type A to micro-USB cable to the
Step 4.
Drag and drop G4_SRC1M1_SRC.bin to the
programming).
Step 5.
.
2.1.2
STM32G474RE system validation
Step 1.
as follows.
Step 1a.
On JP1, put two jumpers (LDO OUT - 3.3 V and NRS - 3.3 V) to power the
through the 3.3 V LDO output.
Step 1b.
Put the JP2 and JP3 jumpers on CC1_UCPD and CC2_UCPD, respectively.
Step 2.
Step 2a.
Do not put any jumper on JP5.
Step 2b.
On JP8, put the jumpers on positions 1-2 to select 5 V as a reference voltage initiator.
Step 3.
Connect the USB type A to micro-USB cable to the
Step 4.
.
UM2973
Demo application setup
UM2973
-
Rev 1
page 12/25