UM2205 User manual Getting started with the STM32 Nucleo pack for USB Type-C™ and Power Delivery with the Nucleo-F072RB board and the STUSB1602 Introduction The USB Type-C™ and Power Delivery Nucleo pack P-NUCLEO-USB002 includes: the NUCLEO-F072RB board the P-NUCLEO-USB002 expansion board based on the certified STUSB1602 USB Type-C port controller with PD PHY and BMC driver ...
Contents UM2205 Contents Getting started ................. 5 System architecture ................5 NUCLEO-F072RB STM32 Nucleo board .......... 6 Connectors, jumpers and LEDs ............8 Basic configuration setup ..............9 Running demos without a PC ............10 1.5.1 Standalone demo ................10 1.5.2...
Page 3
UM2205 List of tables List of tables Table 1: Solder bridges and resistors to be modified ................. 7 Table 2: P-NUCLEO-USB002 expansion board connectors, jumpers and LEDs ........8 Table 3: CLI commands ..........................14 Table 4: Document revision history ......................20...
Page 4
List of figures UM2205 List of figures Figure 1: P-NUCLEO-USB002 kit ....................... 1 Figure 2: The two boards composing the P-NUCLEO-USB002 kit ............5 Figure 3: STM32 Nucleo development board ..................... 7 Figure 4: NUCLEO-F072RB board top and bottom view ................8 Figure 5: P-NUCLEO-USB002 mounting orientation ..................
UM2205 Getting started Getting started System architecture The P-NUCLEO-USB002 USB Type-C™ and power delivery kit includes: a NUCLEO-F072RB development board acting as the control board running the stack a P-NUCLEO-USB002 expansion board acting as a Type-C and Power Delivery interface, with two STUSB1602 Type-C PD controllers...
-M0 with 128 Kb Flash memory and 16 Kb SRAM. The Arduino™ connectivity support and ST morpho headers make it easy to expand with a wide range of specialized expansion boards. Separate probes are not required as it integrates the ST-LINK/V2-1 debugger/programmer.
Table 1: Solder bridges and resistors to be modified Bridge State Description reference SB13 PA2 and PA3 on STM32F103CBT6 (ST-LINK MCU) are disconnected from PA3 and PA2 of the STM32F072RBT6 MCU. SB14 SB15 The SWO signal is not connected to PB3 on STM32F072RBT6 MCU. SB21 Green user LED LD2 is not connected to PA5 on STM32F072RBT6 MCU.
Refer to UM2191 on www.st.com for further details. Basic configuration setup To run the embedded demonstration example, the hardware must be configured. Plug the P-NUCLEO-USB002 expansion board onto the NUCLEO-F072RB board ST morpho connectors. The correct orientation is pictured below.
Getting started UM2205 Apply the correct P-NUCLEO-USB002 expansion board jumper settings JP000 and JP001 configured as shown below JP100 and JP101 open Figure 6: P-NUCLEO-USB002 connectors and jumpers Connect the NUCLEO-F072RB to a PC with a USB Type-A to Mini-B cable (not provided).
UM2205 Getting started Connect the two Type-C receptacles on the expansion board using the USB Type- C cables provided Blue LEDs D100 and D103 for PORT_0 and PORT_1 signal the current role of the port: one blink - port is a provider ...
Getting started UM2205 Connect the other plug of the USB Type-C cable to an external port partner. Blue LEDs D100 and D103 for PORT_0 and PORT_1 signal the current role of the port: one blink - port is a provider ...
UM2205 Getting started 1.6.1 Standalone demo with PC Connect the NUCLEO-F072RB board to the PC via the virtual COM port with a standard serial terminal program. Configuration: Baudrate: 115200 Data bit: 8 Parity: none Stop bit: 1 ...
Getting started UM2205 Type "help" (or "?") and hit enter to list the supported commands Figure 8: CLI - list of available commands Table 3: CLI commands Command Parameter1 Parameter2 Description (shortcut) help none none List available commands Print welcome message and...
UM2205 Getting started Type "profiles" (or "p") plus the port number and hit enter The "profiles" command shows the available power profiles for provider or DRP role (the demo has four dummy power profiles) Figure 9: CLI - list of available profiles Type "status"...
Getting started UM2205 Type "status" (or "s") plus the port number and hit enter The CLI returns information regarding the role, the CC line used and the selected profile for each port. Figure 11: CLI status command – Port_0 connected to Port_1 Type "prswap"...
UM2205 Getting started Type "hardreset" (or "h") plus the port number and hit enter The CLI returns information regarding the status with the new capabilities. Figure 13: CLI hardreset command 1.6.2 Demo with PC and externally powered board Connect a PD consumer to one of the ports via external USB Type-C cable The P-NUCLEO-USB002 becomes a provider and sends the source capabilities of the four "dummy"...
Getting started UM2205 Type "status" (or "s") plus port number and hit enter The CLI returns the dummy power profiles requested by the consumer and the cable orientation. Figure 14: CLI status command – Port_0 connected to external PD consumer Connect a PD provider to one of the ports via external USB Type-C cable The P-NUCLEO-USB002 becomes a consumer.
UM2205 Getting started Type "status" (or "s") plus port number and hit enter This command shows the requested power profile and the cable orientation. Figure 15: CLI status and profiles commands – Port_1 connected to external PD provider Type "request" (or "r") plus port number and new profile number and hit enter This command changes the power profile according to the specified parameter and restarts consumer and provider contract negotiation for the selected power.
Revision history UM2205 Revision history Table 4: Document revision history Date Version Changes 04-May-2017 Initial release. 20/21 DocID030539 Rev 1...
Page 21
ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Need help?
Do you have a question about the UM2205 and is the answer not in the manual?
Questions and answers