EtherMega SPI

Combining the power of the ATmega2560 MCU with onboard Ethernet, a microSD card slot, an efficient switchmode power supply, and a small prototyping area. [Product page]
Post Reply
SiAtBo
Posts: 1
Joined: Tue Apr 17, 2012 3:37 pm

EtherMega SPI

Post by SiAtBo » Tue Apr 17, 2012 3:44 pm

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!

LukeW
Posts: 91
Joined: Tue Nov 01, 2011 10:14 am

Re: EtherMega SPI

Post by LukeW » Mon May 14, 2012 3:45 am

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.

Post Reply