22
Introduction The STEVAL-USBC2DP adapter is a miniaturized solution with a USB Type-C plug and a DisplayPort receptacle that implements the DisplayPort Alternate Mode of the USB Type-C and Power Delivery specifications for compatibility with the VESA ® Standard. The adapter allows you to extend the screen laptop equipped with a USB Type-C-interface onto any screen with a DisplayPort interface. This mode enables computers, tablets, smartphones, displays and docking stations with the USB Type-C connector to rout high-resolution A/V and USB data and power through a USB Type-C cable. The STEVAL-USBC2DP is based on the high performance ARM ® 32-bit Cortex ® -M0 STM32F072 MCU running the X-CUBE- USB-PD certified software that negotiates the Alternate Mode for DisplayPort with USB Power Delivery (PD) Vendor Defined Messages (VDM). An optimized discrete analog front end (AFE) and the embedded STM32 peripherals allow management of the Type-C plug lines and USB PD communication. The integrated USB 2.0 controller and the ST USB 2.0 Middleware stack running on the STM32 provide the Billboard Device Class support required by the USB Power Delivery standard, as well as the device firmware upgrade (DFU) capability. X-CUBE-USB-PD is compliant with the USB Type-C™ 1.3 and USB Power Delivery 3.0 specifications. Figure 1. STEVAL-USBC2DP evaluation board STEVAL-USBC2DP USB Type-C™ to DisplayPort™ adapter UM2355 User manual UM2355 - Rev 3 - June 2019 For further information contact your local STMicroelectronics sales office. www.st.com

STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

  • Upload
    others

  • View
    12

  • Download
    0

Embed Size (px)

Citation preview

Page 1: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

IntroductionThe STEVAL-USBC2DP adapter is a miniaturized solution with a USB Type-C plug and a DisplayPort receptacle thatimplements the DisplayPort Alternate Mode of the USB Type-C and Power Delivery specifications for compatibility with theVESA® Standard. The adapter allows you to extend the screen laptop equipped with a USB Type-C-interface onto any screenwith a DisplayPort interface. This mode enables computers, tablets, smartphones, displays and docking stations with the USBType-C connector to rout high-resolution A/V and USB data and power through a USB Type-C cable.

The STEVAL-USBC2DP is based on the high performance ARM® 32-bit Cortex®-M0 STM32F072 MCU running the X-CUBE-USB-PD certified software that negotiates the Alternate Mode for DisplayPort with USB Power Delivery (PD) Vendor DefinedMessages (VDM). An optimized discrete analog front end (AFE) and the embedded STM32 peripherals allow management ofthe Type-C plug lines and USB PD communication. The integrated USB 2.0 controller and the ST USB 2.0 Middleware stackrunning on the STM32 provide the Billboard Device Class support required by the USB Power Delivery standard, as well as thedevice firmware upgrade (DFU) capability.

X-CUBE-USB-PD is compliant with the USB Type-C™ 1.3 and USB Power Delivery 3.0 specifications.

Figure 1. STEVAL-USBC2DP evaluation board

STEVAL-USBC2DP USB Type-C™ to DisplayPort™ adapter

UM2355

User manual

UM2355 - Rev 3 - June 2019For further information contact your local STMicroelectronics sales office.

www.st.com

Page 2: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

1 STEVAL-USBC2DP system architecture

The STEVAL-USBC2DP is a full reference design that implements DisplayPort Alternate Mode over the USBType-C and Power Delivery protocol. It is a highly compact solution with a USB Type-C plug and a DisplayPortreceptacle on the same board, without any other USB Type-C cable.

Figure 2. the STEVAL-USBC2DP board functional blocks

The reference design is based on the following functional blocks:1. an STM32F072 microcontroller that runs the application firmware based on the X-CUBE-USB-PD certified

software2. a USB Type-C discrete analog front-end PHY3. an on-board power management stage based on the LDK220 to supply the dongle through VBUS or

VCONN on the Type-C plug4. an STG3684A high-speed switch that connects the DP auxiliary (AUX) signals with the SBU lanes.

UM2355STEVAL-USBC2DP system architecture

UM2355 - Rev 3 page 2/22

Page 3: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

1.1 USB Type-C to DisplayPort reference design architectureThe STEVAL-USBC2DP reference design for the USB Type-C to VESA DisplayPort adapter is a completesolution based on the following logical blocks:1. A USB Type-C reversible connector2. A DisplayPort connector3. An STM32F072 MCU running the application firmware based on the X-CUBE-USB-PD certified software,

containing the Middleware stack4. A USB Type-C discrete analog front end5. The on-board power management stage controlled by the LDK220 low dropout voltage regulator to supply

the dongle through the Type-C connector VBUS or VCONN pins6. The STG3684A low voltage 0.5 Ω max. dual SPDT switch between the DisplayPort auxiliary (AUX) and the

side-band unit (SBU) lines

Figure 3. STEVAL-USBC2DP system architecture block diagram

The adapter reference design also features:• Dual supply options through USB Type-C connector:

– VBUS– VCONN

• VBUS voltage sensing for power monitoring• USB 2.0 interface available on Type-C™ port for Billboard Device Class and Device Firmware Upgrade• A power status LED and USB Power Delivery Status LED• A RESET button• On-board SWD connector that can be connected with the ST-LINK/V2-1 debugger/programmer embedded

on STM32 Nucleo boards

1.2 STM32F072 USB Type-C to DP controllerThe STM32F072 microcontroller incorporates the high-performance ARM®Cortex®-M0 32-bit RISC core operatingat up to 48 MHz frequency, high-speed embedded memories (up to 128 Kbytes of Flash memory and 16 Kbytesof SRAM), and an extensive range of enhanced peripherals and I/Os.The microcontroller offers standard communication interfaces (two I2Cs, two SPI/I2S and four USARTs), a USBFull-speed device (crystal-less), a CAN, a 12-bit ADC, a 12-bit DAC with two channels, seven 16-bit timers, a 32-bit timer and an advanced-control PWM timer.The microcontroller can operate in the -40 to +85 °C and -40 to +105 °C temperature ranges, from a 2.0 to 3.6 Vpower supply.A comprehensive set of power-saving modes allows the design of low-power applications.

UM2355USB Type-C to DisplayPort reference design architecture

UM2355 - Rev 3 page 3/22

Page 4: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Figure 4. STM32F072 series microcontroller block diagram

In this USB Type-C to DP adapter implementation, the STM32F072 microcontroller manages the ST USB PowerDelivery FW library, which allows PD message transmission through the CC line.The microcontroller also checks the VBUS provided by the source device and identifies the device attachmentand detachment events.Additionally, the microcontroller manages the interrupt on the hot plug detection signal driven (DP_HPD) by themonitor when it is connected.

UM2355STM32F072 USB Type-C to DP controller

UM2355 - Rev 3 page 4/22

Page 5: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Figure 5. STM32F072 microcontroller schematic

VDD

2

STL6N2VH5

5.1k

ESDALC5-1BF4R7

PIN23

PA11

17

USART_TX

2PB8

TP3

DP_AUX_P

40

5001

1

2

R19

R5

75

2

PB10

1

6

R6

27

Q2

J11

D13

R4

5

GND

PA7

11

PA2

2

C5

D_VDD

0.22µF

nRESET

GND

C6

VDD

2

39

PB4

31

PA1132

CLOCK_IN

CLOCK_OUT19

VDD

IO

VDD

1

DP_AUX_N

47

VDD

1

34

23

2

USART_RX

LED BLUE

SWCLK

PB642

PB14

R9

GND

D_VDD

BOOT0

1

CC_RX

CC_TX

2

GND

15

PA616 DP_AUX_P

2

12

PB743

2

2

0.1µF

PB12

10k

1

VBUS

BootOption

ResetButton

Ext.Comm.Conn.

5001

48

R16

38

PB3

Q1

12

DP_HPD

3

SWDIOPA13_SWDIO

VSS2

24

DP_AUX_N

RXREF

28

C22

1

R14

2

2U4

2

8

TP2

35

PB9

0.0

1

6

PA14_SWCLK

PA15

10000pF

1M

1

PC14-OSC32_IN4

10k

EXT_3.3V

R1

PB15

PA313

USART_RX

CC

1VB

AT

D_VDD

1

GND

1

1PI

N1

nRESET

SWDIO

820pF

STL6N2VH5

3

1

3

7

GND

PB220

1

2

nRESET

2

46

VSS3

SBU_ENABLE

1

2

VBAT

VDD

A

100

1

PB541

PA4

2

0.0

1

D3

PB13

26

5

75

1

36VD

DIO

2

37

18

PB1

NRST

8VSSA

2

PIN34

1

6512

DP_HPD

SW1

4

4.7k

45

1

1

PF0-OSC_IN6

C7

24k

EXP_PAD

TP1

8.2k

22

8

8

4

2521

BOOT0

14

PA5

PA1233

USART_TX

GND

D_VDD

P2

PIN45PIN5

9

USB_DM

USB_DP

2

4

SWCLK

D_VDD

1

PA8

GND

R21

PC15-OSC32_OUT

5

29PA9

49

7

R8

VSS1

R22

2

BOOT044

VDD_AGND

73

PB0 1

5001

STM32F072C8U6

2PC13

169

1

PB11

PIN12

R3

1

PA010

7PF1-OSC_OUT

VDD

A

GND

1437566-3

P1

2

GND

D_VDD

GND

1.5K

2

R230

PA10

PIN

2

SWDConn.

PD_HPD

1.3 USB Type-C plug and DisplayPort receptacleAs the board is a consumer with the Dead Battery Mode feature, the host USB Type-C connector must supplypower through the VBUS or VCONN pins of the CN1 connector.

UM2355USB Type-C plug and DisplayPort receptacle

UM2355 - Rev 3 page 5/22

Page 6: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Figure 6. USB Type-C plug (CN1) schematic

DP_ML2+

A10

RX2+

2

VCONNUSB_DMUSB_DP

A8A9

VBUS2D2

C1

DP_ML2-0.1µF

C3

B12

Wurth 632712000011

RX1+

R181k

B10 A3A4

0.1µF

2

1

VConnB5

VBUS3

GND

1

CN1

1

A1

TX1+A2

VBUS

D1ESDAULC5-1BF4

B9VBUS4SBU2

B8

DP_ML1+

1

1

0.1µF

VCONN

TX2+

D-1

ESDAULC5-1BF4

CC

DP_ML1-

GND

A5

D+1A6

GND

2

GND4

2 1

GND

B2

GND3

TX1-

B11

RX1-

1

SBU2

A7

SBU1

0.1uF

2

DP_ML3+

C2

GND

B4

TX2-B3

RX2- A11

GND2A12

DP_ML0+

C4

VBUSVBUS1

CC

B1

GND1

VBUS

2

VBUS

DP_ML0-

DP_ML3-

SBU1

2

The other CN1 pins for the high speed data paths (TX1+, TX1-; RX1+, RX1-; TX2+, TX2-; RX2+, RX2-) aredirectly connected to corresponding DisplayPort main link channels (ML0+, ML0-; ML1+, ML1-; ML2+, ML2-;ML3+, ML3) on the DisplayPort CN2 connector.

Figure 7. DisplayPort receptacle (CN2) schematic2

DP_AUX_N

DP_AUX_P

20

GND

DP_ML3-

DP_ML0+

2

DP_ML0-

2

13CONFIG1

R111M

R131M

ESDALC5-1BF4

GND

R10

GND

4.7M

1

ML2+ 5GND3 4ML2-

ESDALC5-1BF4

ML0+

0472720001

AUX_CH_PGND5

16

2

DP_HPD

DP_ML3+

D4

ML1+ 8

19DP_PWR_RET

HPD18

2DP_PWR

2

1

14CONFIG2

GND111

15

CFG1

GND

1M

3ML3+

1

DP_ML1+

1

CFG2

17AUX_CH_N

ML1- 6

2

DP_ML1-

R15

2

GND2 7

109

2

1

D6

R12ESDALC5-1BF4

D5

DP_ML2+

CN2

DP_ML2-

GND4 1ML3-

112

ML0-

1

1470k

The DisplayPort Auxiliary signals (DP_AUX_P and DP_AUX_N) are connected to SideBand Use pins SBU1 andSBU2 through the STG3684A high-speed switch driven by the STM32F072.

UM2355USB Type-C plug and DisplayPort receptacle

UM2355 - Rev 3 page 6/22

Page 7: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Figure 8. High Speed Switch for AUX/SBU management

10

2

Vcc

3D8

8G

ND

100K

GND

D25

GND GND

2S17

1

STG3684AUTR

21S1

GND

1ESDALC5-1BF4

D1

2

ESDALC5-1BF4

D_VDD

GND

R17

C8

1

D72IN

4SBU_ENABLE

U2

1S21

62S2

2

DP_AUX_P SBU1

SBU2

1

2

91IN

0.22µF

DP_AUX_N

The USB Type-C to DP controller (STM32F072 microcontroller) receives hot plug detection signal (DP_HPD) fromthe display through the CN2 connector.

1.4 Local power management stage and LEDsAs the adapter shall have the sink role and start up under Dead Battery Mode, the local power management stagesupplies the board through an LDK220 voltage regulator from the VBUS or VCONN voltage supply lines on thehost USB receptacle.The LDK220 low quiescent current and low noise LDO supplies a maximum 200 mA output from a 2.5 V to 13.2 Vinput range, with a typical drop-out voltage of 100 mV.The STEVAL-USBC2DP platform includes the following status LEDs:1. green LED D12 to signal that the platform is powered.2. blue LED D13 (connected to the STM32F072 PA7 pin) to signal the status of the Alternative Mode operation.

Figure 9. schematic view of the local power management stage

C15

C18

1

GND

C10

GND

IN1

LDK220M33R

VDD1

D10

STPS0520Z

VDD_A

VBUS

EN3

2

3.3V

751

2G

ND

C192C20

1

ESDA7P60-1U1M

2

C1610000pF

R20

C21

GND

2

30Ohm@100MHz

1

GND

VDDIO

C11

1

3

GRPB031VWVN-RC

10000pF

2

1

VDDA

EXT_3.3V

4.7uF

2

1

3.3V

D9

0.1uF1uF

2

1

0.1uFLED YELLOW-GREEN 1

C12

D12

LEDPower-On

C9

GND

2

D_VDD

GND

C17

VCONN

1uF

1

1

D11

2

STPS05220Z

2

30Ohm@100MHz

GND

OUT5

3.3V

1

1 0.1uF

2

C14

NC

4

1

J2

1

VDD2

VBAT

2

GND

2

10000pF

1

1

VDD_A

U3

0.1uF0.47uF

2

L2

2

4.7uF

1

0.1uF2

1

D_VDD

2

GND

L1

C13

21

D_VDD

2

D_VDD D_VDD

Jumper J2 should remain on pins 2-3 for normal operation with VBUS or VCONN supplied through the host USBType-C connector. J2 can alternatively be closed on pins 1-2 to supply the platform through the STLINK SWDconnector during debugging.

UM2355Local power management stage and LEDs

UM2355 - Rev 3 page 7/22

Page 8: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

1.5 Reset button, connectors and jumper settings

Figure 10. Reset button, connector and jumper schematics

1

C5

1

ResetButton

10000pF

10kR1

nRESET

2

SW1

D_VDD

GND

1437566-3

2DP_AUX_P

J11

5

GND

DP_AUX_N2

Ext.Comm.Conn.

6 USART_RX3DP_HPD 4

8USART_TX

7

D_VDD

2

R4

GND

10k

1

BootOption

2 D_VDD

1PI

N1

2

100

1BOOT0R3

P1

PIN

2

PIN23

1

nRESET

SWCLKEXT_3.3V

SWDIO PIN34

P2

PIN45PIN5

PIN12

GND

SWDConn.

Connector J1 allows you to monitor DisplayPort Connector CN2 hot plug detection (DP_HPD) signals andAuxiliary (DP_AUX_P and DP_AUX_N) signals, and includes a USART serial communication interface.P2 allows you to program the microcontroller through an SWD connector (strip-line, not mounted) instead of DFU,and provides access to all the microcontroller debugging features.

Note: To facilitate programming, install a five-position header 0.100" (2.54 mm) through-hole connector on P2. Then,connect the P2 SWD pins (2, 3 and 4) to the equivalent ones of the ST-LINK CN4 connector of an STM32Nucleo-64 board, and connect P2 pin 1 to ST-LINK JP1 pin 1. Remove both jumpers on the ST-LINK CN2connector to allow correct SWD operation (refer to UM1724 on www.st.com for more information).P1 sets the microcontroller in DFU mode when it is closed with a jumper, so you can update application firmware.

UM2355Reset button, connectors and jumper settings

UM2355 - Rev 3 page 8/22

Page 9: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

1.6 STSW-USBC2DP software package

1.6.1 DescriptionThe STSW-USBC2DP software package is designed to support the STEVAL-USBC2DP USB Type-C toDisplayPort adapter evaluation board.It contains the application firmware and allows the STEVAL-USBC2DP evaluation board to adopt DisplayPortAlternate Mode operation according to the USB Type-C and Power Delivery specifications.The application firmware is based on the X-CUBE-USB-PD certified software with Structured VDM messages tonegotiate Alternate Mode protocol requirements.The firmware runs on the STM32F072 high performance ARM® 32-bit Cortex®-M0 MCU embedded in theSTEVAL-USBC2DP. It supports Billboard Device Class as per the USB Power Delivery standard and can beupdated through the device firmware upgrade functionality of the STM32 microcontroller.For further information on the STSW-USBC2DP software package, refer to UM2378 on www.st.com.

UM2355

UM2355 - Rev 3 page 9/22

Page 10: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

2 System setup

The STEVAL-USBC2DP dongle is a compact turn-key solution that demonstrates the versatility and convenienceof the USB Type-C port for DisplayPort Alternate Mode.The plug and play feature of the USB Type-C and Power Delivery specifications allows the adapter to operateimmediately.

2.1 STEVAL-USBC2DP operationTo test the full functionality of the STEVAL-USBC2DP Type-C to DisplayPort adapter, your computer must supportDisplayPort Alternate Mode on the USB Type-C port where the dongle is connected.Connect the STEVAL-USBC2DP USB Type-C plug directly to your computer USB Type-C port.Connect the STEVAL-USBC2DP DisplayPort receptacle to the external monitor with a standard DisplayPort-to-DisplayPort cable.Once attached, the dongle resolves the explicit negotiation with the computer port and immediately extends thecomputer screen to the secondary monitor.

Figure 11. STEVAL-USBC2DP connected to type-C port and to DP2DP cable

UM2355System setup

UM2355 - Rev 3 page 10/22

Page 11: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Specific blinking sequences on the blue LED D13 indicate the different stages in the DisplayPort Alternate Modeprocedure:1. If the dongle is attached to a USB Type-C ONLY port (without Power Delivery negotiation capability), the

LED remains OFF.2. When the dongle is connected to a USB Type-C port that does not support Alternate Mode, the LED slowly

blinks after explicit PD negotiation is achieved.3. When the dongle is connected to a port that supports DP Alternate Mode, but the DP cable is not attached to

connector CN2, the LED blinks quickly blinks after explicit PD negotiation is achieved and DP AlternateMode is confirmed with Discover Mode ACK.

4. When the dongle is connected to a port supporting DP Alternate Mode and the DP cable is attachedbetween connector CN2 and the display, the LED turns ON after DP Alternate Mode is achieved and thecomputer screen is extended to the secondary display.

2.2 Analysis of DisplayPort Alternate Mode operation flowsThe trace view below shows the sequence of the message exchange between the computer and the STEVAL-USBC2DP dongle when it is first attached by DP-to-DP cable to the display, and then attached to the USB Type-Cport on the computer.

Note: See technical article TA0356 at STEVAL-USBC2DP for details regarding operation flows.

UM2355Analysis of DisplayPort Alternate Mode operation flows

UM2355 - Rev 3 page 11/22

Page 12: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Figure 12. Trace view of DisplayPort Alternate Mode operation with Mercury T2C

UM2355Analysis of DisplayPort Alternate Mode operation flows

UM2355 - Rev 3 page 12/22

Page 13: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

3 Bill of materials

Table 1. Bill of materials

Item Q.ty Ref. Part/Value Description Manufacturer Order code

1 6 C1, C2, C3, C4,C10, C22

CAP CER 0.1µF25V ±20%, X5R0402

Ceramiccapacitance

WurthElectronics Inc. 885012105018

2 4 C5, C16, C20,C21

CAP CER10000pF 10V±10%, X7R0402

Ceramiccapacitance

WurthElectronics Inc. 885012205012

3 1 C6CAP CER820pF 50V±5%, X7R 0402

Ceramiccapacitance ANY

4 2 C7, C8CAP CER0.22µF 10V20%, X5R 0402

Ceramiccapacitance

WurthElectronics Inc. 885012105011

5 2 C9, C17CAP CER 1µF25V ±10%, X5R0402

Ceramiccapacitance ANY

6 1 C11

CAP CER0.47µF 10V±10%, X5R0402

Ceramiccapacitance ANY

7 2 C12, C14CAP CER 4.7µF10V ±20%, X5R0402

Ceramiccapacitance ANY

8 4 C13, C15, C18,C19

CAP CER 0.1µF10V 20%,, X5R0402

Ceramiccapacitance

WurthElectronics Inc. 885012105010

9 1 CN1 USB TYPE CPLUG SMT

USB 3.1 TYPEC PLUG SMT

WurthElectronics Inc. 632712000011

10 1 CN2

DisplayPortCONN RCPT20POS UDI R/ASMD

DisplayPortconnector Molex, LLC 0472720001

11 2 D1, D2 ESDAULC5-1BF4

TVS DIODE3VWM 13.5VC0201

STMicroelectronics

ESDAULC5-1BF4

12 6 D3, D4, D5, D6,D7, D8 ESDALC5-1BF4

TVS DIODESGL BIDIRECT0201 PKG

STMicroelectronics ESDALC5-1BF4

13 1 D9 ESDA7P60-1U1M

TVS DIODE5VWM 11.6VCL1610

STMicroelectronics

ESDA7P60-1U1M

14 2 D10, D11 STPS0520Z

DIODESCHOTTKY20V 500MASOD123

STMicroelectronics STPS0520Z

UM2355Bill of materials

UM2355 - Rev 3 page 13/22

Page 14: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Item Q.ty Ref. Part/Value Description Manufacturer Order code

15 1 D12 LED, YELLOW-GREEN

LED, Rectanglewith Flat Top,1.00mm x0.50mm,YELLOW-GREEN, 20mA,--, --, 0402(1005 Metric)

ANY

16 1 D13 LED, BLUE

LED, Rectanglewith Flat Top,1.00mm x0.50mm, BLUE,5mA, --, --, 0402(1005 Metric)

ANY

17 1 J1

CONNHEADER 8POSUNSHD VERTT/H

Not mounted

18 1 J2 CONNHEADER

CONNHEADER .050"3POS PCBGOLD

ANY

19 2 L1, L2FERRITE BEAD30Ohm@100MHz 0805 1LN

FERRITE BEAD30 OHM 08051LN

WurthElectronics Inc. 74279206

20 1 P1 CONNHEADER

CONNHEADER .050"2POS PCBGOLD

ANY

21 1 P2CONN, Header,Breakaway, 5,Through Hole

Not mounted

22 2 Q1, Q2 STL6N2VH5MOSFET N-CH20V 6A6PWRFLAT

STMicroelectronics STL6N2VH5

23 2 R1, R3RES, 10k1/16W ±1%,SMD, 0402

Resistance ANY

24 4 R2, R11, R13,R15

RES, 1M 1/16W±1%, SMD,0402

Resistance ANY

25 1 R4RES, 1001/16W ±1%,SMD, 0402

Resistance ANY

26 3 R5, R19, R20RES, 75 1/16W±1%, SMD,0402

Resistance ANY

27 1 R6RES, 5.1k1/16W ±1%,SMD, 0402

Resistance ANY

28 1 R7RES, 169 25V1/16W ±1%,SMD, 0402

Resistance ANY

29 1 R8RES, 24k1/16W ±1%,SMD, 0402

Resistance ANY

UM2355Bill of materials

UM2355 - Rev 3 page 14/22

Page 15: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Item Q.ty Ref. Part/Value Description Manufacturer Order code

30 1 R9RES, 4.7k1/16W ±1%,SMD, 0402

Resistance ANY

31 1 R10RES, 470k1/16W ±1%,SMD, 0402

Resistance ANY

32 1 R12RES, 4.7M1/16W ±1%,SMD, 0402

Resistance ANY

33 2 R14, R16RES, 0 1/16W±0.1%, SMD,0402

Resistance ANY

34 1 R17RES, 100K1/16W ±1%,SMD, 0402

Resistance ANY

35 1 R18RES, 1k 1/16W±0.1%, SMD,0402

Resistance ANY

36 1 R21RES, 8.2k1/16W ±5%,SMD, 0402

Resistance ANY

37 1 R22RES, 1.5K1/16W ±5%,SMD, 0402

Resistance ANY

38 1 SW1SWITCHTACTILE SPST-NO 0.05A 24V

SWITCHTACTILE SPST-NO 0.05A 24V

TE ConnectivityALCOSWITCHSwitches

1437566-3

39 3 TP1, TP2, TP3TEST POINTPC MINI .040"DBLACK

Not mounted

40 1 U2 STG3684AUTRIC SWITCHDUAL SPDT10QFN

STMicroelectronics STG3684AUTR

41 1 U3 LDK220M33RIC REG LDO3.3V 0.2ASOT23-5

STMicroelectronics LDK220M33R

42 1 U4 STM32F072C8U6

IC MCU 32BIT64KB FLASH48UFQFPN

STMicroelectronics

STM32F072C8U6

43 2 JUMPERS

2 (1 x 2)Position ShuntConnectorClosed Top0.050"(1.27mm) Gold

UM2355Bill of materials

UM2355 - Rev 3 page 15/22

Page 16: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Revision history

Table 2. Document revision history

Date Revision Changes

10-Feb-2018 1 Initial release.

07-Mar-2018 2 Updated Section 1.5 Reset button,connectors and jumper settings..

04-Jun-2019 3

Updated Introduction,Section 1 STEVAL-USBC2DP systemarchitecture andSection 1.6.1 Description.

UM2355

UM2355 - Rev 3 page 16/22

Page 17: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Contents

1 STEVAL-USBC2DP system architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2

1.1 USB Type-C to DisplayPort reference design architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

1.2 STM32F072 USB Type-C to DP controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.3 USB Type-C plug and DisplayPort receptacle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1.4 Local power management stage and LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

1.5 Reset button, connectors and jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

1.6 STSW-USBC2DP software package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

1.6.1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

2 System setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10

2.1 STEVAL-USBC2DP operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

2.2 Analysis of DisplayPort Alternate Mode operation flows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

3 Bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .13

Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .16

UM2355Contents

UM2355 - Rev 3 page 17/22

Page 18: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

List of figuresFigure 1. STEVAL-USBC2DP evaluation board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Figure 2. the STEVAL-USBC2DP board functional blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2Figure 3. STEVAL-USBC2DP system architecture block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Figure 4. STM32F072 series microcontroller block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Figure 5. STM32F072 microcontroller schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Figure 6. USB Type-C plug (CN1) schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Figure 7. DisplayPort receptacle (CN2) schematic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Figure 8. High Speed Switch for AUX/SBU management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Figure 9. schematic view of the local power management stage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Figure 10. Reset button, connector and jumper schematics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Figure 11. STEVAL-USBC2DP connected to type-C port and to DP2DP cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Figure 12. Trace view of DisplayPort Alternate Mode operation with Mercury T2C . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

UM2355List of figures

UM2355 - Rev 3 page 18/22

Page 19: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

List of tablesTable 1. Bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Table 2. Document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

UM2355List of tables

UM2355 - Rev 3 page 19/22

Page 20: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

Glossary DisplayPort Alternate Mode the MUX system which repurposes USB Type-C RX/TXand SBU lines for compatability with DisplayPort signalrequirements

pulse width modulation A technique used to encode a message into a pulsingsignal

reference design fully tested and functional solutions with accompanyingdocumentation, intended for direct duplication or furthermodification

SuperSpeed USB the SSRX and SSTX USB connector pins reserved forelevated data exchange rates (5 Gbps for USB 3.0)

USB Power Delivery the logic and technology through which devicesconnected via USB negotiate their respective powerroles (source or sink) and corresponding power level

vendor-defined message standard data packets sent and received along USBconfiguration channel lines to negotiate Power Deliveryand Alt Mode agreements between the device and thehost

VESA A technical standards organization for computerdisplay standards.

UM2355Glossary

UM2355 - Rev 3 page 20/22

Page 21: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

IndexAanalog front endPHY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1ARM Cortex-M0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3

BBillboard Device Class. . . . . . . . . . . . . . . . . . . . . . . . .1

Cconnector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8CN1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5,7CN2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5,7,8,10P1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8P2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

DDead Battery Mode. . . . . . . . . . . . . . . . . . . . . . . . . . . 8demo. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10discrete analog front-endPHY. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2DisplayPortadapter. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1Alternate Mode. . . . . . . . . . . . . . . . . . . . . . . . . . .1,2,10AUX. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1,2,5,7,8cable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10,11Hot plug detection. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1HPD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3,5,7,8interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1receptacle. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2,7,8,10

FFirmwaredebug. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8DFU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

JjumperJ2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7JumperJ1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8

LLEDD12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7,8D13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7,8,10

MMercury T2C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

microcontroller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2ADC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3CAN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3DAC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3Flash. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3HDMI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3I2C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3I2S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3PWM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3SRAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3USART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3USB. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

UUSART. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8USB Type-C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81.3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1CC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1,2,7Dead Battery Mode. . . . . . . . . . . . . . . . . . . . . . . . . . 5,7port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10,11Power Delivery. . . . . . . . . . . . . . . . . . . . . . . . . . .2,3,102.0. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1SBU. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2,5SuperSpeed. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1VBUS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2,3,5VCONN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2,5

Vvendor defined messages. . . . . . . . . . . . . . . . . . . . . . 1Discover. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10voltagedrop-out. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7maximum. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7Voltagedrop-out. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Input. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8maximum. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .8

UM2355Index

UM2355 - Rev 3 page 21/22

Index

Page 22: STEVAL-USBC2DP USB Type-C to DisplayPort adapter - User manual · Introduction The STEVAL-USBC2DP ... receptacle on the same board, without any other USB Type-C cable. Figure 2. the

IMPORTANT NOTICE – PLEASE READ CAREFULLY

STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to STproducts and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. STproducts are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.

Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design ofPurchasers’ products.

No license, express or implied, to any intellectual property right is granted by ST herein.

Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.

ST and the ST logo are trademarks of ST. For additional information about ST trademarks, please refer to www.st.com/trademarks. All other product or servicenames are the property of their respective owners.

Information in this document supersedes and replaces information previously supplied in any prior versions of this document.

© 2019 STMicroelectronics – All rights reserved

UM2355

UM2355 - Rev 3 page 22/22