
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
135 of 808
NXP Semiconductors
UM10360
Chapter 10: LPC17xx Ethernet
12.15 Receive Status Vector Register (RSV - 0x5000 0160)
The Receive status vector register (RSV) is a Read Only register with an address of
0x5000 0160. The receive status vector register stores the most recent receive status
returned by the MAC. This register is provided for debug purposes, because the
communication between driver software and the Ethernet block takes place primarily
through the frame descriptors. The status register contents are valid as long as the
internal status of the MAC is valid and should typically only be read when the transmit and
receive processes are halted.
lists the bit definitions of the RSV register.
[1]
The EMAC doesn't distinguish the frame type and frame length, so, e.g. when the IP(0x8000) or
ARP(0x0806) packets are received, it compares the frame type with the max length and gives the "Length
out of range" error. In fact, this bit is not an error indication, but simply a statement by the chip regarding the
status of the received frame.
Table 140. Receive Status Vector register (RSV - address 0x5000 0160) bit description
Bit
Symbol
Function
Reset
value
15:0
Received byte count
Indicates length of received frame.
0x0
16
Packet previously
ignored
Indicates that a packet was dropped.
0
17
RXDV event
previously seen
Indicates that the last receive event seen was not long
enough to be a valid packet.
0
18
Carrier event
previously seen
Indicates that at some time since the last receive statistics,
a carrier event was detected.
0
19
Receive code
violation
Indicates that received PHY data does not represent a
valid receive code.
0
20
CRC error
The attached CRC in the packet did not match the
internally generated CRC.
0
21
Length check error
Indicates the frame length field does not match the actual
number of data items and is not a type field.
0
22
Length out of range
Indicates that frame type/length field was larger than
1518 bytes.
0
23
Receive OK
The packet had valid CRC and no symbol errors.
0
24
Multicast
The packet destination was a multicast address.
0
25
Broadcast
The packet destination was a broadcast address.
0
26
Dribble Nibble
Indicates that after the end of packet another 1-7 bits were
received. A single nibble, called dribble nibble, is formed
but not sent out.
0
27
Control frame
The frame was a control frame.
0
28
PAUSE
The frame was a control frame with a valid PAUSE
opcode.
0
29
Unsupported Opcode The current frame was recognized as a Control Frame but
contains an unknown opcode.
0
30
VLAN
Frame’s length/type field contained 0x8100 which is the
VLAN protocol identifier.
0
31
-
Unused
0x0