Skip to main content
Graduate
January 9, 2024
Solved

USB Type-C and Power Delivery on STM32G070RB

  • January 9, 2024
  • 2 replies
  • 1888 views

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

    This topic has been closed for replies.
    Best answer by TDK

    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

     

    2 replies

    TDKAnswer
    Super User
    January 9, 2024

    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

     

    ST Employee
    January 12, 2024

    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

    Graduate
    January 12, 2024

    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 

    ST Employee
    January 15, 2024

    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