
DR
AFT
DR
AFT
DRAFT
DR
D
RAFT
DRAFT
DRA
FT DRAF
D
RAFT DRAFT DRAFT DRAFT DRAFT D
DRAFT
D
RAFT DRA
FT DRAFT DRAFT DRAFT DRA
UM10360_0
© NXP B.V. 2009. All rights reserved.
User manual
Rev. 00.06 — 5 June 2009
118 of 808
NXP Semiconductors
UM10360
Chapter 10: LPC17xx Ethernet
10. Registers and software interface
The software interface of the Ethernet block consists of a register view and the format
definitions for the transmit and receive descriptors. These two aspects are addressed in
the next two subsections.
10.1 Register map
lists the registers, register addresses and other basic information. The total
AHB address space required is 4 kilobytes.
After a hard reset or a soft reset via the RegReset bit of the Command register all bits in
all registers are reset to 0 unless stated otherwise in the following register descriptions.
Some registers will have unused bits which will return a 0 on a read via the AHB interface.
Writing to unused register bits of an otherwise writable register will not have side effects.
The register map consists of registers in the Ethernet MAC and registers around the core
for controlling DMA transfers, flow control and filtering.
Reading from reserved addresses or reserved bits leads to unpredictable data. Writing to
reserved addresses or reserved bits has no effect.
Reading of write-only registers will return a read error on the AHB interface. Writing of
read-only registers will return a write error on the AHB interface.
Table 106. Register definitions
Symbol
Address
R/W Description
MAC registers
MAC1
0x5000 0000
R/W MAC configuration register 1.
MAC2
0x5000 0004
R/W MAC configuration register 2.
IPGT
0x5000 0008
R/W Back-to-Back Inter-Packet-Gap register.
IPGR
0x5000 000C
R/W Non Back-to-Back Inter-Packet-Gap register.
CLRT
0x5000 0010
R/W Collision window / Retry register.
MAXF
0x5000 0014
R/W Maximum Frame register.
SUPP
0x5000 0018
R/W PHY Support register.
TEST
0x5000 001C
R/W Test register.
MCFG
0x5000 0020
R/W MII Mgmt Configuration register.
MCMD
0x5000 0024
R/W MII Mgmt Command register.
MADR
0x5000 0028
R/W MII Mgmt Address register.
MWTD
0x5000 002C
WO
MII Mgmt Write Data register.
MRDD
0x5000 0030
RO
MII Mgmt Read Data register.
MIND
0x5000 0034
RO
MII Mgmt Indicators register.
-
0x5000 0038 to
0x5000 00FC
-
Reserved, user software should not write ones to
reserved bits. The value read from a reserved bit
is not defined.
SA0
0x5000 0040
R/W Station Address 0 register.
SA1
0x5000 0044
R/W Station Address 1 register.
SA2
0x5000 0048
R/W Station Address 2 register.