Yona-Appletree / LEDscape

Beagle Bone Black cape and firmware for driving a large number of WS281x LED strips.
126 stars 58 forks source link

Added APA102 template #29

Closed benjamind closed 9 years ago

benjamind commented 9 years ago

I received my RGB-123-V2 board and successfully tested this template. It seems to work without issue, and clocks out around 1.6mhz per strip. Not exactly fast, I'd like to get this up to the 16mhz range if at all possible, but I can't figure out any way of making this sort of implementation any faster.

Anyway, with 104 leds per strip I'm getting roughly 210fps with this, so its good enough for me for now.

Yona-Appletree commented 9 years ago

Thanks for the work on this. I doubt that we'll get it much faster than it is until the PRUs don't have to extract the bits and assemble the GPIO masks.

benjamind commented 9 years ago

Yeah I suppose so, were you intending to do that in the future?

Yona-Appletree commented 9 years ago

It's something I've been thinking about, yes. It would be a pretty major refactor though, so it's not something I imagine we'll do soon. It would increase the possible SPI speed substantially though.