Skip to main content
Visitor II
November 18, 2022
Solved

What documents to read to make 2 DRP 100w PD ports with stm32G071CBU3

  • November 18, 2022
  • 2 replies
  • 1315 views

I'm trying to make 2 DRP 100w ports but I can't find many related resources. Can anyone help by providing a sample code or related resources.

    This topic has been closed for replies.
    Best answer by Nicolas P.

    Hello @LWu.3​ ,

    We have no example with 2x100W DRP ports.

    But you should start step by step.

    1- build one port DRP with let's say 15W.

    And for that you have an example here on github.(STM32G071 + shield TCPP03)

    2- Add the second port.

    We have an example with two ports on the G0 Eval board, even if the example is one DRP and one Sink, the principle of adding a port is available on github too.

    You will see that there is a compilation switch : USBPD_PORT_COUNT=2

    3- raise power up to 100W.

    There this step depends on you power management. the previous example goes up to 15V@3A. It's up to your power architecture

    2 replies

    ST Employee
    November 18, 2022

    Hello @LWu.3​ ,

    We have no example with 2x100W DRP ports.

    But you should start step by step.

    1- build one port DRP with let's say 15W.

    And for that you have an example here on github.(STM32G071 + shield TCPP03)

    2- Add the second port.

    We have an example with two ports on the G0 Eval board, even if the example is one DRP and one Sink, the principle of adding a port is available on github too.

    You will see that there is a compilation switch : USBPD_PORT_COUNT=2

    3- raise power up to 100W.

    There this step depends on you power management. the previous example goes up to 15V@3A. It's up to your power architecture

    ST Employee
    November 18, 2022

    Hello,

    The shield TCPP03 is X-NUCLEO-DRP1M1 Nucleo Expansion Board where the TCPP03-M20 is used as a USB Type-C Port Protection for overvoltage and overcurrent protections. This Nucleo Expansion Board uses the X-CUBE-TCPP as Software Expansion where an example of Dual Role Power (DRP) is provided.

    You will need 2x TCPP03-M20 to protect each DRP port, up to 100W: all PDOs from USB-C Power Delivery are available.

    Please find below few learning material on single port STM32+TCPP solutions for USB-C Power Delivery, which are a good starting point before moving to two port DRP:

    Using STCommunity, you can find FAQ on TCPP products:

    https://community.st.com/s/topic/0TO3W000000hPhlWAE/tcpp