Ethernet shield - Changing pins?

I'm trying to use ladyada's ethernet shield (wiznet) along with the tlc5940 library. Unfortunately, the library requires you to use pin 10 for blank.... Pin 10 is also used for the SPI chip select in the ethernet shield. I tried remapping it to pin1 by updating library/Ethernet/utility/spi.h but it seemed to just cause the arduino to crash. Since it's just a chip select I don't know why this wouldn't work, isn't it just pulling it high?

Anyone able to suggest any ideas here? Can I move that connection to another pin or am I just screwed?

The real problem is you'd have to hack the ethernet shield to move the line from pin 10 to somewhere else. It's not just a software issue, it's a hardware issue.

Pin 1 is on the UART, but that's a separate issue. If you could move it, you couldn't practically move it to pin 1.

I'm not familiar with the tlc5940; maybe it is more amenable to moving that signal to a different pin?

-j

I don't believe its possible to move the tlc, its using alternate functions of the pin.

Totally forgot that 0/1 got used. I got it working on pin 8.

For future reference for anyone else who wants to do this, in spi.h change BIT2 to BIT0 for IINCHIP_CS_BIT and SPI0_SS_BIT

The arduino crashes if I init the ethernet first, but as long as I do the tlc first it seems to work fine.

I am having the similar issues with Spark Fun's Ethernet Shield. Tlc.init(); causes the sketch to not connect to a server and makes random leds hooked up to the TLC5940 light up at different brightness. When each conflicting lines (ethernet.begin and tlc.init) are commented out they work fine it is commented out it works fine. I tried Shadow's spi.h workaround, but to no avail.

I am trying to figure out how to work around this... Shadow, could you please explain a bit more about why pin 10 needs to be free when using Ethernet.h? Does Ladyada's Ethernet shield require you hook the ethernet module into pin 10, or does ethernet.h block pin 10 in some way? I've looked around on ladyada's website but haven't found anything about this. :frowning:

Thanks!