2024-01-08 06:00 PM
Hi,
We had an existing product using STM32G070RB powered by the USB Type-C and would like to detect the input source can provide the proper power delivery (15W, 5V, 3A).
I looked at the STM32 solutions for USB Type-C and Power Delivery document and noticed STM32G0x1 supports the build-in UCPD controller, but not STM32G0x0 series, is it correct?
If yes, then is there any example or suggestion to use STM32G0x0 series to detect PD source?
Thanks.
James Shih
Solved! Go to Solution.
2024-01-08 06:42 PM
The STM32G0x0 series does not include a USB Type-C Power Delivery controller.
Consider adding a separate IC if you need that functionality, or switching to an STM32 chip that includes it such as the STM32G0x1 series.
https://www.st.com/en/interfaces-and-transceivers/usb-type-c-and-power-delivery-controllers.html
2024-01-08 06:42 PM
The STM32G0x0 series does not include a USB Type-C Power Delivery controller.
Consider adding a separate IC if you need that functionality, or switching to an STM32 chip that includes it such as the STM32G0x1 series.
https://www.st.com/en/interfaces-and-transceivers/usb-type-c-and-power-delivery-controllers.html
2024-01-12 02:58 AM
Hello @SJame
You can have a look at this application example done on a NUCLEO-L4.
The idea is to sense the Rp resistors on the CC lines with an ADC.
Regards,
Nicolas
2024-01-12 11:03 AM
Hi Nicolas,
Thank for your update.
My current implementation is used the same way as the example you pointed to me, purely using ADC reads the voltage on CC1 and CC2 to determine the power source.
In my project, I need to detect the 15W power source (5V/3A), this logic works for most of the cases, but we noticed in few of the 15W power adapters which has the lower voltage in CC1/2 (lower than my threshold), so I'm investigating for another solution by VCONN.
So, the question I have here is that, is there any example to read and extract BMC on CC1/CC2?
B.R.
James Shih
2024-01-15 06:23 AM
Hello James
No other example are planned. All the CC line decoding is planned to be done by STM32 that have UCPD peripheral.
Regards,
Nicolas
2024-01-15 02:48 PM
Hi Nicolas,
Thanks for your update and we will plan for what we could do for our next generation.
B.R.
James Shih