UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
738 of 1269
NXP Semiconductors
UM10503
Chapter 26: LPC43xx Ethernet
26.7.5.1 Initialization
Follow these steps to initialize the ethernet controller:
1. Write to DMA Register
to set Host bus access parameters.
2. Write to DMA Register
to mask unnecessary interrupt causes.
3. The software driver creates the Transmit and Receive descriptor lists. Then it writes to
both DMA Register
and DMA Register
, providing the DMA with
the starting address of each list.
4. Write to MAC Registers
,
, and
for desired filtering
options.
5. Write to MAC Register
to configure the operating mode and enable the
transmit operation (bit 3: Transmitter Enable). The PS and DM bits are set based on
the auto-negotiation result (read from the PHY).
6. Write to DMA Register
to set bits 13 and 1 to start transmission and
reception.
7. Write to MAC Register
to enable the Receive operation (bit 2: Receiver
Enable).
Fig 71. Descriptor ring and chain structure
Descriptor 0
Buffer 1
Buffer 2
Descriptor 1
Descriptor 2
Buffer 1
Buffer 2
Buffer 1
Buffer 2
Descriptor n
Buffer 1
Buffer 2
Ring Structure
Descriptor 0
Buffer 1
Chain Structure
Descriptor 1
Buffer 1
Descriptor 2
Buffer 1
Next Descriptor