On 2/10/2014 5:17 AM, David Duffy (AVD) wrote: > On 10/02/2014 9:53 PM, Mike Harrison 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. >>> David... >> I'm not familar with that PIC - some SPI ports always leave a gap, thoug= h this can sometimes depend >> whether you're using the "buffer not full" or "transfer complete" to rel= oad. >> >> the SPI on the 32MX can definitely stream continuously,has a fifo and a= lso a 32 bit mode which can >> make this stuff more efficient - no real need for DMA, though it is avai= lable if necessary. > If have to change chips and redo the PCB, I might as well use an AVR > instead. There are code libraries out there that seem to manage the > 2811 pixel data stream on a fairly low end AVR. > > I suspect the non-optimised XC8 compiler is not helping me either. Yet > another design moved away from PIC for me. > David... > I simply can't IMAGINE dropping PIC for anything. In my long lifetime=20 I've programmed Intel, RCA, Atmel, ST, Motorola, plus a few others, and=20 without question PIC beats 'em all, in so many ways I have no time for=20 the list. Just my 2 cents, which, due to inflation is evaporating rapidly... --=20 The only place success comes before work is in the dictionary. VINCE LOMBARDI --=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 .