track 2 session 5 - st dev con 2016-usb type c with pd
TRANSCRIPT
October 4, 2016
Santa Clara Convention Center
Mission City Ballroom
USB Type-C™ and USB PDUnifying Data Communication and Power Distribution on a Single,
Robust, Cost-effective Interface Standard - USB Type-C with PD
Markus Mayr
Content 2
USB Type-C™ and USB Power Delivery benefits
USB Type-C overview
ST Offer
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
Power
Delivery
USB
Type-C™
Alternate
ModeUSB IF
• More flexibility with a new reversible & thinner connector
• More power with USB Power Delivery (100W)
• More protocols (Display Port, HDMI, VGA, Ethernet…)
• More speed with USB 3.1 gen 2 (10 Gbps)
A smart and green technology
USB Type-C™ and USB Power Delivery 4
External display
Display
power
Alternate mode on dock connector
Charging / Data System power,
up to 100W
Audio
Dual role /
charging
USB Type-C
One port to rule them all
Modifying the ecosystem......enabling new scenarios!
USB Type-C™ Overview
USB Global Evolution 6
http://www.usb.org/developers/powerdelivery/
Click here for
details
Connector
Power
Data /
Protocol
2000 2005 201020092008 2011 2013 2015 2016200720062004200320022001 2012 2014
STMicroelectronics is a board member of USB-IF and USB 2.0 & USB 3.0 promoter
USB Type-C™ Overview 8
Enable new and exciting host and device form-factors where size, industrial design and style are important parameters
Work seamlessly with existing USB host and device silicon solutions
Enhance ease of use for connecting USB devices with a focus on minimizing user confusion for plug and cable orientation
Enhanced user experience
USB Type-C™ Pin Outs Functions 9
USB 2.0
Interface
High Speed Data Path (RX for USB 3.1, or
reconfigured in Alternate Mode)
High Speed Data Path (TX for USB 3.1, or
reconfigured in Alternate Mode)
Cable
GroundCable Bus Power(from 5V up to 20V)
Sideband
use
Configuration
Channel
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 VCONN for powering electronics
Also, only one set of USB 2.0 D+/D- wires are implemented
Enhanced ease of use
USB Type-C™ and USB Power Delivery 10
Communication across the channel uses Biphase Mark Coding (BMC) over CC in
Type C connector
High level architecture view
Provider
Power
Source(s)
Source
Port
USB Port
VBUSCC
Device Policy Manager
Policy Engine
Protocol Layer
Physical Layer
USB-C
Port
Control
BMC
Consumer
Power
Sink
Sink
Port
USB Port
VBUS CC
Device Policy Manager
Policy Engine
Protocol Layer
Physical Layer
BMC
VBUS
CC
USB-C
Port
Control
USB Type-C™ Power Source 11
From suggested Profiles to mandatory Power Ratings
PDP (W) Current at
5V (A)
Current at
9V (A)
Current at
15V (A)
Current at
20V (A)
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
Benefits
• Simple identification of power adapter capability
• Higher rated power adapters are a superset of smaller ones
• Unambiguous power adapter definitions
…to incremental Power Rules
(as per USB PD 3.0)
PROFILE 1
10W
PROFILE 2
18W
PROFILE 3
36W
PROFILE 4
60W
PROFILE 5
100W
Additional capabilities possible as
optional extensions to standard profiles
5V @ 2A
5V @ 2A
12V @ 1.5A
5V @ 2A
12V @ 3A
5V @ 2A
12V @ 3A
20V @ 5A
5V @ 2A
12V @ 5A
20V @ 5A
From suggested profiles
(as per USB PD 2.0) ….
Electronic Market Cable is required for Current >3A
ST Offering
USB Type-C™ and USB Power Delivery-enabled subsystems
13
ST Chipset: A flexible solution in the USB Type-C PD ecosystem
Scalable offer for USB-PD controller and USB Type-C interface:
from STM32 general purpose MCU to hard-coded solution to fit
different use cases and power ratings
Large product portfolio for protection and filtering covering all the
application needs
Highly secure solution using STSAFE secure element family for
strong authentication needs
SuperSpeed
Switch for
Alternate Mode
Host
USB 3.1
CTRL,
AP, etc
USB
Type-C
receptacle
Power
Management
USB PD
Controller
(MCU or ASSP)
Pro
tect
ion
s
USB Type-C
Interface
(PHY)
VBUS
CC lines
Rx/Tx pairs
SBUx
Dp/Dn USB 2.0
USB 3.x
Authentication
Pro
tect
ion
s
Tablets Notebook Docking stations-Hubs TV/Displays Set-top boxes
USB Type-C™ and USB Power Delivery Controllers
14
Offers designers the flexibility to optimize stack partitioning and BOM
Compliancy with USB Type-C 1.2 and USB PD 2.0
HW flexibility: a mix of integration and flexibility using Analog Front
End or integrated companion USB Type-C controller with STM32
SW Flexibility: Embedded SW for STM32 using discrete Analog
Front End PHY or USB Type-C controller STUSB1602
Highest integration with high voltage
controllers (STUSB1602, STUSB47)
Device Policy Manager
Policy Engine
Protocol layer
Type-C™
Interface
USB PD
RX/TX analog PHY
BMC encoder
4b5b, CRC, SoP
High Voltage
Analog
Embedded
Software
STUSB1600
Discrete Analog
Front End PHY
Or
Type-C™ Controller
STUSB1602
STM32MCUs
Full Hardware USB
PD Controller
optimized for AC
Adapters
STUSB47Embedded
Software
STUSB1602 availability
Dec’16
STUSB47
availability Dec’16
STUSB1600 availability
Nov’16
• Compliancy with USB Type-C™1.2 and USB PD 2.0
• Support for up to 2 ports (Consumer/Provider/ DRP)
• Certified embedded software solution STM32F0
Disc. AFE or
STUSB1602
CC1/CC2 CC1/CC2
GPI/Os1 port
• Provider
• Consumer
• Dual Role
STM32F051 + Discrete Analog Front End (available)
SMT32F0xx + STUSB1602 (available Dec’16)
2 Ports
• Provider
• Consumer
• Dual Role
STM32F072 (with USB 2.0 FS interface as peripheral in one port)
+ Discrete Analog Front End (available)
STM32xxxx + STUSB1602 (available Dec’16)
STM32 USB Power Delivery Controller 15
Market-proven solutions using STM32 to design Provider, Consumer, Dual Role devices
STM32 and X-CUBE-USB-PD Solution
16
X-CUBE-USB-PD
CC lines
• 2 USB Type-C™ ports supported
• Provider/Consumer/DRP
• Cable detection and orientation and role of ports
partner
• PD communication + VDM
• Power management control via standard I/Os
• Broad range of entry level 32-bit ARM Cortex-M™
to high-end MCUs
• Versatile set of peripherals (ADC, DAC, SMBUS,
I2C, USB 2.0 Data…)
• Firmware upgrade
Supported Features
X-CUBE-USB-PD: Certified Middleware Stack enabling flexibility
to various topologies and adaptability to USB specification evolution
Benefits
• X-Cube-USB is part of STM32 Ecosystem
• Application development flexibility
• Availability of MIPS and resources to implement
other applications specific tasks (such as power
management Ctrl, USB 2.0 Data interface)
• Authentication ready
• Allow business or Brand Protection with safety
use by port partner identification to release full-
features capability
USB Type-C™ authenticationSTSAFE-A
17
USB Type-C authentication empowers host systems to protect against non-compliant USB chargers
and to mitigate risks from malicious devices attempts to exploit a USB connection.
• State-of-the-art security relying on CC EAL5+ certified hardware
• USB Type-C standard compliant authentication
• ECDSA based on SHA-256 and NIST P256 curve
• Full turnkey solution with secure OS and personalization services
• Optimized for small platforms
• Easy integration using libraries compatible with standard MCUs
Features Benefits
Strong USB Type-C compliant authentication services
to distinguish authorized devices from unwanted ones
Hard Coded USB Type-C™ and USB PD Controllers
18
STUSB Family: from USB Type-C Interface to 100% HW Power Delivery Controllers
Power
Delivery
USB
Type-C
Alternate
Mode
Less than
15W
15W
to
100W
5W
to
100W
STUSB1600 STUSB1602 STUSB47
USB Type-C interface USB Type-C controller
with PD PHY and BCM driver
Power Delivery controller
Provider only
USB Type-C™ InterfaceSTUSB1600
19
• Dual Role: DFP/UFP/DRP
• Configurable start-up profiles
(embedded FTP memory)
• Integrated VCONN switch
• Adjustable current limit (600mA max)
• OVP, OCP, UVP, short protection
• Direct interface to MCU thru I²C + IRQ
• Dead battery support
• Dual power supply:
• VBUS = [4.6V - 22V] - AMR = 26V
• VSYS = [3.0 V; 5.5 V]
Features
Integration of VCONN switch and high voltage protection
• Standalone IC (MCU optional)
• Plug & Play
• Robustness against high voltage spikes
• Configurable and flexible
• Integrated solution (reduced PCB area
and cost versus discrete)
• USB Type-C Rev.1.2 compliant
Benefits
For more information, click here
Hard Coded USB Type-C™ Controller STUSB1602
20
Integration of Power Delivery PHY and BMC driver
• Dual Role: DFP/UFP/DRP
• Configurable start-up profiles (embedded
FTP memory)
• Integrated VCONN switch:
• Adjust. current limit (600mA max)
• OVP, OCP, UVP, short protection
• VCONN swap
• I²C, SPI+ IRQ MCU interface – Dual I²C
address support
• Integrated Voltage monitoring
• Integrated VBUS discharge path
• Accessory & dead battery support
• Dual power supply:
• VBUS = [4.6V - 22V] - AMR = 26V
• VSYS = [3.0 V; 5.5 V]
Features
• Interconnects with any STM32 (or similar
MCU)
• Robustness to high voltage spikes
• Configurable and flexible
• Integrated solution (reduced PCB area
and cost versus discrete)
• USB Type-C Rev. 1.2 compliant
Benefits
STM32 and STUSB1602USB Power Delivery Stack Partitioning
21
Functions STM32 STUSB1602STM32+
Analog FE
Power allocation
Supply control & supervision
Vendor Defined Message
Management of supply transition
Capability Management
Message request
Ping management
Reset
Protocol timers/counters
BIST
Message Error / GoodCRC
Message emission/reception
SOP’, SOP’’, hard reset
Preamble/CRC/EOP
4b/5b encoding
BMC encoding/decoding
Clock recovery (Rx only)
BMC line Driver
DFP to UFP resolution
Cable orientation resolution
Device connection detect
Device Policy Manager
Policy Engine
Protocol Layer
Physical Layer
USB Type-C interface
STM32 +
X- CUBE-USB-PD
USB Type-C™
Controller
STUSB1602
Hard Coded USB Power Delivery Controller STUSB47
22
Full Hardware USB PD Controller optimized for AC adapters
• Provider – DFP
• Support all USB PD profiles
• Configurable start-up profiles (embedded
FTP memory)
• Dedicated Voltage & Current control
Interface
• Integrated Voltage monitoring
• Integrated VBUS discharge path
• Auto-run support
• Nominal power supply
• VBUS = [4.6V - 22V]
• AMR = 26V
Features
• Can run without MCU support
• Robustness against high voltage spikes
• Configurable and flexible
• Integrated solution (reduced PCB area and
cost versus discrete)
• Low pin count
• Reference designs on request
Benefits
Tools
STM32 Nucleo Pack 24
• Supports two Dual Role Ports (DRP)
• Based on NUCLEO-F072 with USB Type-C PD expansion board
• Demonstration firmware example (provider / consumer)
• USB2.0 device peripheral capability on one port
• Ordering Code : P-NUCLEO-USB001 @ $49.90 (RRP)
• Note : USB Full featured USB Type-C cable (3A) included
Features
Development kit to learn about and develop with USB Type-C™
STM32 Nucleo PackOverview
25
USB Type-C PD Expansion BoardX-CUBE USB PD Stack
Compliant with USB Type-C 1.2
and USB PD 2.0 specifications
Device Policy Manager
Policy Engine
Protocol Layer
Physical Layer
USB Type-C™ Expansion Board and X-CUBE USB PD Stack
For more information, click here
NUCLEO-F072RB
Roadmap for TCPM and 3.0 compliance 26
Highest flexibility and adaptability in partitioning and TCPC / TCPM topology
General Purpose STM32G0 MCU with integrated
Power Delivery Interface
A TCPC/TCPM topology implemented in HW and
SW respectively
An autonomous PCM controller including Device
Policy Manager capability
Roadmap address the compliance with USB PD 3.0, TCPCi, security and FW upgrade over USB Type-C™
Dual Port
STM32
MCU
Solution
e.s Q1’17 e.s Q2’17e.s Q2’17
Device Policy
Manager
Policy Engine
Protocol layer
Type-C™
Interface
USB PD
RX/TX analog PHY
BMC encoder
4b5b, CRC, SoP
High Voltage
Analog
Embedded
Software
Discrete
TCPCController
STUSB68
TCPMAny
STM32
MCUs
Extended
PCMController
STUSB69
Embedded
Software
USBC-PDI
(Integrated Power
Delivery Interface)
USB Type-C™ and USB Power DeliveryAC/ DC converters
27
Wide Power MOSFETs product range with
reduced switching losses, easy driving
features and lower design complexity
High efficient and fully integrated AC-DC
controllers enabling high efficiency and low
EMI design AC-DC controllers
Power Supplies Power Hubs
ST Chipset: ultra-low standby and compact power supplies
USB Type-C™ and USB Power DeliveryProtection
28
Complete protection and filtering solutions for USB Type-C cables and connectors
SuperSpeed
Switch for
Alternate Mode
Host
USB 3.1
CTRL, AP,
etc
USB
Type-C™
receptacle
Power
Management
USB PD
Controller
(MCU or ASSP)
Pro
tect
ion
s
USB Type-C™
Interface
(PHY)
VBUS
CC lines
Rx/Tx pairs
SBUx
Dp/Dn USB 2.0
USB 3.x
Authentication
Pro
tect
ion
s
Thank You