![NXP Semiconductors LPC43Sxx User Manual Download Page 879](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_1721827879.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
879 of 1441
NXP Semiconductors
UM10503
Chapter 28: LPC43xx/LPC43Sxx Ethernet
28.7.6.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 84. 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