Nxp semiconductors – NXP Semiconductors LPC24XX UM10237 User Manual
Page 779
![background image](/manuals/190592/779/background.png)
UM10237_4
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 04 — 26 August 2009
779 of 792
NXP Semiconductors
UM10237
Chapter 36: LPC24XX Supplementary information
Maximum Frame Register (MAXF -
0xFFE0 0014) . . . . . . . . . . . . . . . . . . . . . . . . 224
PHY Support Register (SUPP -
0xFFE0 0018) . . . . . . . . . . . . . . . . . . . . . . . . 224
Test Register (TEST - 0xFFE0 001C). . . . . . 224
MII Mgmt Command Register (MCMD -
0xFFE0 0024) . . . . . . . . . . . . . . . . . . . . . . . . 225
MII Mgmt Address Register (MADR -
0xFFE0 0028) . . . . . . . . . . . . . . . . . . . . . . . . 226
MII Mgmt Write Data Register (MWTD -
0xFFE0 002C) . . . . . . . . . . . . . . . . . . . . . . . 226
MII Mgmt Read Data Register (MRDD -
0xFFE0 0030) . . . . . . . . . . . . . . . . . . . . . . . . 226
Station Address 0 Register (SA0 -
0xFFE0 0040) . . . . . . . . . . . . . . . . . . . . . . . . 227
Station Address 1 Register (SA1 -
0xFFE0 0044) . . . . . . . . . . . . . . . . . . . . . . . . 227
Station Address 2 Register (SA2 -
0xFFE0 0048) . . . . . . . . . . . . . . . . . . . . . . . . 228
Control register definitions . . . . . . . . . . . . . . 228
Command Register (Command -
0xFFE0 0100) . . . . . . . . . . . . . . . . . . . . . . . . 228
Status Register (Status - 0xFFE0 0104) . . . . 229
Receive Descriptor Base Address Register
(RxDescriptor - 0xFFE0 0108) . . . . . . . . . . . 229
Receive Number of Descriptors Register
(RxDescriptor - 0xFFE0 0110) . . . . . . . . . . . 230
Receive Produce Index Register
(RxProduceIndex - 0xFFE0 0114) . . . . . . . . 230
Receive Consume Index Register
(RxConsumeIndex - 0xFFE0 0118) . . . . . . . 231
Transmit Descriptor Base Address Register
(TxDescriptor - 0xFFE0 011C) . . . . . . . . . . . 231
Transmit Number of Descriptors Register
(TxDescriptorNumber - 0xFFE0 0124) . . . . . 232
Transmit Produce Index Register
(TxProduceIndex - 0xFFE0 0128) . . . . . . . . 232
Transmit Consume Index Register
(TxConsumeIndex - 0xFFE0 012C) . . . . . . . 233
Receive Status Vector Register (RSV -
0xFFE0 0160) . . . . . . . . . . . . . . . . . . . . . . . 234
Flow Control Counter Register
(FlowControlCounter - 0xFFE0 0170) . . . . . 235
Receive filter register definitions . . . . . . . . . 236
Receive Filter WoL Status Register
(RxFilterWoLStatus - 0xFFE0 0204) . . . . . . 237
Receive Filter WoL Clear Register
(RxFilterWoLClear - 0xFFE0 0208) . . . . . . . 237
Module control register definitions . . . . . . . . 238
Interrupt Clear Register (IntClear -
0xFFE0 0FE8) . . . . . . . . . . . . . . . . . . . . . . . 240
Interrupt Set Register (IntSet -
0xFFE0 0FEC) . . . . . . . . . . . . . . . . . . . . . . . 240
Power-Down Register (PowerDown -
0xFFE0 0FF4) . . . . . . . . . . . . . . . . . . . . . . . 241
Descriptor and status formats . . . . . . . . . . . 241
Receive descriptors and statuses . . . . . . . . 241
Transmit descriptors and statuses . . . . . . . . 245
Ethernet block functional description. . . . . 247
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
AHB interface. . . . . . . . . . . . . . . . . . . . . . . . 248
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Direct Memory Access (DMA) . . . . . . . . . . . 248
Initialization . . . . . . . . . . . . . . . . . . . . . . . . . 251
Transmit process . . . . . . . . . . . . . . . . . . . . . 252
Receive process . . . . . . . . . . . . . . . . . . . . . 258
Transmission retry . . . . . . . . . . . . . . . . . . . . 264
Status hash CRC calculations . . . . . . . . . . . 264
Duplex modes . . . . . . . . . . . . . . . . . . . . . . . 265
IEE 802.3/Clause 31 flow control. . . . . . . . . 265
Half-Duplex mode backpressure . . . . . . . . . 267
Receive filtering . . . . . . . . . . . . . . . . . . . . . . 268
Power management. . . . . . . . . . . . . . . . . . . 270
Wake-up on LAN . . . . . . . . . . . . . . . . . . . . . 271
Enabling and disabling receive and transmit 272
Transmission padding and CRC . . . . . . . . . 274
Huge frames and frame length checking . . . 275
Statistics counters . . . . . . . . . . . . . . . . . . . . 275
MAC status vectors . . . . . . . . . . . . . . . . . . . 275
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
Ethernet errors . . . . . . . . . . . . . . . . . . . . . . . 277
AHB bandwidth . . . . . . . . . . . . . . . . . . . . . . 277
DMA access. . . . . . . . . . . . . . . . . . . . . . . . . 277
Types of CPU access. . . . . . . . . . . . . . . . . . 279
Overall bandwidth . . . . . . . . . . . . . . . . . . . . 279