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 ...
Hello @tenxermohan,
If you want a specific example with this board I'll sugest you to have a look at the code example that was provided with it: STSW-2STPD01
But please be aware that it may not be as up to date as the wiki you linked, as PowerDeliver...
Hello @tenxermohan,
Thank you for you explanation, it seems clearer to me.
On thing you could do is to create a function that will be called when the freetex is received, to control the click-board sink depending on the freetext value:
USBPD_StatusTy...
Hello @tenxermohan
I'm not sure to fully understand your need.
The freetext section if for you to customize any action in your firmware and trigger it by sending a "free text" in cubemonitor UCPD.
If you want to have a mechanism to select the right...
Glad to hear that !Yes that is right. The HAL tick that is used by the HAL_Delay function an other timeout utilities is based on a 1 ms tick that is incremented by HAL_IncTick. The USBPD MW and the GUI utility also needs their time tracking variable ...