2024-08-20 02:38 AM
Dear all,
I'm working on an custom hardware project using the STM32G0B1 MCU running ThreadX. My goal is to use/port the USBPD stack for both source as sink device, but I'm failing to do so partly because the stack provided is closed source.
The CubeMX skeleton code generated for my project does not offer a working solution and all example code nor documentation available is not targeting ThreadX.
Also I'm somewhat confused about which PD stack to use since X-CUBE-USB-PD is no longer recommended? Then what would be the alternative stack to use?
Does anyone have practical experience, can provide meaningful documentation or example code porting USBPD to ThreadX? I would be forever thankful.
Thanks and looking forward to your replies.
With regards,
Peter
Solved! Go to Solution.
2024-12-06 10:01 AM - edited 2024-12-06 10:02 AM
Hello @Softronic Solutions,
This issue was fixed in the STM32CubeMX V6.13.0 by adding the Stack Port 0 Parameters and the User Port 0 Parameters panels to the Configuration field in the UI.
Thank you for your contribution and for having reported the point.