Rickta59 589 Posted October 13, 2015 Share Posted October 13, 2015 Here is some code to drive ws281x strips using DMA driven SPI for the msp430f5529. I hadn't seen any example code showing how to use DMA and SPI. The example also provides some code that shows how to use inline asm that will work with both msp430-gcc and msp430-elf-gcc.The code below was tested with a ws2811 strip and msp430-elf-gcc.https://gist.github.com/RickKimball/9761b8f5a89d46a53939-rick yyrkoon, Fmilburn and bluehash 3 Quote Link to post Share on other sites
Fmilburn 445 Posted October 13, 2015 Share Posted October 13, 2015 Nice... I am going to spend some time with it and see if I can figure it out. Quote Link to post Share on other sites
Rickta59 589 Posted October 14, 2015 Author Share Posted October 14, 2015 Let me know if you have questions. I tried to comment the code, I can add more if something doesn't make sense. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.