Comment #4 on issue 199 by [email protected]: Missing SPI baudrate
selection
https://code.google.com/p/jallib/issues/detail?id=199
WS2811 does not use an SPI compatible protocol. It is some kind of combined
sync/data protocol at 400 or 800 kHz (selectable at the chip). To
transmit "0" the line is 1/5 bit time high and 4/5 bit times low. To
transmit "1" the line is 1/2 bit time hing and 1/2 bit time low.
You can generate these signals using SPI plus external circuitry, SPI alone
will not do. It might be better though to use an USART in syncronuos mode
for the required back-to-back-transmission is easier done that way.
You could, however, generate the "0"-shaped clock by PWM, and transmit
the "1"s from SPI configured as slave.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"jallib" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/jallib.
For more options, visit https://groups.google.com/d/optout.