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 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 .....................
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.
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.
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-...
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™...
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.
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.
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™...
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.
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 Ω...
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...
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 ...
-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 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.
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: ...
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...
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™...
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...
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.
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...
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...
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 ...
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.
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...
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.
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...
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...
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.
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).
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...
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...
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: ...
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: ...
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...
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...
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...
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.
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.
Need help?
Do you have a question about the P-NUCLEO-USB002 and is the answer not in the manual?
Questions and answers