cancel
Showing results for 
Search instead for 
Did you mean: 

SPI ETHERNET (LAN9250)

Ranjitha
Associate II
 
1 REPLY 1
Andrew Neil
Super User

Welcome to the forum.

Please see How to write your question to maximize your chances to find a solution for best results; in particular, How to insert source code - not as screenshots.

 

As noted in your previous thread, the LAN9250 is a Microchip product - nothing to do with ST - so you need to go to Microchip for support with it:

https://www.microchip.com/en-us/support

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

 


@Ranjitha wrote:

 In the main function, I pass the RXDATAFIFO address (0x00), but I keep getting 0xFF as the output. How can I resolve this issue?


The first thing to do would be to use an Oscilloscope on the SPI lines to ensure that the signals are good.

Then use an analyser to capture the comms between your STM32 and the LAN9250, and verify that against the LAN9250 specifications.

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

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

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

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.