2025-01-27 05:13 AM
Hi everyone..
I am using USB host for communication CDC along with touch GFX for grafix which will use RTOS, The usb is not getting ready after the start state of usb what will be the issue, but when I configure only USB CDC HOST with out touch GFX it is getting ready and communication is happing. After the touch GFX even though for same usb configuration it is not working
My clock configuration is set to 48mhz ans other clocks are maintained with in the limit, stack size is also increased, priority is also included
Please suggest some reasons and solution why it is not getting ready
2025-01-27 05:45 AM
So you have a working case (without TouchGFX) and a non-working case (with TouchGFX) for the same USB code - yes?
So compare & contrast the operation of the two.
See where they differ:
Instrument your code to give visibility of what's going on ...
2025-01-27 07:20 AM
Hi @Abhishek_nr
It seems like the same issue is described here: TouchGFX with USB cdc Host - STMicroelectronics Community
I suggest you double check if there are any IOs conflicts or any overlapping memory regions.
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.
2025-01-30 07:58 PM
when we enable rtos it will internally enable the rtos in usb platform and make usb operation depends on RTOS may be this makes usb to not becoming usb ready state, even though stack size is more (1024) and high priority for usb rtos task, i can't disable the usb rtos enable which is given by default when rtos is enabled.
again the usb_host _request is sending and after that usb_abort will come but with out using rtos it will not go to usb_abort and it will become USB_READY please help me to solve this issue