cancel
Showing results for 
Search instead for 
Did you mean: 

Code Functionality Stuck in Scheduler - Need Assistance

saikumar
Associate III

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:

https://github.com/STMicroelectronics/STM32CubeU5/tree/main/Projects/STM32U5G9J-DK2/Applications/USBX/Ux_Device_CDC_ACM 

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!

0 REPLIES 0