Hi,
I did some search on this forum, seems nobody had this problem.
I'm currently using Maple R5 with W5200 shield from EKitsZone I got from ebay(search w5200 EKitsZone). It is working, well, only with SPI2. I'm using Maple IDE 0.0.12.
To get this shield working, I did some modifications.
a). Removed the 6 pin stackable ISP header, and put a 6 pin header on the top layer. This shield connects W5200 SPI pins to ISP header.
b). This shield uses 5V only, (the one next to 3.3v pin), which Maple does not provide. This shield has it's own internal DC-DC switch. So, I jump-wired a 5v from the '5V USB' power selection from maple to the W5200 board. To permanently fix the power issue, you will need to remove LM1117-33 from the board, connect pad 2 of the removed LM1117-33 position to 3.3v pin input (the one next to reset).
c). Closed nINT and PWRDN jumpers from the W5200 shield.
Here are my pin connections, all pins are 0 based:
Power:
W5200-------------------------------maple
J1(5V) pin..........................5v usb selection jumper header.
ISP6(GND)...........................GND
SPI2 connections:
W5200-------------------------------maple
ISP1(MISO)..........................33 (SPI2-MISO)
ISP2(NC)............................N/C (Not connected)
ISP3(SCK)...........................32 (SPI2-SCK)
ISP4(MOSI)..........................34 (SPI2-MOSI)
ISP5(nReset)........................7 (defined as reset pin in source code in WizEthernet code, for testing, I also changed it to maple 6 )
control pin connections:
W5200-------------------------------maple
ditial 10...........................31 (SPI2 nss)
ditial 5(PWRDN).....................8( I saw this is defined in WizEthernet code)
ditial 2(nINT)......................9( I saw this is defined in WizEthernet code)
serial3 output for debugging:
USB to Serial ---------------------- maple
GND..................................GND
RXD 29 (serial 3)
With the above configuration, I'm able to run telnetserver, webserver on this board.
However, when I switched SPI from #2 to #1, the samples stopped working. I only did the following changes:
1) Correctly connected, NSS -> 10, and 11,12,13 from maple to ISP head on W5200 shield.
2) Changed source code from using spi2 to spi1.
The console output stopped at "Initializing the MAC and PHY layer" from serial3 console, and nothing else after. LNK, SPD, FDX leds were blinking if I use SPI2, but not SPI1, this probably mean, the W5200 initialization didn't get a chance to finish yet.
FYI: I did realized in HardwareSPI.cpp, there is a "pinMode(10, OUTPUT);" line AFTER spi.begin(). I assume, that fixed the NSS output mode issue. reported here
http://forums.leaflabs.com/topic.php?id=1020#post-6202
and
http://forums.leaflabs.com/topic.php?id=1440#post-8555
I don't know how to post an image on this forum, so I put it on my picasa space. It shows the above configuration with nReset connected to Pin 6( Source code also changed)
https://lh4.googleusercontent.com/-HrNe-8_1LgI/UAzUld7uCmI/AAAAAAAAFeg/tEHq-qSwmqY/s912/2012_%207_23_%200_35.jpg
This is a link that shows Maple mini connecting to Wiz820io to SPI2. It is in Korean. But the page is very simple, I have no problem reading it, just skipped the description.
http://liketheocean.tistory.com/182
So, my question is has anyone used wiz820io or W8200 on SPI1 at all?
If you have any question on how to connect this shield to maple, to get it working on SPI2, please ask me.
Thanks, appreciated for any help.