Skip to main content
Lmatt.11
Associate III
Jan 10, 2022 1:54 AM UTC
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
Jan 12, 2022 1:59 PM UTC

@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
Jan 10, 2022 2:36 PM UTC
Lmatt.11
Lmatt.11Author
Associate III
Jan 11, 2022 12:26 AM UTC

thanks a lot:)

Nicolas P.
Nicolas P.Best answer
ST Employee
Jan 12, 2022 1:59 PM UTC

@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
Jan 14, 2022 8:17 AM UTC

Thanks:)

Nicolas P.
ST Employee
Jan 17, 2022 10:36 AM UTC

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

Lmatt.11
Lmatt.11Author
Associate III
Jan 17, 2022 1:12 PM UTC

yes, you can close it.

Thanks,

Mohamed S.
ST Employee
Jan 28, 2022 10:28 AM UTC

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