cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Lmatt.11
Associate III

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.

:)

1 ACCEPTED SOLUTION

Accepted Solutions
Nicolas P.
ST Employee

@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

View solution in original post

7 REPLIES 7
TDK
Guru

thanks a lot:)

Nicolas P.
ST Employee

@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

Thanks:)

Nicolas P.
ST Employee

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

yes, you can close it.

Thanks,

Mohamed S.
ST Employee

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