cancel
Showing results for 
Search instead for 
Did you mean: 

USBPD with STM32G0B1 doesn´t work

AWack
Associate III

Hi,

 

I´m trying to get a STM32G0B1 running with USBPD and a higher PDO voltage (20V). Therefore I followed the instructions in chapter 9 of STM32StepByStep:Getting started with USB-Power Delivery Sink - stm32mcu

Unfortunately the user_services don´t compile. Instead I get errors e.g. about unknown typedef, e.g. 

USBPD_PDO_Typedef has no member SRCSNKAPDO.

 

Btw. Is it possible to get a certain PDO (in this case 20V) just be configuring the PDO in the ioc file?

Best regards,

Achim

1 REPLY 1
AWack
Associate III

Hi,

I solved the problem with compiling. Now everything compiles. But I still don´t know how to get the highest voltage or select a certain PDO.

Best regards,

Achim