Skip to main content
Visitor II
January 10, 2022
Solved

Are there a guideline or UM for programming with the USB PD library? I want to use the x-NUCLEO-USBPDM1 + STM32G071EVM board. I want a extended sink function.

  • January 10, 2022
  • 4 replies
  • 2306 views

I have already ran the demonstration firmware from ST website and debugged with cube USB PD Monitor tool. realized an extended power output, higher voltage(>5V) & current(>3A).

But how to change the code and implement in my software, which function and which part need to be changed? How to change?

Are there a programming RM or UM for users? which document can be referred to.

Can somebody give some guides?

Thank you very much.

:)

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

    @Lmatt.1​ You can also have a look at : the ST USBPD wiki

    There is also a special chapter to play with the power parameters in the software : link to advanced wiki.

    Nicolas

    4 replies

    Lmatt.11Author
    Visitor II
    January 11, 2022

    thanks a lot:)

    ST Employee
    January 12, 2022

    @Lmatt.1​ You can also have a look at : the ST USBPD wiki

    There is also a special chapter to play with the power parameters in the software : link to advanced wiki.

    Nicolas

    Lmatt.11Author
    Visitor II
    January 14, 2022

    Thanks:)

    ST Employee
    January 17, 2022

    Hello @Lmatt.1​ is your question answered ? Can we close this thread ?

    Lmatt.11Author
    Visitor II
    January 17, 2022

    yes, you can close it.

    Thanks,

    ST Employee
    January 28, 2022

    Have you had a look into X-CUBE-TCPP to request voltage from USB-PD SOURCE?

    This example code will facilitate the Power Delivery PDO negotiation between the sink and the source. You can request any PDO up to 100W using X-NUCLEO-USBPDM1 or the  X-NUCLEO-SNK1M1 (same as previous with additional support for 5V/3A with any Nucleo-64 board).