Showing results for 
Search instead for 
Did you mean: 

Troubleshooting Thread Entry Issues in STM32F412 with OS and Motor Control


I am currently using the STM32F412 microcontroller with an operating system (OS). Normally, everything runs smoothly without any issues. However, I have encountered a situation where my threads fail to enter under specific conditions. It's worth noting that all interrupts continue to work correctly.

The suspicion lies with the SysTick component, as the issue doesn't seem to occur when using ST-Link for debugging.

The specific condition triggering this problem is when I operate motors. When I attempt to drive additional motors connected to the same power source, this issue surfaces. I am unsure where to begin debugging this problem.