En - Usb Type-C
En - Usb Type-C
Manager
Certified Software Pack eases Migration to USB-PD 3.0 Power Delivery
STM32 USB Type-C™ Port Manager
Certified Software Pack eases Migration to USB-PD 3.0 Power Delivery
Why to use USB-C 3
•
A2 TX1+ B11
Attach/detach and role management RX1+
B9
USB serial
Vbus Vbus
C devices Power Path
data
Auxiliary signals interface
•
A5 CC1 SBU2 B8
Discover and configure Vbus Up to 15W (3A)
USB 3.2
A6 D+ B7
w/o USB PD
•
D-
Discover and configure Vconn USB 2.0
or or
A7 D- D+ B6
Serial interface
• Resolve cable orientation and twist SBU1 CC2
B5
up to 100W
(5A)
reconfigured
or
in Alternate
connections to establish USB data
A8
B4
Conf Channels with USB PD
reconfigured in
ModesMode
A9 Vbus Vbus Alternate
bus routing A10 RX2- TX2-
B3
A12
24-pin
USB-C receptacle
USB Power Delivery is a Protocol ! 5
USB-C
USB PD AM
Typical Use-cases 6
USB3.1
USB-C
USB PD
Power Bank
DRP or 1 SRC / 1 SNK
Value Proposition 6
Protections
source SBUx
USB2.0
• Add-on USB IF certified software pack
Dp/Dn
USB X-CUBE-USB-PD for implementing a Type-C Port
ST-SAFE Secure Type-C
element receptacle Manager (TCPM) on any Arm® Cortex®-based
(Authentication)
TCPM
STM32 Microcontroller
Host TCPC
USB
3.1 • Optimized hardware/software partitioning involving
CTRL,
AP, etc
CC lines
standard Type-C port Controller (TCPC) or
Protections
STUSB1602
Power Load Vbus
• Lowest design and validation effort
management switch
X-CUBE-USB-PD Software Pack 87
Protocol Layer
• The STM32 provides a high customization and flexibility to
I²C Master
manage power policy, application layers, and to support
TCPC Interface (TCPCI)
evolution of the standard faster.
TCPC port n°3 TCPC port n°2 TCPC port n°1 • TCPCI interface provides a low pin count interconnect
I²C Slave I²C Slave I²C Slave using Fast-Mode Plus I²C (1 MHz) bus, plus one alert
line, and a comprehensive set of TCPC registers making
Tx/Rx Buffer Tx/Rx Buffer Tx/Rx Buffer
stack porting across STM32 platform easier.
GoodCRC - Retry GoodCRC - Retry GoodCRC - Retry
Type-C CC Logic Type-C CC Logic Type-C CC Logic • TCPC provides the “Power Path” and integrate
Type-C Port Controller Type-C Port Controller Type-C Port Controller components with fast latency requirements as well as
USB-C/PD PHY, Vconn, dead battery and protection.
Docking Station 10
Typical Block Diagram
USB-C port n°2 :
DRP + Alt Mode USB-C port n°1 : Sink
Load Load
switch switch
TCPC TCPC
I2C
Vbus
Vbus
CC lines CC lines
Example :
Super Speed signals
gaming console or
Smartphone D+/D-
I2C/SPI HDMI
(USB2.0) connector
USB3.x
Rx/Tx
USB3.0 RX/TX
USB
HUB
CTRL
Vbus
Vbus
Vbus sink
Vbus sink Load
switch
CC lines
CC
PMIC lines
PMIC
Battery I²C
Battery I²C
etc etc
CC
I2C/SPI/ lines
CC lines
GPIOs
etc
Vbus
Vbus
Vbus source
Vbus source Load
switch
Vbus
Vbussink
sink
Load
switch
Features and Memory Footprint 12
Device
• Key features :
Physical Layer • Device Policy Manager, Policy Engine and Protocol Layer
• Cable detection and orientation
HAL/LL • Supports Vendor-Defined Messages (Alternate Modes)
• Billboard driver
Hardware Vbus
• SOP’ and SOP’’ for communication with cables
Type C connector
Typical TCPM Memory Footprint Source or Sink only Dual Role Power
(no VDM, no Vconn)
1 port (w/o RTOS) 32 Kbytes in Flash 40 Kbytes in Flash
3.6 Kbytes in RAM 3.6 Kbytes in RAM
2 port (w/RTOS) 32 Kbytes in Flash 43 Kbytes in Flash
7.8 Kbytes in RAM 8.1 Kbytes in RAM
ON-FUSB3-STM32 13
Main features
www.st.com/x-cube-usb-pd