You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
autoresearch lpc845 --pin-toggle-rx: sigma occasionally exceeds the 1000 ns cap (2 of 14 runs) #5294
Seen while validating #5293 on an LPC845-BRK (/dev/ttyACM1, jumper pair TX=P0_13 → RX=P0_10, core 0.2.4+g547b5a7). I ran bash autoresearch lpc845 --pin-toggle-rx --upload-port /dev/ttyACM1 14 times, each with a full flash.
In 12 runs all 3 cases passed. Typical sigma was 321-689 ns at 1 kHz, 578-602 ns at 5 kHz and 689-735 ns at 10 kHz.
The mean period stayed within 0.01% in both. corePullCheck passed in all 14 runs.
The firmware is byte-identical to master's (the same core commit and the same 14080 B flash), so this is an existing flake, not a regression from #5293. ci/autoresearch/test_lpc_pin_toggle_rx.py says sigma is the TX polling granularity, about 1 µs per spin of the toggle loop, so a single delayed spin across 32 periods can push sigma past the 1000 ns cap.
To do: find out what delays the occasional spin (SysTick? the UART RX ISR?), then either remove that source of jitter or set the cap from a measured distribution. Do not just raise the cap. Refs #5268.
Activity
fix(autoresearch): mask IRQs around LPC pinToggleRx edges (FastLED#5294…