Other Parts Discussed in Thread: HALCOGEN, DP83640
Hi,
I am trying to establish communication between 2Nos XL2RM57 launchpads and I am facing issues in establishing the link. I have selected MII mode through HALCOGEN to generate the code.
Launchpad1 is configured to always Transmit and Launchpad2 is configured to always Receive the Data packets.
I have certain questions regarding the initialization procedure to be followed:
1) Should I set different MAC addresses for source(Launchpad1) and destination(Launchpad2) ? ( Currently I have set the same MACaddress for both launchpad1 and launchpad2).
2) The MACAddr register( MACAddrLo, MACAddrHi and MACIndex) doesn't update during debug mode. Please refer the screenshots attached below and suggest what might be the problem?
3) The LINK register(MDIO) status is 0x0000 and doesn't establish link with the receiver.
4) I have configured MII for 100Mbps speed and the current status indicates it to be 10Mbps. How to change this configuration?
5) Does MII_Tx_Clk and MII_RxClk have any effect on speed of MII (10/100 Mbps) ? (For both 2.5MHz and 25Mhz I am getting same speed of 10Mbps)
6) I am not able to read MDIO registers(PHY status) of launchpad1 and launchpad2. Kindly suggest further.
I have attached the code and HALCOGEN files for your reference.EMACx.zip