2019-07-20 06:53 AM
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 !!
2019-07-31 03:07 AM
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\