cancel
Showing results for 
Search instead for 
Did you mean: 

USBPD for B-U585I-IOT02A

ElectroManiac
Associate III

Hello forum,

Im trying to create a code for reading from and writing to a USB flash drive using the USB-C connector,
While activating the USBPD, USBX, TCPP, and FileX, the code generated missing some defines and variables like "DPM_Ports", "PWR_Port_PDO_Storage" and USBPD Defines,

they don't appear anywhere in the generated files and I couldn't find an example with them to understand what I did wrong, Has anyone encountered this behavior?

2 REPLIES 2
HFISTM
ST Employee

Hello @ElectroManiac 

 

Did you follow the step by step wiki ? wiki_link 

You will need to add USBX after it. The wiki is done for freertos as example but you can use ThreadX without issues.

You can find the a similar application for the H5 platform here. You can do the same with your board, configuring CubeMX the same way and using the same user code.

 

Best regards

I've made the post after trying the wiki,

I'm not using ThreadX because I want to run everything locally, Is that what causing the issue?