Hi every one
I'm using an Arduino ethernet shield(based on w5100) with an spartan6 FPGA. I want to use SPI protocol to connect FPGA to My PC trough a LAN Cable without any usage of SD card. I am confused with connecting ethernet shield to my main board.
1- If i connect the ICSP Like the picture, the connection is true? Or anything more is needed?
2- why the SS pin is not dedicated on ICSP?
the in-circuit-system-programming doesn't use SS pin and the ICSP header is designed for that.
for SPI you must use a SS pin
The W5100's SS pin is on the shield pin marked 10 on the silkscreen.
So if i connect ICSP pins + pin 10 , the connection is completely true? No excess power, Aref, ground, etc (in addition to GND and 5V of ICSP) needed?
javad_habibi:
So if i connect ICSP pins + pin 10 , the connection is completely true? No excess power, Aref, ground, etc (in addition to GND and 5V of ICSP) needed?
all pins on ICSP header and some pin for CS (to pin 10 of the shield)
the ICSP header schematics is for the male connector on the dev board, so if you wire to the female pins on the bottom of the shield, mirror the schematics.
I have connected the module So. But i cannot find out why my MISO feedback during write operation is once true and once not, as you see in the picture.(0X01 0X02 0X03 according to 6.3.3 part of w5100 datasheet).
- signals up to down in scope capture are:
SCK(not visible because of sample frequency)
MOSI
MISO
SS