ArduinoGeneral

Mega multi extension shield and Ethernet

userHead f6eeq 2015-11-03 11:14:24 2218 Views3 Replies
Hi!

I try to use the MMES with an Ethernet shield.
This shield is OK when plugged directly on my MEGA.

I changed the ETH_CS and SD_CS to the new pins assignments on the MMES.

SD card is working correctly
Ethernet is not.

Are they other pins to be change out of these two? I checked thoroughly the schematics, but did not find other connections.
MOSI/MISO is through the ICSP connector, and it's OK because SD card is working.

Thanks for help.
2015-11-04 19:37:49 Would you show me your code? userHeadPic Leff
2015-11-03 23:44:39 Hi Ieff,

No I'm not using DF shield, but the official ARDUINO with W5100.

I know that SD/ETH cannot work at the sale time as they are sharing MOSI/MISO.

My problem is that it is working perfectly on the MEGA.
On the MMES, although I have reconfigured the two CS to match the new pins distribution (in the W5100.h file and in the SD card initialization), only SD card is working.
userHeadPic f6eeq
2015-11-03 19:44:06 hello,

Welcome!

May I confirm if you are using DFR0272 Ethernet Shield for Arduino - W5200 instead of other ethernet shield?

And I'd like to remind that once a time, only one SPI device could work, so the SD card and ethernet shield cannot work at the same time, and their CS pin should not be assigned to be the same.
userHeadPic Leff