
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
129 of 808
NXP Semiconductors
UM10360
Chapter 10: LPC17xx Ethernet
All bits can be written and read. The Tx/RxReset bits are write only, reading will return a 0.
12.2 Status Register (Status - 0x5000 0104)
The Status register (Status) is a Read Only register with an address of 0x5000 0104. Its bit
definition is shown in
.
The values represent the status of the two channels/data paths. When the status is 1, the
channel is active, meaning:
•
It is enabled and the Rx/TxEnable bit is set in the Command register or it just got
disabled while still transmitting or receiving a frame.
•
Also, for the transmit channel, the transmit queue is not empty
i.e. ProduceIndex != ConsumeIndex.
•
Also, for the receive channel, the receive queue is not full
i.e. ProduceIndex != ConsumeIndex - 1.
The status transitions from active to inactive if the channel is disabled by a software reset
of the Rx/TxEnable bit in the Command register and the channel has committed the status
and data of the current frame to memory. The status also transitions to inactive if the
transmit queue is empty or if the receive queue is full and status and data have been
committed to memory.
12.3 Receive Descriptor Base Address Register (RxDescriptor -
0x5000 0108)
The Receive Descriptor base address register (RxDescriptor) has an address of
0x5000 0108. Its bit definition is shown in
.
7
PassRxFilter
When set to ’1’, disables receive filtering i.e. all frames
received are written to memory.
0
8
TxFlowControl
Enable IEEE 802.3 / clause 31 flow control sending pause
frames in full duplex and continuous preamble in half duplex.
0
9
RMII
When set to “1”, RMII mode is selected. This bit must be set to
one during Ethernet initialization. See
.
0
10
FullDuplex
When set to “1”, indicates full duplex operation.
0
31:11
-
Unused
0x0
Table 126. Command register (Command - address 0x5000 0100) bit description
Bit
Symbol
Function
Reset
value
Table 127. Status register (Status - address 0x5000 0104) bit description
Bit
Symbol
Function
Reset
value
0
RxStatus If 1, the receive channel is active. If 0, the receive channel is inactive.
0
1
TxStatus
If 1, the transmit channel is active. If 0, the transmit channel is inactive. 0
31:2
-
Unused
0x0