Jump to content
43oh

WS2812 demo with MSP430 5529 launchpad


Recommended Posts

Hi,

 

here is a small project that runs on the MSP4305529 launchpad:

https://github.com/hoihu/WS2812

 

that supports the 800kHz WS2812 LED strips (e.g. http://www.adafruit.com/products/1138 and others) by using the DMA controller rather than a while loop.

 

The idea is based on the SPI approach by RobG:

http://forum.43oh.com/topic/3971-wearable-ws2812-strip-controllers/

 

+ work is delegated to DMA, frees foreground application (easier to code color changes etc)
- needs app. 8x more RAM, as the LED bits must be deflated in advance in memory
 
The main loop shows a nice looking color fading effect:
 
any comments/extensions are appreciated.
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...