cancel
Showing results for 
Search instead for 
Did you mean: 

How do I open the UCPD SNK1M1 Sink project from Github in the STM32CubeIDE?

TNeum.2
Associate

Initially I followed the tutorial at

https://wiki.st.com/stm32mcu/wiki/STM32StepByStep:Getting_started_with_USB-Power_Delivery_Sink#-5BOPTIONAL-5D_Advanced_USB-PD_application

but couldn't get that to work. It shows negotiations in the STM UCPD software and negotiates a fixed contract but the voltage isn't correct to so I thought I would have a look at the ready-made example projects on Github but the projects at

https://github.com/STMicroelectronics/x-cube-tcpp/tree/main/Projects/NUCLEO-G071RB/Applications/USB_PD

do not build since the majority of files are missing.

Has anyone gotten any of the example projects working?

I am using an STM32G071RBT6 Nucleo with a X-Nucleo-SNK1M1 shield and I'd like to find a way to get a PPS Sink application working on this setup (and later on a STM32G071CBT6 on a custom board)

1 REPLY 1
HFISTM
ST Employee

Hello @TNeum.2​ ,

In order for us to understand your issues and provide support, we need more information.

Could you please provide the trace (following the tracer section in wiki) of the contract negotiation ?

What do you mean by "voltage is not correct" ?

What do you mean by "the majority of files are missing" ? The projects on GitHub are regularly tested and works. I can confirm no files are missing. Could you provide a compilation log ? Did you take the full package on GitHub, not just the "project" folder ?

Best regards