|
|||||||||||
Technical Support Support Resources
Product Information |
MCB2300: Ethernet Interface Fails on A-Step DevicesInformation in this article applies to:
QUESTIONI have successfully 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? ANSWERIn 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:
MORE INFORMATION
SEE ALSOLast Reviewed: Tuesday, February 23, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.