cancel
Showing results for 
Search instead for 
Did you mean: 

Powering STM through USB-C port

SKCL-1
Associate

Hi,

I want to power a STM32Ux based board using USB-C port. I am required to use two numbers of  a Type-A to USB-C type of cable and also it should support USB-C to USB-C type of cable in OR ring. Max load current of the board is less 1.5A. I am looking for some reference schematic after the USB-C port for power switch, Limiting in-rush current and reverse current protection. Pl share if any reference schematic avalible.

3 REPLIES 3
jiangfan
ST Employee

You may have a look at STLINK-V3EC schematics - refer to STM32 board with STLINK-V3EC on it.

STMPS2151STR or TPS259535 is the power switch, Limiting in-rush current.

Thanks, Let me repharase the question properly. There are 2-USB type-C ports which supports (USB 3.0 to USB-PD cables). Max load is 5V @1.5A. Along with the reverse protection devices for limiting the in-rush current, Do I need some USB controller IC after the USB-type-C port for the CC-pins. One of the USB port will be used for Communication purpose and power will be taken from both the USB ports and ORING will be done. Any reference design for Dual port type-C in UFP mode-sinking current. along with protection ckts will be helpful. The USB signals will then be interfaced to STM controller. 

MROUV.1
ST Employee

Hi,

 

Thanks for sharing your case.

 

You are looking for basic Type-C SINK with 1.5A max without Power Delivery (STM32U0 series).

 

MROUV1_0-1729180035001.png

 

Legacy current on USB-C VBUS is 5V 0.5A when VBUS turns-on.

The system must be able to start below this current threshold.

 

Once started, system senses SOURCE capability (0.5A or 1.5A or 3.0A).

It is done thanks to voltage on active CC line (>0.66V on 5.1kΩ)

MROUV1_1-1729180035003.png

 

Inrush current is managed by MOSFET turn-ON time and maximum capacitor on VBUS line 10µF.

 

Example is available on X-NUCLEO-SNK1M1.

Jumpers CC1_J1 and CC2_J2 must be on CCx_no_UCPD positions.

Example software is available in X-CUBE-TCPP only for STM32L412 :

x-cube-tcpp_v3.3.0\Projects\NUCLEO-L412RB-P\Applications\USB_PD\SNK1M1_Sink_TypeC_Only

Outputs is LED blinking :

  • 1 time : 0.5A
  • 2 times : 1.5A
  • 3 times : 3.0A

To be adapted to your solution.

 

Best regards,
Mathieu