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.

Custom C6472 EMAC GMII Help



Hello,

I have a custom C6472 hardware design and I am having issues getting the 6472 to talk over Ethernet. For hardware, I have EMAC0 connected with GMII to an Ethernet Switch. Also the C6472 does not have MDIO control over the switch, that is configured elsewhere. The Switch is providing a 125MHz clock to EMAC0 RX Clock, and does send packets to the 6472 when an ARP request is made. But the 6472 does not send its TX Clock back to the switch.

I am running BIOS6.3, with NDK 2.1.0. I have had Ethernet running on the EVM for a few months now.

I'm using modified EMV driver code. I have removed the MDIO code in the driver, and have replaced it with the following:

CSL_FINST(((EMAC_Device*)(pi->hEther))->emacRegs->MACCONTROL, EMAC_MACCONTROL_FULLDUPLEX, ENABLE );
CSL_FINST(((EMAC_Device*)(pi->hEther))->emacRegs->MACCONTROL, EMAC_MACCONTROL_GIG, ENABLE );
CSL_FINST(((EMAC_Device*)(pi->hEther))->emacRegs->MACCONTROL, EMAC_MACCONTROL_GIGFORCE, ENABLE );
CSL_FINST(((EMAC_Device*)(pi->hEther))->emacRegs->MACCONTROL, EMAC_MACCONTROL_RGMIIEN, DISABLE );
CSL_FINST(((EMAC_Device*)(pi->hEther))->emacRegs->MACCONTROL, EMAC_MACCONTROL_GMIIEN, ENABLE );