2024-09-25 11:16 PM
Hi. I am building USB PD sink device. I would like to use built in STM32 UCPD controller.
I've created test application in STM32CUBE based on AN5418. It works properly but i want to add PDO read functiinality.
All tutorials say that all info about port is stored in DPM_Ports structure in USBPD library but in my case that structure doest exist. I only have DPM_Params, DPM_Settings, DPM_ID_Settings, DPM_User_Settings and I cant find PDO info in it.
So, what is a proper way to read PDO to do right EvaluateCapabilities? Now in my app i'm select PDO by pointing PDO index.
Solved! Go to Solution.
2024-09-26 02:14 AM
Solved. Has to declare it by myself :)
2024-09-26 02:14 AM
Solved. Has to declare it by myself :)