Go Down

Topic: Ethernet shield problems! Time to update library? (Read 23 times) previous topic - next topic

macegr

I talked to our US Wiznet rep at ESC yesterday, but didn't get too far...they rotate someone from Korea every so often and it had just happened, he was only able to agree with everything I was saying :)

I'll send an email, C is the universal language!
Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

Nick Fury

Hi, so I recently received the most excellent Arduino Mega and I'm having a bit of trouble interfacing it with the ethernet shield like I had hoped I could do.  I can't seem to connect with it at all, though I can get a nice display of blinking LEDs while trying.

I have an older arduino NG.C board that I haven't yet tested the shield with (a friend is borrowing it) so my entire problem could be related to it.

My question stems from the fact that the ethernet shield is based on SPI and that the pins for the Mega for SPI seem to be different than the other boards.  Could this be the cause of my problems?

Specifically, I will point to these two links:
http://arduino.cc/en/Main/ArduinoBoardMega
and
http://arduino.cc/en/Main/ArduinoBoardDiecimila

For the mega, it says SPI is located on pins 50-53 and for the diecimila (pretty close to my Rev C I think) it says that SPI is located on pins 10-13.

Thank you in advance for any help you may provide.

macegr

Yeah, the SPI pins moving is going to be a deal breaker for the Ethernet shield, all existing Ethernet shields will have to be re-designed to work with the Mega.
Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

kg4wsv

Quote
all existing Ethernet shields will have to be re-designed to work with the Mega.

Or the SPI part of the code, which is conveniently abstracted already, can be rewritten to bit-bang the SPI for the MEGA.

-j


macegr

Because the Ethernet library needs to be even slower :(
Unique RGB LED Modules and Arduino shields: http://www.macetech.com/store

Go Up