cancel
Showing results for 
Search instead for 
Did you mean: 

How to use STM32G071 DISCOVERY board as PD sink with STM32Cube MX?

ZBoHu
Associate

I have got an example about USBPD_Analyzer from ST web, but I want to use it only as sink mode. How can I build my own project? Are their ang another scours can be use? such as STM32G0 PD User Guide, example project by CubeMX . Waiting online . Thanks !!

1 REPLY 1
Nicolas P.
ST Employee

Hello.

It is not possible to generate a sink example starting from CubeMX, because CubeMX doesn't manage the G0 Disco BSP.

And for the G0 Disco specific hardware, we need to manage some MOS that cannot be adressed by CubeMX.

You have the right approch : start from the STM32G071B-DISCO\Demonstrations\USBPD_Analyzer\