MCB2300: ETHERNET INTERFACE FAILS ON A-STEP DEVICES
Information in this article applies to:
I have sucessfully used the Ethernet interface on the LPC2378 devices with the Real-Time Library. Now we have got new A-Step devices and the Ethernet interface seems to fail.
Is this a known issue?
In the first revisions of the LPC2364/66/68/78 or LPC2468 devices, there was a bug called Ethernet.1 described in the current LPC23xx/LPC2468 Errata Sheets as follows:
Ethernet.1: Setting up the Ethernet interface in RMII mode.
Introduction: The LPC2378 has an Ethernet interface, which can be interface with an off-chip PHY using the RMII interface only. The MII interface is not supported on this device.
Problem: The default configuration of the device does not enable the RMII interface.
Workaround: To use the Ethernet interface in RMII mode write a 1 to bit 12 in PINSEL2 register (located at 0xE002C008).
To support both Rev '-' and Rev 'A' devices in the same driver interface, the MAC module ID bit can be used to identify the part and determine if bit 12 in PINSEL2 register needs to be set or not.
The steps to initialize the MAC based on the module ID are shown below. The code is part of the Real-Time Library driver file LPC23_EMAC.C:
The following Discussion Forum threads may provide information related to this topic.
Last Reviewed: Wednesday, September 5, 2007
of your data.