USB Type-C™ PD USB Power Delivery

Gregory Gosciniak Application Engineer

STMicroelectronics Agenda 2

USB Type-C and USB Power Delivery Benefits

USB Type-C Technical Details

ST Offer

Evaluation Tools The Re-evolution of USB 3

USB has evolved from a data interface capable of supplying limited power to a primary provider of power with a data interface

USB Power USB Alternate Type-C Delivery Data Mode

A smart and green technology • More flexibility with a new reversible & thinner connector, more robust • More power with USB Power Delivery (up to 100W) • More speed with USB 3.1 (5/10Gbps), USB 3.2 (20Gbps), USB4 (40Gbps) • More protocols (Display Port, HDMI, 3, …) Power, Data & Display: All-in-One interface 4

Power management High Speed Data Display Connection 100W max USB 2.0 Video + Audio USB 3.x (DisplayPort™ or HDMI™)

USB Type-C™ USB-C™ USB Type-C 5 and USB Power Delivery Modifying the ecosystem...... enabling new scenarios!

USB Type-C: External display One port to rule them all Power Dual role / System power charging Display

Alternate mode on dock connector

Charging / Data

Audio USB Global Evolution 6

STMicroelectronics is a board member of USB-IF and USB 2.0 & USB 3.0 promoter

Connector

Power

Data / Protocol

20002001 2002 2003 2004 20052006 2007 20082009 2010 20112012 2013 2014 2015 2017

http://www.usb.org/developers/powerdelivery/ USB Type-C Technical Details USB Type-C Pinout Functions 8

Enhance ease of use

Receptacle

Two pins on the USB Type-C receptacle, CC1 and CC2, are used in the discovery, configuration and management of connections across the USB Type-C cable

Plug

On a standard USB Type-C cable, only a single CC wire within each plug is connected through the cable to establish signal

orientation. The other CC pin is repurposed as V CONN for powering electronics Also, only one set of USB 2.0 D+/D- wires are implemented

High Speed Data Path High Speed Data Path USB 2.0 Cable Bus Power Sideband Cable Configuration (RX for USB 3.1, or (TX for USB 3.1, or (from 5V up to 20V) reconfigured in Alternate Mode) reconfigured in Alternate Mode) Interface use Ground Channel USB-C: Host-to-device Connection 9 SOURCE SINK (Host / DFP) (Device / UFP)

4 possible Source Rp wiring Sink Rd Power pull-up pull-dw Legacy current 56 k Ω CC pin 5.1 k Ω

1.5A @ 5V 22 k Ω 3A @ 5V 10 k Ω 1. By default: VBUS is not powered (cold socket) 2. At insertion detect, the Configuration Channel (CC pin) is used to solve plug orientation (CC1 or CC2) • HOST identified by Pull-up resistor / current source on its CC pin • Device identified by Pull-Down resistor on CC pin 3. After correct Host to Device connection, VBUS is supplied as well as Vconn on the unconnected CC pin 4. Optionally, USB PD, Alternate or Accessory Mode can be supported USB-C principle 10 • Source-Only meets Sink-Only

SOURCE SINK Host-to-device Connection 11

• Logical Model for Data Bus Routing

Implementation without Switch Implementation with Switch USB Power Delivery (USB PD) 12 Key Characteristics

• Voltage and Current values are negotiated (via CC pin) • Higher voltage and current: power up to 100W (20V / 5A)

• Swapping of power direction, data direction and source of VCONN

• Communication with USB Type-C Electronically Marked Cables ( EMC )

• Support for Alternate Modes of operation (DP, MHL, Thunderbolt)

• Signaling : • 1-wire communication, bidirectional • Half duplex system • Biphase Mark Coding (BMC) • Bit rate : 300kbps • CRC-32 used to detect data corruption USB Type-C [vs] USB PD 13

• USB-C • Power: 15W max • 5V/3A, 5V/1.5A, 5V/LegacyCurrent • Legacy USB2.0 power: 5V/500mA (after USB enumeration), 5V/100mA (no enumeration) • Power Role: Source, Sink, or Dual Role Power (DRP)

• USB-C Power Delivery • PD communication occurs on CC line • Power: 100W max (20V@5A) • VBUS min= 5V ; max= 20V • Several power profiles possible (PDO). e.g.: [5V, 9V, 15V, 20V] • Power Role: Source, Sink, or Dual Role Power (DRP) • PD mode always starts after USB-C attachment is done (i.e. 5V is available on VBUS at this point) • Additional optional features: • Swap of Power Role, Swap of Data Role • Communicate with EMC cables, VDM, authentication, Alternate modes, Firmware update over CC, ... USB-PD: Power Negotiation Sequence 14 USB-PD 2.0 & 3.0 Power Rules 15

100W

PDO : Power Data Object (Voltage, Current)

PD Power (W) Current (A) Current (A) Current (A) Current (A) at 5V at 9V at 15V at 20V 0.5 ≤ x ≤ 15 x ÷ 5 15 < x ≤ 27 3 x ÷ 9 27 < x ≤ 45 3 3 x ÷ 15 45 < x ≤ 60 3 3 3 x ÷ 20 60 < x ≤ 100 3 3 3 x ÷ 20 (*) (*) Requires a 5A cable USB Type-C 16 and USB Power Delivery-enabled subsystems ST Chipset: A flexible offer in the USB Type-C PD ecosystem

Rx/Tx pairs USB 3.x receptacle USB-C SuperSpeed Scalable offer for USB-PD controller and USB Type-C interface: Switch for SBUx Alternate Mode from STM32 general purpose MCU to hard-coded solution to fit different use cases and power ratings Protections Dp/Dn USB 2.0

Host Authentication USB 3.1 Large product portfolio for protection and filtering covering all the CTRL, AP, application needs etc USB PD USB Type-C Controller Interface CC lines (MCU or ASSP) (PHY)

Protections Highly secure solution using STSAFE secure element family for Power Load VBUS strong authentication needs Management switch ST Offer ST Product family 18 USB Type-C & PD Controllers Covering all use cases from Type-C to full-feature Power Delivery

PD stack running in SW

Standalone

STUSB4500L STUSB1602 STM32Gx STUSB1600 STUSB4500 STUSB47xx with UCPD interface + µC + TCPP01 USB-C controller USB-C controller Power Delivery Power Delivery USB-C controller with Embedded USB PD 3.0 Sink / Source / controller controller USB PD PHY controller DRP SINK only SINK only SOURCE only Sink / Source / DRP Sink / Source / DRP

USB Type-C ≤ 15W

Power 15-60W Delivery 15-100W

Alternate Up to Mode 100W USB Type-C & PD Controllers 19 Certified Solutions Offer to designers the flexibility to enable the needed optimization of stack partitioning and BOM

USB-PD stack

Device Policy Digital Manager functions

Highest flexibility and STM32F adaptability with GP Policy Engine USB PD STM32 MCU for multi + MCUs Controller Full Hardware ports management Full Hardware DFP/UFP/DRP Embedded Software USB PD (X-CUBE-USB-PD) Controller USB PD & Low level drivers Protocol layer Controller STM32G0 for USB1602 Optimized for for Device side STM32G4 + AC Adapters 4b5b, CRC, SoP X-CUBE-USB-PD (Provider) (Consumer) (UCPD) BMC encoder STUSB47 STUSB4500 Highest integration USB PD with High Voltage RX/TX analog PHY Type-C USB-C and PD Controller controllers (STUSBXX) Type-C STUSB1602 Interface DFP/UFP/DRP Analog STUSB1600 STUSB4500L TCPP01 functions High Voltage DFP/UFP/DRP SINK High Voltage Analog protection USB Type-C Protection Devices 20 ESD & EOS

Pin Name Recommended Package Size Protection (mm) GND GND

SSRXp2 SSTXp2 SSTXp1/SSTXn1 HSP053-4M5 HSP053-4M5 SSRXn2 SSTXn2 1.3(L) SSRXp1/SSRXn1 0.8 (W) VBUS VBUS 0.38(D) ESDZV5-1BF4 SBU1 CC2 VBUS ESDA25P35-1U1M Dn1 Dp1 (for 20V) 1.6(L) Dp1 Dn1 1 (W) 0.55 (D) USBULC6-2F7 CC1 SBU2 ESDZV5-1BF4 VBUS VBUS CC SSTXn1 SSRXn1 ESDZV5-1BF4 0.58(L) 0.28(W) ESDA5-1F4 SSTXp1 SSRXp1 SBU 0.3(D)

GND GND Dp1 USBULC6-2F7 0.73(L) Dn1 0.73(W) HSP053-4M5 0.37(D)

ESDA25P35-1U1M STUSB1600 / STUSB4500L 21 USB Type-C controller

• STUSB1600: Source / Sink / DRP • STUSB4500 L: Sink only Features

• Transition any USB Type-A/Micro-B to USB Type-C • Performs USB Type-C detection including port attach & cable orientation • Supports legacy, 1.5A & 3A USB Type-C charging profiles • Embeds • VCONN power switch (OVP,OCP,OTP) • Vbus Monitoring & Discharge Path • Dead Battery Support • PMOS Gate drivers • High Voltage Protections ( CC pins & Vbus ) STUSB4700/4710 - SOURCE 22 Standalone USB Power Delivery Controller - SOURCE

Provider VBUS DC/DC • all USB PD profiles supported up to 100W AC/DC • Suitable for AC/DC and DC/DC CC1 STUSB47 • Auto-run / Plug & Play CC2 • Dead Battery Support • Up to 5 PDO profiles • Short to VBUS Protections • Power sharing capable thru MCU Certified

QFN-24 QFN-16 SO-16 4x4 mm² 3x3 mm² STUSB4500 - SINK 25 Standalone USB Power Delivery Controller - SINK

Consumer VBUS To battery charger • all USB PD profiles supported up to 100W or system DC/DC • Fast migration to USB PD CC1 STUSB45 • Auto-run / Plug & Play CC2 • Dead Battery Support • Up to 3 SINK PDO profiles • Short to VBUS Protections • PCB area saving

Certified STUSB4500 Footprint 24 DEMO BOARD – USB Type-C/PD SINK

Power any 100W (or less) device with USB PD! It’s: - Tiny, - Safe, - Certified, - Plug-Play 4500 - Customizable

mm mm STM32G0 / STM32G4 / STM32L5 6

• STM32G0 : World’s 1st USB-C & Power Delivery 3.0 MCU • Wider offer with “UCPD” IP across STM32 portfolio (G0/G4/L5) • Companion TCPP available to make the solution more robust.

TCPP USB-C

• UCPD is a new interface that supports :  USB Type-C connector management  USB Power Delivery r3.0 communication protocol

Dual Port - Certified * Solution

• Cortex®-M0+ STM32 platform • Up to 2 built-in USB-C & PD3.0 interfaces • 128Kbytes of Flash - 36Kbytes of SRAM • Versatile analog and digital peripherals USB-C USB-C • 28,32,48,64-pin packages available port 1 port 2 STM32G081 block diagram 26 USB Type-C receptacle D+ D- VBUS CC1 CC2 VBUS_SENSE STUSB1602 -C + USB 2.0USB + -C controller USB-C &PD USB-C D+ / D- / D+ driver SNK Gate HW implementation in DRP mode in DRP implementation HW driver SRC Gate USB Type USB VDD VSYS VBUS I²C interface I²C SRC path SRC SINK path SINK MCU USB USB 2.0 DC/DC (optional) Battery Battery 5V~20V 3.3V 3.3V LDO charger Controller +PHY Controller & & path DATA DATA System USB USB PD controller POWER path STUSB1602 Dual-Role Power (DRP) 27 Implementation example USB Type-C Battery SINK path receptacle charger POWER path SRC path (high Voltage ) 5V~20V VBUS DC/DC VBUS SRC Gate SNK Gate STUSB1602 driver driver VBUS_SENSE VDD VCONN VBUS Dead 3.3V LDO 3.3V VBUS Switch & discharge Battery (optional) VSYS LDO monitoring monitoring path switch STUSB1602(600mA) CC I²C Register Type-C CC1 I²C interface controller termination slave File FSM CC2 System & HV protect. & MCU BMC TX USB PD SPI interface controller SPI BMC CDR RX

USB 2.0 D+/D- controller DATA path USB 3.1 TX1+/TX1- controller TX+/TX- Super RX1+/RX1- USB / RX+/RX- Speed ALT mode DP MUX & switch redriver controller TX2+/TX2- RX2+/RX2- Evaluation Tools Development Tools STUSB1600A - DRP 29

Standalone USB Type-C Controller

• Dual Role, provider, consumer • Fast migration to Type-C <15W

QFN-24 - EP 4x4 mm² • Configurable start-up profiles • Dead battery support STEVAL_CCC002V1 • Short to VBUS Protections

CERTIFICATION • Certified according to: o Ideal solution for <15W USB type-C™ (rev1.2 + ECN) charging (1.5A @5V / 3A@5V) o TID: 1000100 with or without USB DATA STUSB4500 - SINK 30

Standalone USB PD Controller - SINK

QFN-24 - EP Consumer 4x4 mm² • all USB PD profiles supported up to 100W • Fast migration to USB PD WLCSP-25 (2.6x2.6x0.5) USEFULL area: • Auto-run / Plug & Play - 1x PD controller - 2 x MOS (optional) • Dead Battery Support • Up to 3 SINK PDO profiles STEVAL_ISC005V1 • Short to VBUS Protections • PCB area saving VBUS To battery charger or system DC/DC USB devices CERTIFICATION CC1 • Certified according to: CC2 STUSB45 o USB type-C™ (rev1.2) Optional o I²C I/F USB PD (rev2.0) To MCU o TID: 1000133 • Compliant with USB PD (rev3.0) STUSB47xx - SOURCE 31

Standalone USB PD Controller - SOURCE

Provider • all USB PD profiles supported up to 100W SO-16 • Suitable for AC/DC and DC/DC

• Auto-run / Plug & Play • Dead Battery Support QFN-24 QFN-16 • Up to 5 PDO profiles STEVAL_ISC004V1 4x4 mm² 3x3 mm² • Short to VBUS Protections • Power sharing capable thru MCU AC adapters & Power supplies CERTIFICATION • Certified according to: o USB type-C™ (rev1.2) o USB PD (rev2.0) o TID: 1000125 / 1030023 • Compliant with USB PD (rev3.0) STUSB47 meets STUSB45 32 Stand-alone controllers for SOURCE and SINK applications

load exemple shaver Typical power: 15V / 1A

PROVIDER: STUSB 47 SOURCE - Autorun VSNK

CONSUMER: STUSB 45 SINK - Autorun STM32 Smart USB-C ecosystem 15 for short time-to-market

Discover and learn Develop Configure & Debug

STM32G071B-DISCO

NUCLEO-G071RB

STM32G081B-EVAL STM32G0 USB-C Discovery 34

Promotional kit and tool to learn and discover USB-C port capabilities. It offers 3 operating modes :

1. “Standalone ” mode: Discover and display power / data / Alternate Mode capability of any USB-C host (source/DRP).

2. “Sniffer + USB PD meter ” mode: Display current direction,

power information (Vbus voltage, Ibus current) between two USB-C enabled devices.

STM32G071B-DISCO 3. “Advanced User ” mode: Debug, configure, inject USB PD3.0 packet using “STM32CubeMonUCPD”.

Ordering info : RPN :STM32G071B-DISCO POS/RRP : 65$ USB-C STM32 Ecosystem 35

STM32G071B-DISCO STM32G081B-EVAL • USB-C analyzer (Sink ) • 1 Port DRP (45W) • 1 port Sink (AM)

B-G474E-DPOW1 • 1 port Sink + USB data STM32G474E-EVAL • 1 Port DRP (15W) + USB data UCPD configuration Debug tool

NUCLEO-L552ZE-Q • 1 Port Sink + USB data STM32L552E-EVAL • 1 Port Sink + USB data STM32 USB PD3.0 solutions 10 C-Authentication ready via USB PD or USB 2.0

1 X-CUBE-USB-PD 2 STM32 with built-in UCPD STM32 as TCPM + TCPC (PD3.0 – SNK – SRC – DRP – Multi Port) (PD3.0 – SNK – SRC – DRP – Multi Port) UCPD = USB-C and Power Delivery 3.0 Interface

Type-CPort Manager UCPD STM32 • Device Policy Manager • Device Policy Manager • Policy Engine • Policy Engine • Protocol Layer • Protocol Layer

I²C Master

CC lines

I²C Slave

Type-CPort Controller Type-CPort Protection • GoodCRC / retry • Dead Battery 3rd parties • Physical Layer • ESD protection STM • Type-C Logic TCP C • 22V CC lines protection TCP P • Dead Battery • Vbus gate Driver • Protection • Vbus gate driver STEVAL-USBC2DP: 37 USB Type-C to DisplayPort adapter Key Features:  The USB Type-C to DisplayPort Adapter expands a USB Type-C laptop screen onto a monitor or projector equipped with DisplayPort  Based on the Alternate Mode Functional Extension of the USB Type-C & Power Delivery to enables the DisplayPort interface Advantages  Type-C Alternate Mode demo in a compact PCB design (5.5 x 2.3 mm)  Full ST BOM for a cost-effective solution based on Discrete AFE approach  Including the DFU feature

Key Products STM32F072: the high-performance ARM® Cortex®-M0 32-bit RISC core operating at up to 48 MHz frequency, high-speed embedded memories and with USB 2.0 data interface. LDK220: 200 mA low quiescent current and low noise LDO. STG3684A: Low Voltage 0.5 Ohm Max Dual SPDT Switch with Break-Before-Make ESDALC5-1BF4: Low clamping and low capacitance bidirectional single line ESD protection STPS0520Z: Power Schottky rectifier X-CUBE-USB-PD: STM32 USB-PD package consisting of libraries and application examples for STM32F0 devices acting as USB-PD controllers Summary 38

• USB Docs: www..org/documents

• ST is strongly involved in USB Type-C & PD controllers • Member of the USB-IF consortium / Member of USB PD working groups • Certified Solutions available • Type-C only for an easy & Safe transition from Std-A to Type-C using the STUSB1600 or STUSB4500L • USB PD & Type-C Autonomous full HW controller for Provider Only application using the STUSB4700, or Consumer only with STUSB4500 • USB PD & Type-C controller for DRP/DFP/UFP application as the perfect companion to Embedded Controller using the STUSB1602+STM32 supporting USB PD rev3.0. • New Microcontrollers embedding UCPD 3.0 interface : STM32G0, STM32G4, STM32L5 • Automotive • Using STUSB1700Y, STUSB4700Y, STUSB1702Y for Automotive grade devices Thank You

Visit www.st.com/usb-type-c

https://www.st.com/content/st_com/en/applications/connectivity/wired-connectivity/usb-type-c-and-power-delivery.html 40

Backup ST offer overview

SINK SOURCE DRP

GP or UCPD Standalone GP or UCPD Standalone GP or UCPD Standalone MCU solution solution MCU solution solution MCU solution solution

TCPP01 + TCPP01 + TCPP02 + USB-C Only Low cost 4500L Any 1600/1700 1600 Any STM8/STM32 Protection + Attachment STM8/STM32 STM8/STM32

USB-C Only TCPP01 + TCPP01 + TCPP02 +

Up to 15W Upto Protection + Attachment Any STM32 with Any STM32 with Any STM32 with + Authentication USB 2.0 data USB 2.0 data USB 2.0 data via USB 2.0 data interface interface interface

USB-C + PD 1602 TCPP01 4500 4700/4710 Protection + Attachment TCPP01 TCPP02 + + PD communication + + + STM32F “UCPD” STM32 + Alternate Mode “UCPD” STM32 STM32 0 STM32G0/G4/L5 STM32G0/G4/L5 G0/G4/L5 + C-Authentication via USB PD protocol

Up to 100W Upto PPS TCPP01-M12 for sink PD3.0 applications, with battery 42 NO current consumption until powered by MCU (after attach for ex.)

D1 T1 TVS 35A 8/20µs N-MOSFET ESDA25P35-1U1M D2 STL11N3LLH6 IN POWER BATTERY VBUS MANAGEMENT (3.3V-22V) OUT R3 3,3 V

GATE IN_GD SOURCE C3 R1 R4

VBUS_CTRL 3,3V VCC R2 TCPP01-M12 GPIO1 ADC Vdd FLT GPIO2 USB-C USB-C connector

DB/ GPIO3 APPLICATION

CC CC1c CC1 CC1

CC CC2c CC2 CC2 GND GND GND C1 C2

. FLT (FAULT) is an open-drain output pin. . DB/ is a pull-down TCPP input. Connect to 3,3V if not managed by MCU software. Companion device 43 MCD collaboration with PDG

Load switch Vbus sink TCPP01-M12 is a Type-C Protection Port designed by PDG in collaboration with MCD.

CC1 CC1c Main features STM32G0, CC2 CC2c • ESD protection for CC1, CC2 and VBUS G4, L5, U5 • Compliant with IEC61000-4-2 Level 4 ± 8kV contact discharge, ±15 kV air discharge • 24V OVP against CC lines short-to-VBUS overvoltage TCPP01-M12 • Over Voltage Protection on VBUS line Type-C protection device • Integrated VBUS gate driver of external NMOS • Thermal protection • QFN12-pin package 3*3mm (pitch 0.5mm) STM32 Type-C Nucleo shield by eof Q1’19