Advertisement

Quick Links

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
a full-featured Type-C cable
These components, together with the X-CUBE-USB-PD certified STM32F0 USB Type-C PD middleware
stack, form a platform for demonstrating USB Type-C and USB Power Delivery (USB PD) capabilities
and facilitating solution development.
The new USB PD protocol expands USB functionality by providing up to 100 W power over the same
cable used for data communication. Devices supporting the protocol are able to negotiate voltage and
current over the USB power pins and define their roles as Provider or Consumer accordingly.
Once the platform is configured, the embedded demonstration firmware can signal cable status
(attached or detached) and orientation information, as well as the role of each of the two ports.
May 2017

Figure 1: P-NUCLEO-USB002 kit

DocID030539 Rev 1
UM2205
User manual
www.st.com
1/21

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UM2205 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST UM2205

  • Page 1: Figure 1: P-Nucleo-Usb002 Kit

    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 ...
  • Page 2: Table Of Contents

    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 ..................
  • Page 5: Getting Started

    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...
  • Page 6: Nucleo-F072Rb Stm32 Nucleo Board

    -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.
  • Page 7: Table 1: Solder Bridges And Resistors To Be Modified

    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.
  • Page 8: Connectors, Jumpers And Leds

    UM2205 Figure 4: NUCLEO-F072RB board top and bottom view Connectors, jumpers and LEDs Table 2: P-NUCLEO-USB002 expansion board connectors, jumpers and LEDs Reference Description ST morpho connector CN10 ST morpho connector USART connector Power Connector (on bottom side) CN11 Load PORT_0...
  • Page 9: Basic Configuration Setup

    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.
  • Page 10: Running Demos Without A Pc

    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).
  • Page 11: Standalone Demo With External Hardware Connected

    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 ...
  • Page 12: Running Demos With A Pc

    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 ...
  • Page 13: Standalone Demo With Pc

    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 ...
  • Page 14: Table 3: Cli Commands

    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...
  • Page 15: Figure 9: Cli - List Of Available Profiles

    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"...
  • Page 16: Figure 11: Cli Status Command - Port_0 Connected To Port_1

    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"...
  • Page 17: Demo With Pc And Externally Powered Board

    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"...
  • Page 18: Figure 14: Cli Status Command - Port_0 Connected To External Pd Consumer

    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.
  • Page 19: Figure 15: Cli Status And Profiles Commands - Port_1 Connected To External Pd Provider

    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.
  • Page 20: Revision History

    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.

Table of Contents