ST P-NUCLEO-USB002 User Manual
ST P-NUCLEO-USB002 User Manual

ST P-NUCLEO-USB002 User Manual

Nucleo pack for usb type-c and power delivery
Table of Contents

Advertisement

Quick Links

STM32 Nucleo pack for USB Type-C™ and Power Delivery with
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.
June 2017
the Nucleo-F072RB board and the STUSB1602

Figure 1: P-NUCLEO-USB002 kit

DocID030479 Rev 2
UM2191
User manual
www.st.com
1/55

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the P-NUCLEO-USB002 and is the answer not in the manual?

Questions and answers

Summary of Contents for ST P-NUCLEO-USB002

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

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

    2.3.4 P-NUCLEO-USB002 expansion board: VBUS management... 30 2.3.5 P-NUCLEO-USB002 expansion board: local power management stage 2.3.6 P-NUCLEO-USB002 expansion board: STSAFE secure device ..32 2.3.7 P-NUCLEO-USB002 expansion board: USB2.0 ......33 2.3.8 P-NUCLEO-USB002 expansion board: ESD protections ....34 2/55...
  • Page 3 UM2191 Contents 2.3.9 P-NUCLEO-USB002 expansion board: connectors ......35 2.3.10 P-NUCLEO-USB002 expansion board: test points ......37 2.3.11 P-NUCLEO-USB002 expansion board: jumpers ......38 2.3.12 P-NUCLEO-USB002 expansion board: user LEDs ......38 Full-featured Type-C cable .............. 38 System setup ................. 39 Source power role configuration ............
  • Page 4 Table 5: NUCLEO-F072RB solder bridges and resistors to be modified ..........20 Table 6: P-NUCLEO-USB002 expansion board VCONN settings ............28 Table 7: P-NUCLEO-USB002 expansion board JP100 and JP101 settings ..........33 Table 8: P-NUCLEO-USB002 expansion board serial communication connection ......... 36 Table 9: P-NUCLEO-USB002 expansion board test points ..............
  • Page 5 Figure 19: P-NUCLEO-USB002 expansion board USB Type-C receptacle and Current sensing (port 1) schematic view ............................25 Figure 20: P-NUCLEO-USB002 expansion board Port 0 Current sensing stage schematic view ... 25 Figure 21: P-NUCLEO-USB002 expansion board Port 1 Current sensing stage schematic view ... 26 Figure 22: STUSB1602 front end for Port 0 .....................
  • Page 6: Usb Type-C And Power Delivery

    USB Type-C and Power Delivery UM2191 USB Type-C and Power Delivery Overview The USB Type-C™ and Power Delivery technologies simplify development and enhance user experience; the new reversible USB Type-C connector insertion is more intelligent and user friendly. These technologies offer a smart connector able to carry all the necessary data (including video) as well as negotiate up to 100 W supply or charge connected equipment according to the Power Delivery protocol.
  • Page 7: Usb Type-C™ Pin Map

    UM2191 USB Type-C and Power Delivery Figure 2: USB plug form factors The new USB Type-C covers all the features provided by the previous generation USB plugs in a single connector, rendering USB usage easier and more flexible. It supports all protocols from USB2.0 onward, including power capability.
  • Page 8: Table 1: Usb Type-C Pinout Description

    USB Type-C and Power Delivery UM2191 Figure 4: USB Type-C receptacle pinout Table 1: USB Type-C pinout description Receptacle Plug Description Comment signal signal Can be up to 5 A split into Ground return four pins TX1+ TX1+ 10-Gbyte TX differential USB3.1 data lines or Alternate pair in USB 3.1 TX1-...
  • Page 9: Port Configurations

    UM2191 USB Type-C and Power Delivery Receptacle Plug Description Comment signal signal RX1- RX1- 10-Gbyte RX differential USB3.1 datalines or Alternate pair in USB 3.1 RX1+ RX1+ Can be up to 5 A split into Ground return four pins Port configurations As stated in the USB Type-C™...
  • Page 10: Device Policy Manager (Dpm)

    USB Type-C and Power Delivery UM2191 Figure 5: USB power delivery architecture As per the USB Power Delivery protocol, a USB DFP is initially a Source and a USB UFP is initially a Sink. When these two entities are connected between them, they start to communicate by means of the configuration channel (CC), while the Source supplies the Sink through the V path.
  • Page 11: Cc Pins: Port Termination Characteristics

    UM2191 USB Type-C and Power Delivery CC pins: port termination characteristics The configuration channel (CC) pins are used in the discovery, configuration and management of connection across a USB Type-C™ cable, as well as a communication channel for the PHY layer of the USB Power Delivery. There are two CC pins in each receptacle, but only one is connected through the cable to establish communication.
  • Page 12: Cable Attachment And Detachment Detection And Orientation

    USB Type-C and Power Delivery UM2191 Table 4: Power options Nominal Maximum Maximum Mode of operation Note voltage current power USB 2.0 500 mA 2.5 W Default current based on specification USB 3.1 900 mA 4.5 W USB BC1.2 up to 1.5 A Legacy charging 7.5 W USB Type-C™...
  • Page 13: Power Negotiation

    UM2191 USB Type-C and Power Delivery Power negotiation When a connection is made and the respective roles have been assigned, the source and the sink negotiate a contract for the power objects: the selected configuration channel (CC) allows them to establish communication and negotiate the power according to the protocol described in USB Power Delivery specification.
  • Page 14: Full-Featured Type-C™ Cable And

    USB Type-C and Power Delivery UM2191 Figure 7: Message flow during power negotiation Full-featured Type-C™ cable and V 1.10 supply CONN Full-featured Type-C™ cables are Type-C™ to Type-C™ cables that support USB2.0 and USB3.1 data operation, and include sideband use (SBU) wires. All USB full-featured Type-C cables must be electronically marked and must provide 800 Ω...
  • Page 15: Alternate Modes And Billboard Device Class

    UM2191 USB Type-C and Power Delivery The V is systematically assigned to the free CC pin of the receptacle after a connection CONN is established: the CC pins can be monitored to verify a valid Rp/Ra connection and then the V supply is routed by the source to the checked pin.
  • Page 16 USB Type-C and Power Delivery UM2191 The USB billboard device class definition describes how to communicate the alternate modes supported by a device container to a host system, including string descriptors that provide supporting information in a human-readable format. 16/55 DocID030479 Rev 2...
  • Page 17: 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 A full-featured and certified USB Type-C cable...
  • Page 18  extension resources:  Arduino Uno revision 3 connectivity  ST morpho extension pin headers for full access to all STM32 I/Os  on-board ST-LINK/V2-1 debugger/programmer with SWD connector:  selection-mode switch to use the kit as a standalone ST-LINK/V2-1 ...
  • Page 19: System Block Scheme

    -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 20: Table 5: Nucleo-F072Rb Solder Bridges And Resistors To Be Modified

    Table 5: NUCLEO-F072RB 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 21: P-Nucleo-Usb002 Expansion Board

    Figure 13: STM32 Nucleo board top and bottom view P-NUCLEO-USB002 expansion board The P-NUCLEO-USB002 expansion board consists of different stages for specific aspects of the power delivery protocol. It embeds two USB Type-C™ ports, each containing the following functional blocks: ...
  • Page 22: Figure 14: P-Nucleo-Usb002 Expansion Board

    0 and on port 1, as well as allowing a pass-through topology connecting the USB pins of the two Type-C ports. The main functional blocks regarding USB-C PD applications are shown below Figure 15: P-NUCLEO-USB002 expansion board functional blocks 22/55 DocID030479 Rev 2...
  • Page 23: Figure 16: P-Nucleo-Usb002 Expansion Board Connectors And Jumpers

    UM2191 System architecture The connectors and jumpers regarding USB-C PD applications are shown below. Figure 16: P-NUCLEO-USB002 expansion board connectors and jumpers Figure 17: P-NUCLEO-USB002 expansion board silkscreen DocID030479 Rev 2 23/55...
  • Page 24: P-Nucleo-Usb002 Expansion Board: Usb Type-C Connectors, Voltage And Current Sense Stage

    P-NUCLEO-USB002 expansion board: USB Type-C connectors, voltage and current sense stage The two USB Type-C™ CN0 and CN1 connectors on the P-NUCLEO-USB002 expansion board represent port 0 and port 1 respectively. When a port acts as a power provider, it can supply an external device connected via a USB Type-C™...
  • Page 25: Figure 19: P-Nucleo-Usb002 Expansion Board Usb Type-C Receptacle And Current Sensing (Port 1) Schematic View

    Valid V voltage and operating thresholds can be changed via the I²C interface. Each port is also equipped with a dedicated current-sensing stage. Figure 20: P-NUCLEO-USB002 expansion board Port 0 Current sensing stage schematic view +3V3 100nF C800...
  • Page 26: P-Nucleo-Usb002 Expansion Board: Stusb1602 Usb Type-C Controller

    System architecture UM2191 Figure 21: P-NUCLEO-USB002 expansion board Port 1 Current sensing stage schematic view +3V3 100nF C900 U900 INA199A1DCK AVDD TP900 TEST POINT N.M. R900 49.9k U901 TSV991 100nF R901 C901 49.9k C902 AVDD 100nF Although the STUSB1602 monitors the V voltage, a resistive voltage divider for voltage sensing managed by the STM32F072RBT6 ADC peripherals, has been added.
  • Page 27: Figure 22: Stusb1602 Front End For Port 0

    UM2191 System architecture Figure 22: STUSB1602 front end for Port 0 +3V3 VBUS TP200 TP203 EN_SRC EN_SNK C203 TEST POINT N.M. TEST POINT N.M. VSENSE ISENSE TP201 TP202 TEST POINT TEST POINT C201 C200 C202 U200 +3V3 +3V3 R202 2.2k R201 CC1DB VBUS...
  • Page 28: Conn Switch

    CONN STUSB1602 device can be supplied via the power connector or the local voltage regulator according to the JP000 and JP001 jumper settings below. Table 6: P-NUCLEO-USB002 expansion board VCONN settings is provided by the local voltage regulator CONN is provided by the power connector...
  • Page 29: Figure 23: P-Nucleo-Usb002 Expansion Board: Jp000 And Jp001 Jumper Settings To Provide Vconn Through The Local Voltage Regulator

    UM2191 System architecture Figure 23: P-NUCLEO-USB002 expansion board: JP000 and JP001 jumper settings to provide VCONN through the local voltage regulator The V voltage is only applied to the CC pin that is not connected to the CC wire after: CONN ...
  • Page 30: P-Nucleo-Usb002 Expansion Board: Vbus Management

    System architecture UM2191 2.3.4 P-NUCLEO-USB002 expansion board: VBUS management Figure 24: P-NUCLEO-USB002 expansion board Port 0 schematic view of the VBUS management mechanism Figure 25: P-NUCLEO-USB002 expansion board Port 1 schematic view of the VBUS management mechanism This circuit description uses port 0 for reference, but the same applies to port 1.
  • Page 31: P-Nucleo-Usb002 Expansion Board: Local Power Management Stage

    Q502-Q503 enabled by Q506 Similarly, the STM32F072RBT6 MCU can act on DRP and /DRP lines enabling the DC-DC converter L6984 (U500). Figure 26: P-NUCLEO-USB002 expansion board: schematic view of the load switches of the local power management DocID030479 Rev 2...
  • Page 32: P-Nucleo-Usb002 Expansion Board: Stsafe Secure Device

    System architecture UM2191 Figure 27: P-NUCLEO-USB002 expansion board: schematic view of the local DC-DC converter This stage is able to supply different voltage levels to the system according to the USB PD specification. Q500-Q501 and Q502-Q503 are set in back-to-back configuration and permit isolation in both directions of the supplying path.
  • Page 33: P-Nucleo-Usb002 Expansion Board: Usb2.0

    UM2191 System architecture 2.3.7 P-NUCLEO-USB002 expansion board: USB2.0 The P-NUCLEO-USB002 expansion board enables different USB2.0 configurations via jumpers JP100 and JP101. Table 7: P-NUCLEO-USB002 expansion board JP100 and JP101 settings USB2.0 functionality not used USB2.0 functionality to Type-C™ port 0 USB2.0 functionality to Type-C port 1...
  • Page 34: P-Nucleo-Usb002 Expansion Board: Esd Protections

    System architecture UM2191 USB2.0 bridge between port 0 and port 1 Figure 29: P-NUCLEO-USB002 expansion board: JP100 and JP101 connectors for USB 2.0 configurations 2.3.8 P-NUCLEO-USB002 expansion board: ESD protections The P-NUCLEO-USB002 expansion board features USB protections on: : each port is protected by an SMM4F24A Transil, designed to protect sensitive...
  • Page 35: P-Nucleo-Usb002 Expansion Board: Connectors

    Figure 30: P-NUCLEO-USB002: CN13 and C14 connector pinout 2.3.9.3 Power connector The P-NUCLEO-USB002 power connector CN4 on the rear of the board connects the expansion board to a selectable power supply with appropriate voltage and current couples for the USB PD specification.
  • Page 36: Table 8: P-Nucleo-Usb002 Expansion Board Serial Communication Connection

    This allows exploiting the serial communication to send commands to the NUCLEO-F072 MCU or access to the application data. Since the ST-LINK contained in the NUCLEO-F072 board may be used as a Virtual COM port, accessible by the CN3 connector, the expansion board CN2 connector can be connected to the NUCLEO-F072 CN3 connector via two female wires (included in the blister).
  • Page 37: P-Nucleo-Usb002 Expansion Board: Test Points

    UM2191 System architecture Figure 32: P-NUCLEO-USB002 expansion board CN2_1 and CN3_TX pin indications 2.3.10 P-NUCLEO-USB002 expansion board: test points Table 9: P-NUCLEO-USB002 expansion board test points Test Point Description TP100, TP101 TP102 +3.3V TP103 TP201 CC1 port 0 TP202 CC2 port 0 TP200 (N.M.)
  • Page 38: P-Nucleo-Usb002 Expansion Board: Jumpers

    If closed, VBUS is provided by the standard USB port through connector JP401 CN1 of the NUCLEO board (without any other source on the power connector) 2.3.12 P-NUCLEO-USB002 expansion board: user LEDs Table 11: P-NUCLEO-USB002 expansion board LED signaling Port Function Color Comment - one blink: port is a Provider...
  • Page 39: System Setup

    3.1.1 Using the NUCLEO-F072 on-board voltage regulator When the P-NUCLEO-USB002 kit is connected to a PC or a standard USB power supply via a USB Type-A to Mini-B cable plugged to CN1 connector, the on-board NUCLEO- F072RB voltage regulator supplies the entire system and provides (5 V) V...
  • Page 40: Sink Power Role Configuration

    Provider by mean of its VBUS). Both configurations correspond to two diverse settings, too: 3.2.1 Using the NUCLEO-F072RB on-board voltage regulator When the P-NUCLEO-USB002 kit is connected to a PC or a USB power supply by NUCLEO-F072RB CN1 connector, the on-board voltage regulator supplies the system. In this case, the system setting: ...
  • Page 41: Dual Role Power Configuration

    JP400 and JP401 (relative to PORT_0 or PORT_1) closed 3.3.2 Using an external power supply Connect an external power board to the P-NUCLEO-USB002 power connector CN4 so the system can offer different VBUS voltage profiles. In this case, the system configuration is: ...
  • Page 42: Ordering Information

    Ordering information UM2191 Ordering information To order the USB Type-C™ and Power Delivery Nucleo pack, use the order code:  P-NUCLEO-USB002 42/55 DocID030479 Rev 2...
  • Page 43: Electrical Schematics

    UM2191 Electrical schematics Electrical schematics Figure 34: P-NUCLEO-USB002 expansion board circuit schematic - global view USBD1_[0..1] 10_SECURITY USBD0_[0..1] +3V3 02_AFE Port0 R017 10k N.M. TX_EN ADDR0 TX_EN_0 R020 10k CS_0 SCK_0 SCLK MOSI_0 MOSI MISO_0 MISO RESET_0 RESET AFE0 AB_SIDE_0...
  • Page 44: Figure 36: P-Nucleo-Usb002 Expansion Board Circuit Schematic - Stusb1602 Front End Port0

    Electrical schematics UM2191 Figure 36: P-NUCLEO-USB002 expansion board circuit schematic - STUSB1602 front end Port0 +3V3 VBUS TP200 TP203 EN_SRC EN_SNK C203 TEST POINT N.M. TEST POINT N.M. VSENSE ISENSE TP201 TP202 TEST POINT TEST POINT C201 C200 C202 U200...
  • Page 45: Figure 38: P-Nucleo-Usb002 Expansion Board Circuit Schematic - Local Power

    C421 C424 C409 R449 220nF N.M. 10uF 330k VBUS1 ESRC1_MCU ESNK1_MCU R445 R448 EN_SRC1 EN_SNK1 Figure 39: P-NUCLEO-USB002 expansion board circuit schematic - local voltage supply U500 L6984 D501 D502 VBUS0 VBUS1 PGOOD STPS0520Z STPS0520Z VBIAS L500 68uH 750mA R508...
  • Page 46: Figure 40: P-Nucleo-Usb002 Expansion Board Circuit Schematic - Type-C Connector 0

    Electrical schematics UM2191 Figure 40: P-NUCLEO-USB002 expansion board circuit schematic - Type-C Connector 0 U600 USBD1 USBD[0..1] USBD[0..1] I/O1 I/O4 VBUS USBD0 I/O2 I/O3 USBLC6-2 PORT0 USB 2. 0 + ESD TP600 2Way TEST POINT CN11 R605 0.005 VBUS R603...
  • Page 47: Figure 42: P-Nucleo-Usb002 Expansion Board Circuit Schematic - Current Sensing C0

    UM2191 Electrical schematics Figure 42: P-NUCLEO-USB002 expansion board circuit schematic - Current Sensing C0 +3V3 100nF C800 U800 INA199A1DCK AVDD TP800 TEST POINT N.M. R800 49.9k U801 TSV991 100nF R801 C801 49.9k C802 AVDD 100nF Figure 43: P-NUCLEO-USB002 expansion board circuit schematic - Current Sensing C1...
  • Page 48: Bill Of Materials

    Bill of materials UM2191 Bill of materials Item Q.ty Ref. Part/Value Description Manufacturer Order code USB Type-C CN1,CN0 Type-C Receptacle JEM 121U-3CST-01CR Receptacle UART HEADER Connector PWR Conn. HEADER AMPHENOL T821124A1S100CEU ARDUINO_10 HEADER SAMTEC SSQ-110-03-F-S x1 N.M. ARDUINO_8x CN6,CN9 HEADER SAMTEC SSQ-108-03-F-S 1 N.M.
  • Page 49 UM2191 Bill of materials Item Q.ty Ref. Part/Value Description Manufacturer Order code 100nF N.M. C1002 Ceramic X5R 25V ±10% D100,D103, BLUE LED Kingbright KP-2012PBC-A D106 3.2V D101,D104, GREEN LED Kingbright KP-2012SGC D107 2.2V ORANGE LED D102,D105 Kingbright KP-2012SEC 2.5V D402,D404, SMM4F24A Transil SMM4F24A-TR...
  • Page 50 Bill of materials UM2191 Item Q.ty Ref. Part/Value Description Manufacturer Order code R018,R020, R200,R201, R203,R204, R205,R209, R300,R301, 10k ±1% RESISTOR R303,R304, R305,R309, R436,R445, R502,R503, R511 R108,R112, R113,R115, 110 ±1% RESISTOR R132,R134 R109,R114 680 ±1% RESISTOR R110,R111, R202,R302, 2.2k ±1% RESISTOR R1001, R1002 R133...
  • Page 51 UM2191 Bill of materials Item Q.ty Ref. Part/Value Description Manufacturer Order code USB Type-C U200,U300 STUSB1602 STUSB1602 interface U500 L6984 DCDC L6984TR U600,U700 USBLC6-2 ESD protection USBLC6-2SC6 TEXAS Current shunt U800,U900 INA199A1DCK INSTRUMENT INA199A1DCKR monitor U801,U901 TSV991 Rail to rail op-amp TSV991AILT Authentication U1000...
  • Page 52: Acronyms And Abbreviations

    Acronyms and abbreviations UM2191 Acronyms and abbreviations Table 12: List of acronyms Acronym Description Universal Serial Bus Power Delivery Configuration Channel Dual Role Power Sideband Use Electronically Marked Cable Microcontroller Unit Downstream Facing Port Upstream Facing Port USB OTG USB on-the-go Physical layer Biphase Marked Coding IDEs...
  • Page 53: References

    UM2191 References References USB2.0 Universal Serial Bus Revision 2.0 Specification. USB3.1 Universal Serial Bus Revision 3.1 Specification. USB PD USB Power Delivery Specification Revision 2.0, Version 1.3, January 12, 2017. USB Type-C Cable and Connector Specification Revision 1.2. USB BC Battery Charging Specification Revision1.2 (including errata and ECNs through March 15, 2015), March 15, 2012.
  • Page 54: Revision History

    Table 13: Document revision history Date Version Changes 26-May-2017 Initial release. Minor text and formatting changes Updated Table 11: "P-NUCLEO-USB002 expansion board LED 19-Jun-2017 signaling" Inserted note in Section 2.3.5: "P-NUCLEO-USB002 expansion board: local power management stage" 54/55 DocID030479 Rev 2...
  • Page 55 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