Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect ws2811 high speed timing & tolerance #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maddogjt
Copy link

The high speed timing for WS2811 1 bit low was not correctly half of the low speed timing.

After addressing this issue, the analyser still failed to correctly interpret my captured data due to the tolerances. The datasheet or the original ws2811 drivers is ambiguous on whether the tolerances should also be divided for high speed mode. The behavior of the driver as well as the datasheet of the similar 2812 part (800mhz, +-150ns tolerance) seem to indicate that the tolerance should remain +- 150ns.

Changing the tolerances as suggested in #2 results in correct analysis.

I've attached a sample capture taken using an ESP32 controller running the FastLED library on WS2811 800MHz mode #LEDs
ws2811_on_esp32_fastled.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant