Analyzer "Addressable LEDs" configurable for RGBW?

Dear all,

I can’t seem to find the option to tell the “Addressable LEDs” analyzer that my data stream is for a SK6812 RGBW LED strip, i.e. follows the WS2812B bit timings but has 32 of those bits per LED, not 24, with the last 8 bits determining the brightness of the additional white pixel.

Does this require a code amendment of the analyzer? Is it in the pipeline? Should be rather straightforward, no?

Kind regards,

Hi @Sebastian,

You’re right, we don’t support that LED mode.

The source code is here if you want to take a look: GitHub - saleae/async-rgb-led-analyzer: Saleae Async RGB LED Analyzer

it might be as simple as adding a new entry to the array here:

The 4th input is the number of channels per pixel. I think it might be as simple as duplicating the WS2812B entry, but change the name and change the number of channels from 3 to 4.

I would normally try to help, but we’re swamped at the moment and I’m not sure when I can get to this. That said, please include a sample capture! (*.sal file)

Check the readme of that repo for basic information on getting it building. More details about the analyzer SDK here: GitHub - saleae/SampleAnalyzer: Sample Analyzer for the Analyzer SDK

Also, if you just fork that repo, edit the file, and push your changes, github should automatically compile it for you so you don’t even need to setup for local development! Of course, if you need to do any debugging, you will need to setup a local build.

To get it working was a bit more involved, refer GitHub - wangnick/async-rgb-led-analyzer at wangnick-rgbw-1. But note that my solution is a straightforward kludge that would profit from some refactoring …

Attached also an example recording: SK6812_RGBW_176_2.sal (33.7 KB)

KR, Sebastian