Hi,
I would like to use the SPI connection to communicate with other devices while sending data to the EtherMega Board from my PC over Ethernet.
Is this possible? I red somewhere, that when the Ethernet is enabled the SPI connection can not be used for other purposes.
Bye!
EtherMega SPI
Re: EtherMega SPI
Technically, yes, the different SPI devices on the bus are communicated with "one at a time".
However, since there is some internal memory in the microcontroller, and you can switch between SPI devices at "digital speeds" which are much faster than "human speeds", you can use both the Ethernet interface and some other SPI hardware device (like let's say the SD card, for the sake of argument) "at the same time" as far as the user experience is concerned, even though technically it's not accessing both those devices at literally the same time.
However, since there is some internal memory in the microcontroller, and you can switch between SPI devices at "digital speeds" which are much faster than "human speeds", you can use both the Ethernet interface and some other SPI hardware device (like let's say the SD card, for the sake of argument) "at the same time" as far as the user experience is concerned, even though technically it's not accessing both those devices at literally the same time.