Control loop jitter on the STM32H723

I plan to run the motor loop on my pan tracker at 1 kHz on a NUCLEO-H723ZG under FreeRTOS. The Jetson will do the vision and send setpoints over CAN, and the STM32 will close the loop. The PID will use a fixed sample period, so I set a target for the tick itself: period jitter p99 under 2 µs. An interrupt on this chip should fire within a microsecond every time, making 2 µs a reasonable target. Anything slower means something is getting in its way, like: interrupts being masked, code running from slow flash, or a bad clock. The motor loop itself wouldn’t notice until tens of microseconds, so this target is conservative and could serve as a health check of sorts. ...

November 5, 2026