SparkFun Forums 

Where electronics enthusiasts find answers.

Your source for all things Atmel.
By mos6502
#77433
Hi all,

Im having a minor problem when I display animations on the (4) RGB matrices I have. Static images turn out fine, however when I output animations I get noise from other pixels that light up for a split second as the frame updates.

Also, it seems that it only happens on the first and last matrix in the chain.

Ive gone over my SPI settings several times, I don't think that its a software problem, but just in case someone catches something I haven't these are the settings I'm using:

// spi enabled, master mode, clock @ f/128 for init
SPCR = (1<<SPE)|(1<<MSTR)|(1<<SPR1)|(1<<SPR0);

I suspect it might have to do with the way that I'm powering the matrices. Currently I'm using (2) 7805's - each powers (2) matrices, and each has suppression cap's put in place(100uF and .1uF). The 7805's get power from a supply that provides 8.5v @ 5A.

Any advice that you guys could give me would be greatly appreciated!!
Last edited by mos6502 on Tue Jul 21, 2009 3:54 pm, edited 1 time in total.
By mos6502
#77447
OK guys, I just figured this out, and I wanted to post here just in case anyone else runs into the same problem.

For some reason, even after each matrix is set up to be included in a chain of four (or any number for that matter) you still have to send the daisy-chain command to the first matrix in the chain every time.