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.

LCDK6748 EMAC implementation for RMII

I have built the starterware software example "enet_echo" for the LCDK6748 development kit.  The app runs correctly on the LCDK6748 hardware.

The LCDK6748 hardware  uses a MII implementation for the EMAC interface.

I have built a C6748 board that uses a RMII implementation for the EMAC interface.

Do the EMAC drivers support the RMII implementation?

If yes, what software changes/settings in the driver are required to make the EMAC drivers work with the RMII implementation?

Regards,

John

  • Dear John,
    1) You have to configure the CFGCHIP3 register for RMII mode.
    2) You have to do PINMUX for apprpriate RMII pins.
    3) Also you have to make sure that RMII clock (50MHz) is proper.

    PINMUX15_3_0 = 0x8 => RMII 50MHz clock from PLL0_SYSCLK7
    PINMUX15_3_0 = 0x0 => RMII 50MHz clock from external source
  • Titus S.

    Thanks for your reply.

    I had 1 and 2 set correctly but missed (3).

    The RMII clock is now set for external.

    UDP connect now returns without error so the EMAC drivers seems to be configured for RMII mode.

    udp_send() also returns without error and the router lights blink indicating that there is activity on the Ethernet lines.

    However the packet does not arrive at the destination.  the IP addresses and ports are all set correctly.

    Wireshark does not see the packet.

    John L