Problem about LPC2124 and RGB LED matrix connection

Hi

Does anybody know what type of connection is that on red circle placed at this foto? how can i connect jumper wires and program the LPC2124 to get this result? this is from LED matrix tutorial:

http://www.sparkfun.com/commerce/tutori … id=44&page

Here is the picture with the red circle:

It’s impossible to tell as it’s a very poor photo, but you should be able to work it out from the board details. It looks like a standard 0.1" header, which won’t cause any problems.

It seems that its been connected to the Dallas iButton interface* that use 2 pins only and if you look at the backpack of the LED matrix you’ll see an SPI input interface. On the LPC board its not seem have any SPI headers but the EXT header of 32 pins and those pins not provide any SPI interface for connection with the matrix. Someone said to me that i have to bit-bang this board to have an SPI connection. They have bit-banged the board but even they did i cant understand how the connection must be done. the board doesnt have any manual but only a schematic:

http://www.olimex.com/dev/images/lpc-e2124-sch.gif

If you see something that i can’t please help me. thank you!!!

That LED matrix backpack has an SPI I/F, which the Ethernet board is using. It won’t have specific SPI connectors.

You mean Dallas interface with the 2 pins on board? because if you see at the red circle on the foto the wires to the matrix starts from here. Also i have this matrix:

http://www.sparkfun.com/commerce/produc … cts_id=760

and those SPI input pins found only on the LPC controller and then used to control the ethernet controller. That shows the schematic. On the tutorial refered also that the EXT header on the board is used to connect the board with the matrix. in which pins??? thanks.

I really suggest you try something easier to start out with. Light an LED or something.

The pins they are using to bitbang the SPI interface is right in the source code for the project.

http://www.sparkfun.com/tutorial/Ethern … source.zip

#define LED_SCK   0x00040000  // IO pins for LED matrix controller
#define LED_DI    0x00020000
#define LED_CS    0x00010000

That’s pins 16, 17, and 18 on port1.

Have i program the matrix separately? or the code will be passed directly when the matrix connected to the board?

How the matrix is controlled is described in its datasheet.

http://www.sparkfun.com/datasheets/Comp … rguide.pdf

What applications must be installed on my computer (with XP OS) to handle those codes?