2024-11-19 02:57 AM - last edited on 2025-01-17 07:22 AM by SofLit
Hello ST Community,
I am currently working on a project using the STM32U5G9ZJT6Q MCU. My application involves sending data over USB using CDC-ACM mode.
While the code appears to be working correctly, I am encountering an issue where the execution gets stuck in the scheduler.
However, during runtime, the code halts, and the debugger points to _tx_thread_schedule();
I suspect there might be an issue with middleware integration or clock settings, but I am unable to pinpoint the root cause.
The code I am using is sourced from this link:
Has anyone encountered a similar issue or have any insights into what could be causing this? Any guidance or suggestions for debugging would be greatly appreciated.
Thank you in advance for your support!
2025-01-17 07:01 AM
Hi @saikumar
Did you try to build and flash the example as it is and not working? You need to debug further and provide details to understand the root cause. Which compiler are you using? if using CubeIDE, try to enable RTOS Proxy under Debug configuration,
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-28 02:54 AM
Thank you for your response!
The original issue has been resolved, but I am now facing a limitation with the HS_MPS (High-Speed Maximum Packet Size) value.
Currently, the HS_MPS is capped at 2044, and I need to increase it beyond this value to achieve higher FPS for my UVC application. Despite everything else working fine, the FPS remains low due to this limitation.
I have already posted a separate question about this issue,
but unfortunately, I haven’t received any answers yet. For reference, I’m attaching my code files as a zip to provide more context about my current configuration and implementation.
I would greatly appreciate your guidance on how to:
Thank you for your time and help!