On Mon, Feb 10, 2014 at 6:24 AM, David Duffy (AVD) wrote: > Sorry, that DMX was a typo. It should have read DMA. > > When I load the data one byte at a time into the SPI hardware, there is > always a small gap between bytes. > > What I'm trying to do is generate a data stream for the 2811 variety of > RGB pixels. This is while receiving a DMX stream using interrupts. I hope to look into something like this soon. I recently ordered a reel of those off of AliExpress. If I can get things working smoothly, in addition to DMX control, they might be fun as an indicator. For a single pin on the PIC, you get a full RGB indicator. And oh, you need more than one indicator? It's the same pin count for the PIC. So...I have a vested interest in helping more people get this working successfully before I wage my battle! Have you seen this page: http://wiki.hacdc.org/index.php/WS2811_MicrochipPIC This guy seems to have code that may be working already for the SPI writes. Perhaps it's worth trying it out to see how it works. I haven't tried anything yet. Admittedly it's in asm, not C, but perhaps that routine would be better written in asm. Please keep us posted! Josh --=20 A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .