Skip to content

bug(SM16824E): TIMING_SM16824E emits T1H=1200ns / T1L=100ns — out of datasheet #3203

Closed

Description

@zackees

Summary

fl::TIMING_SM16824E in src/fl/chipsets/led_timing.h:319-326 currently emits a waveform that does not match the SM16824E datasheet, and is also out of spec for SM16703 — which blocks the #1941 use case of driving SM16703 + SM16824E on the same data line.

What FastLED emits today

// src/fl/chipsets/led_timing.h:319
struct TIMING_SM16824E {
    enum : u32 {
        T1 = 300,
        T2 = 900,
        T3 = 100,
        RESET = 200
    };
};

Decoded vs. datasheets:

Param Emitted SM16824E datasheet (quoted in #1941) SM16703P datasheet
T0H 300 ns 300 ns 200–400 (typ 300)
T0L 1000 ns 900 ns ≥800
T1H 1200 ns 900 ns 800–1000 (over by 200 ns)
T1L 100 ns 300 ns ≥200 (under by 100 ns)

The doc comment on src/chipsets.h:567 even contradicts the emitted numbers (T0H=.3μs, T0L=.9μs, T1H=.9μs, T1L=.3μs) — those are the datasheet values, not what is being clocked out.

Why this matters

  1. The SM16824E datasheet excerpted by @einlichtvogel in Support for SM16824E and SM167035P3 and help with protocol #1941 is bit-for-bit identical to the SM16703 / WS2811-800kHz RZ-code family: T0H/T0L/T1H/T1L = 300/900/900/300 ns.
  2. The current TIMING_SM16824E overshoots the datasheet typicals on both T1H and T1L.
  3. As a side effect, the SM16824E controller is wire-incompatible with SM16703 on a shared data line — even though the chips themselves are compatible.

Proposed fix

Align TIMING_SM16824E with its datasheet:

struct TIMING_SM16824E {
    enum : u32 {
        T1 = 300,
        T2 = 600,
        T3 = 300,
        RESET = 200
    };
};

Yields T0H=300 / T0L=900 / T1H=900 / T1L=300 / cycle=1200 ns — matches the SM16824E datasheet and the SM16703 datasheet jointly, enabling the shared-bus case in #1941.

Test plan

Related

Activity

  1. added a commit that references this issue on Jun 17, 2026
    ba46ef1
  2. moved this from Triage to Done in FastLED Trackeron Jun 17, 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

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions