i did like to use an Arduino Ethernet
I read this :
Pins 10, 11, 12 and 13 are reserved for interfacing with the Ethernet module and should not be used otherwise.
and this :
These pins support SPI communication using the SPI library.
SPI: 10 (SS), 11 (MOSI), 12 (MISO), 13 (SCK).
and this :
An onboard microSD card reader, which can be used to store files for serving over the network, is accessible through the SD Library.
Pin 10 is reserved for the Wiznet interface, SS for the SD card is on Pin 4.
the SPI pins are used for Ethernet and Sd card.
My programme will sometime read and write on the microSD, and also sometime communicate with a network trough the ethernet.
Question : can I use the Spi pins to communicate with other device (SSI encoder) when it is not in use for ethernet or microSD?
Thanks
Yes, you can use MOSI, MISO and SCK with other devices. The SS (slave select) is reserved for one device exclusively and should not be used otherwise. So pin 10 and 4 are used for Ethernet and SD card but if you use for example pin 8 for your SSI encoder you shouldn't have problems.
What you should connect only pin 10 and pin 4.
Then if you have this type of Eth Shield, then you just need to wire the ICSP, pin 10 and 4.
Finally, it will work!
He doesn't want to use the shield, he asked for the Arduino Ethernet (one board with Arduino UNO and Ethernet shield but without the USB hardware). There the ICSP header is connected to 11, 12 and 13 (MISO, MOSI and SCK).