cancel
Showing results for 
Search instead for 
Did you mean: 

SPI over Ethernet (LAN9250V)

Ranjitha
Associate II

Currently am Working on STM32H7x series , A'm confused regarding the importance of SPI for Ethernet(LAN9250V/ML) we have to use external bridge for communication. Give some samples codes to implement this perticular Ethernet

1 ACCEPTED SOLUTION

Accepted Solutions
Ranjitha
Associate II

Is This is supported to stm32 controller, because SPI over Ethernet is Microchip product. Actually, what am trying is it is for POC so this is supported or not please confirm.

View solution in original post

4 REPLIES 4

@Ranjitha wrote:

I'm confused regarding the importance of SPI for Ethernet (LAN9250V/ML) 


SPI has nothing to do with Ethernet as such.

The LAN9250V is an Ethernet controller which happens to have an SPI interface:

AndrewNeil_0-1744961201478.png

https://ww1.microchip.com/downloads/aemDocuments/documents/UNG/ProductDocuments/DataSheets/LAN9250-Data-Sheet-DS00001913.pdf#page=9

via: https://www.microchip.com/en-us/product/lan9250

 

Note that it's a Microchip product - so nothing to do with ST.

 


@Ranjitha wrote:

 Give some samples codes to implement this particular Ethernet


See Microchip's Product Page for their product:

https://www.microchip.com/en-us/product/lan9250#Tools%20And%20Software

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.
Ranjitha
Associate II

Is This is supported to stm32 controller, because SPI over Ethernet is Microchip product. Actually, what am trying is it is for POC so this is supported or not please confirm.

please give Some APIs to Achieve this POC

Microchip would be the ones to ask for that.

https://ww1.microchip.com/downloads/en/DeviceDoc/LAN9250-Quick-Start-Guide-50002993.pdf

The key thing to remember is that the LAN9250 neither knows nor cares what microcontroller you use - it simply behaves as described in its datasheet.

So any driver code should be portable to an STM32.

Look for support in whatever IP stack you use.

You could also look at previous discussions here:

https://community.st.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&q=LAN9250

 

https://www.google.com/search?q=LAN9250+stm32 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.