This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL2-RM57L: RMII CONNECTION BETWEEN LAUNCHXL2-RM57L AND EVB-LAN9354-RMII

Part Number: LAUNCHXL2-RM57L
Other Parts Discussed in Thread: RM57L843, DP83640, , HALCOGEN

HI TI Team,

In our project we are using RM57L843 microcontroller and the PHY chip LAN9354 IC.

I have an LAUNCHXL2-RM57L development board which consists of DP83640 PHY CHIP,  which interconnected in MII mode. 

But in our custom board RM57L843 microcontroller and LAN9354 PHY Chip was used. Which was interconnected in RMII Mode. For LAN9354 IC there was no driver code was provided. 

I have generated a code in Halcogen for dp83640 and I have changes according to the LAN9354 IC . I have write the LAN9354 IC registers using the mdio. I have configured the 100Mbps speed, Auto-negotiation enable ,etc.. required changes in registers of LAN9354 IC using MDIO. And I have commended the all the MDIOPhyRegWrite() function in the HL_phy_dp83640.c . 

I was able to read the PHY CHIP DEVICE ID Correctly, PHY ALIVE STATUS, PHY LINK STATUS. But when i transmit the data it was not transmitting. 

I think I have made fault in making a RMII CODE, I have configured RMII in PINMAX TAB, enabled RMII .In SPECIAL PINMAX TAB Selected RMII . And disabled ENABLE MII IN EMAC TAB. Is there any other changes i have to made to work with the RMII mode. 

In hardware First we are looking to work this with the development board,

We are using LAUNCHXL2-RM57L development board and EVB-LAN9354-RMII development board for LAN9354 PHY CHIP. I have connected the RMII,MDIO PINS in the LAUNCHXL2-RM57L to the respective pins on the EVB-LAN9354-RMII . To disconnect the DP83640 IC  on the launchpad I have removed the R8 and R9 resistors on the launchpad.

Here also I was able to read the PHY CHIP DEVICE ID Correctly, PHY ALIVE STATUS, PHY LINK STATUS. But when i transmit the data it was not transmitting. 

I have attached the CUSTOM BOARD SCHEMATIC,EVB-LAN9354-RMII development board SCHEMATIC, LAN9354 IC DATASHEET  and CCS Project code.

CUSTOM BOARD SHEMATIC.pdfLAN9354-Data-Sheet-DS00001926.pdf

EVB-LAN9354-RMII development board SCHEMATIC below,

https://ww1.microchip.com/downloads/aemDocuments/documents/UNG/ProductDocuments/BoardDesignFiles/03-00531-R1.PDF

CCS PROJECT BELOW,

LAN9354 RMII TEST.zip

Kindly do the needful ASAP, We are struck with this issue so long,

Thanks and Regards,

A. Ajith Kumar