Skip to content

autoresearch lpc845 --pin-toggle-rx: sigma occasionally exceeds the 1000 ns cap (2 of 14 runs) #5294

Closed

Description

@zackees

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.
  • In 2 runs a single case failed only on sigma:
    • 1.1 / 1 kHz: FAIL: sigma 1025 ns exceeds 1000 ns, raw csv '1,64,32,1000029,1025,998792,1001333'
    • 1.2 / 5 kHz: FAIL: sigma 1535 ns exceeds 1000 ns
  • 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

  1. added
    sanitized
    on Nov 19, 2026
  2. moved this from Triage to Done in FastLED Trackeron Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions