Arduino Ethernet and SPI

Hello,

I intend to use the Arduino Ethernet board to read an external device over SPI with the SPI library. Will this cause any troubles for the Ethernet interface since this is also using the SPI through it own Ethernet library? I will of course use another pin like 9 for the CS for my SPI device.

Thanks,

Jens.

Will this cause any troubles for the Ethernet interface since this is also using the SPI through it own Ethernet library? I will of course use another pin like 9 for the CS for my SPI device.

It won't if you take care to ensure that you activate the CS pin for your device, access it, and then deactivate its CS pin.

Thanks!

That's what I like to hear.

Jens.

Both the Ethernet and SD classes take care to set their respective pins correctly, when Ethernet or SD functions are used, if you need examples to look at.