2025-09-06 9:37 AM
Hi Everyone,
I’m working with an STM32U575 and facing an issue when trying to use USB-PD (X-CUBE-TCPP) together with TouchGFX.
In CubeMX, it does not allow enabling both X-CUBE-TCPP (USB-PD) and TouchGFX Generator at the same time. It shows a restriction that only one application can be selected.
We are trying to implement USPD along with touchGFX on STM32U5757. We have implemented induvial and tested both are working well. But when we trying to merge them, then both are not running . We have seen in cubeMX that is not allow us to select both at same time, it says you can't use both at same time. Then we read the st community and found we can merge them manually . We tried to merge but after initialization of one other one hangs. Can you clear that is it possible to use both at same time in U575 MCU?
Note- we are using free RTOS
Thanks & Regards,
Rajkumar
2025-09-08 6:26 AM
Hello Rajkumar24
As a reference you can have a look at STM32H7S78-DK running a TouchGFX application with USB DRD and USB DRP, with FreeRTOs.
The project is available full source under Tools & Software --> Demo resources. Link here: https://www.st.com/en/microcontrollers-microprocessors/stm32h7r7-7s7.html#
Best
Regards
Soren
2025-09-08 10:43 PM
Hi Soren Myllerup MIKKELSENST,
Thank you for sharing the demo.
The IOC file was not included in the demo link.
For our project, we need to combine TouchGFX and X-CUBE-TCPP (USB-PD) in a dual-role application. Since our device is battery-operated and cost-constrained, we selected the STM32U575.
Individually, we have successfully implemented both concepts (TouchGFX and USB-PD) and tested them. However, when we try to combine them, STM32CubeIDE/MX does not allow us to enable both at the same time.
Could you please guide me on how to enable both from scratch, or share a reference IOC/project example for that demonstrates this combination?
Thanks & Regards,
Rajkumar
2025-09-11 3:21 AM
Hi @Rajkumar24
Unfortunately, it seems CubeMX cannot provide a full setup for code generation. We recommend, in this case, to merge the two projects to use TCPP and TouchGFX as discussed here.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.