Hello,
We have implemented a TM4C on our custom board with no PHY and connected the RMII interface directly to the FPGA. I connect the reference clock and RMII interfaces directly together from the TM4C to the ethernet switch IP in a crossover pattern - tx<->rx and tx_en<->crs_dv. We have made some minor changes in LWIP such as adding netif_set_link_up(psNetif); to the end of the initialization function right before we call to begin an autonegotiation cycle. We have 10 TM4C devices on the board and the number of devices that will join is usually around 60-70% network join percentage and totally random who decides to join.
I am wondering if there are numerous lwip changes that need to be made if there is no phy involved. Since there is no phy and MDIO interface, we were commenting out the reads and writes to the MDIO table. How can we determine if the link is up if we dont have a phy and cannot ask the phy from the MDIO interface if the link is ready?
Hoping you can help. Thanks a bunch.
-Joe