2022-11-17 07:55 PM
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.
Solved! Go to Solution.
2022-11-18 12:21 AM
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
2022-11-18 12:21 AM
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
2022-11-18 02:28 AM
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: