Go Down

Topic: TLC5940 , XBee and SpiRAM ? (Read 647 times) previous topic - next topic


hey, pardon my obliviousness to all things Arduino because I have not actually owned one yet, and I have just a few questions before I commit myself to owning one

suppose that I am trying to create a persistence of vision setup using a TLC5940 , where the images to be displayed is wirelessly transferred via the XBee onto the moving Arduino board and stored in an SpiRAM device

according to

the TLC5940 uses pins 9,10,11 and 13 , while the SPI interface uses 10,11,12 and 13

can the master-out-slave-in (11) pin be shared with more than one component, since both the SpiRAM and the TLC5940 needs it?

and according to http://arduino.cc/en/Main/ArduinoXbeeShield , the XBee shield leaves all the pins above 7 uncovered, can I take this to mean that the XBee can be used concurrently with the TLC5940 and/or an SPI device such as the SpiRAM?


the TLC5940 uses pins 9,10,11 and 13 , while the SPI interface uses 10,11,12 and 13

You should have a separate SS line per SPI device, the other 3 can be shared. (9 and 10 are the SS lines)

No experience with XBEE yet (they arrive today YES!) but it sound like it should work. Often the proof is in the puddingtest :)
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)


Apr 08, 2011, 12:19 pm Last Edit: Apr 08, 2011, 12:47 pm by carmatic Reason: 1
but according to this http://www.arduino.cc/playground/Learning/Pins

only pin 10 is labelled 'SS' , pin 9 just has a '-' in its column...

couldnt a setup like this


::edit:: if both 9 and 10 are Slave Select, why does the TLC5940 need 2 SS lines?

Go Up