Skip to main content
Lmatt.11
Associate III
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.

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.
Nicolas P.
Nicolas P.Best answer
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

7 replies

TDK
January 10, 2022
Lmatt.11
Lmatt.11Author
Associate III
January 11, 2022

thanks a lot:)

Nicolas P.
Nicolas P.Best answer
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.11
Lmatt.11Author
Associate III
January 14, 2022

Thanks:)

Nicolas P.
ST Employee
January 17, 2022

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

Lmatt.11
Lmatt.11Author
Associate III
January 17, 2022

yes, you can close it.

Thanks,

Mohamed S.
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).