Step 6.
Plug a Source application board on the
expansion board CN1 connector through
a Type-C cable and refer to the following LED operation description to identify the application results:
–
LD3 LED is ON when the board is supplied by the
connector (CN1)
–
LD2 LED is ON when the 3V3 voltage is provided to the expansion board
–
LD1 LED is ON when a Source is connected to the USB Type-C CN1
connector and the VBUS is provided
–
LD2 LED:
◦
blinks once every 2 seconds when USB default (up to 500 mA) is identified
◦
blinks twice every 2 seconds when a Source USB Type-C 1.5 A current capability is
identified;
◦
blinks 3 times every 2 seconds when a Source USB Type-C 3 A current capability is
identified;
◦
blinks 4 times every 2 seconds when the explicit negotiation between the two contractors is
reached;
◦
turns ON when the explicit negotiation between the two contractors is reached and the
USB2.0 data connection is established.
1.3.1.2.1
Dead battery operation mode
Step 1.
Repeat steps 1- 4 described in
Step 2.
Disconnect the micro-USB cable from
Step 3.
Remove the power selection jumper from the JP2 header on
development board
(previously set on STLK 1-2 pins) and leave it fully open.
Step 4.
On the
, set LDO OUT jumper (JP3) and NRST jumper (JP4).
Step 5.
CN1 connector through a Type-C cable.
The provided V
BUS
supplies the Sink solution while the LEDs define the status as previously described.
1.3.1.3
Running the demo application with NUCLEO-L412RB-P development board
The
microcontroller which includes the
USB2.0 data peripheral only. The application example demonstrates that the
protection can be
matched with microcontrollers which does not include the UCPD peripheral to implement a Type-C Sink port only,
thus exploiting the microcontroller ADC peripherals to monitor the current capabilities of the Source. To run the
application demo with the
micro-USB connector, follow
the procedure below.
Step 1.
Check the jumper is closed on the development board JP5 header, 5V_STLK 1-2 pins.
Step 2.
On the
expansion board, fit CC1 JP1 and CC2 JP2 jumpers on position 1-2.
Step 3.
Plug the expansion board on top of the
and leave J3 and J4 headers open.
Step 4.
micro-USB connector (CN1) to the PC/laptop.
The board appears as a virtual disk (NODE_L412RB).
Step 5.
Program the
by dragging and dropping the binary file corresponding to the board
(SNK1M1_Consumer_TypeC_Only.bin) to the virtual disk.
LD1 LED blinks red and green for few seconds. When the LED stops blinking, the
programming operation is complete and the demo is ready.
UM2773
Demo application setup
UM2773
-
Rev 1
page 12/23