lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Ethernet package through SPI interface


From: Noam Weissman
Subject: Re: [lwip-users] Ethernet package through SPI interface
Date: Sun, 6 Mar 2016 08:11:02 +0000

Hi,

I have never run LwIP over SPI or RS232 but that does not mean it will not work.

LwIP needs a way to send and receive data, hens the driver.

MAC address is set in software when you initialize netif interface

Modern SPI interfaces can run at 30Mbs 

As LwIP running on a small micro is not very fast the above can get you decent 
communication speed. 

All you need to do is write the driver and it should be OK.

This is my insight :-)


Good luck,
Noam.



-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of SergeV
Sent: Sunday, March 06, 2016 7:50 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] Ethernet package through SPI interface

Hi Sergio R. Caprile
I'm using LWIP for years successfully, and - yes - Google is my friend.

My question was about SPI. 
I several times came across references that SPI is used in place of RMII, to 
communicate over LAN. Frankly I'm in doubt this is possible at all but if this 
notice came from the LWIP list which I trust, I ventured to ask for more 
details.
(maybe an SPI to RMII converter exists, and MAC emulation is done in software?)

You have not included a citation from my post, in your reply, and my this 
message might look unclear for public.
Sorry for that, and no problem(s). I will continue reading this mailing list 
with great interest!
Cheers.

02.03.2016, 18:21, "Sergio R. Caprile" <address@hidden>:
> Man, you have a complete example in lwIP distribution itself, on 
> directory "src/netif", the file ethernetif.c.
> You just have to write the code to send frames through it.
> You even have other examples in the contrib tree.
> If you go to the wiki, there are instructions on how to proceed.
> http://lwip.wikia.com/wiki/Writing_a_device_driver
> And last, if you see my name and look me up and go to my page, you'll 
> see that I wrote a driver and you can get its code to use as an example.
> There is a forest behind the tree, and Google is your friend.
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]