program SPI device with the ethernet connection

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
Thijs
Posts: 2
Joined: Fri Dec 07, 2012 2:16 pm

program SPI device with the ethernet connection

Post by Thijs » Fri Dec 07, 2012 2:39 pm

Hey,

If got myself a EtherMega board. I can connect my pc (via telnet) with the board and I can read/write to I2C devices and so on.
Now my problem is that I want to program anther device using SPI via the telnet terminal.
Send a couple of bytes to the EtherMega board and program then to the device using SPI.

They say it is possible to use the Ethernet connection 'together' with devices on the SPI bus, but I can't get it working :cry: . Somebody have experience with my problem or some example codes that are working?

Thanks!

User avatar
tronixstuff
Freetronics Staff
Freetronics Staff
Posts: 341
Joined: Tue Nov 01, 2011 10:03 am
Location: Melbourne, Australia

Re: program SPI device with the ethernet connection

Post by tronixstuff » Sat Dec 08, 2012 12:52 am

Thijs wrote: They say it is possible to use the Ethernet connection 'together' with devices on the SPI bus,
Thanks!
Do you have a link to where "they" said it? :) Ethernet uses the SPI which generally would rule out such a thing.

Thijs
Posts: 2
Joined: Fri Dec 07, 2012 2:16 pm

Re: program SPI device with the ethernet connection

Post by Thijs » Sun Dec 09, 2012 2:08 pm

You can see the topic 'EtherMega SPI '.
I now it is not possible to use them at the same time.
How can you switch between the ethernet chip and another device?

Grtz

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests