Hello Jan,

I actually tested that decoder on WS2812B (when i writing driver for
STM32F373).
I decided to use duty cycle to be frequency independent, that approach
should work fine with slower versions (400 kbit/s),
but yes, it may incorrectly decode if you have longer T1L.

But i don't seen that problem with UART based driver (using pseudo 7n2, pin
inverter & data inverter of F3 USART module)
where each 3-rd bit has longer TxL.

2017-05-11 5:23 GMT+03:00 Jan Losinski <losin...@wh2.tu-dresden.de>:

> Hello,
>
> I extended the WS281X protocol decoder because it did not correctly
> decode data for WS2812B. It is now selectable if the user wants the
> generic approach that measures the fraction of the HIGH time in a period
> or the timings from the WS2812B spec.
>
> The code can be pulled from
> https://github.com/janLo/libsigrokdecode/tree/WS2812B
>
> Thanks a lot, Jan
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> sigrok-devel mailing list
> sigrok-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sigrok-devel
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to