Read Error Status (Command: 0Xfb, Data: Read 1 Byte) - Philips LPC214 Series User Manual

Table of Contents

Advertisement

Philips Semiconductors
Volume 1
Table 230: Get Error Code Register bit description
Bit
3:0
4
7:5

14.9.9 Read Error Status (Command: 0xFB, Data: read 1 byte)

This command reads the 8 bit Error register from the USB device. If any of these bits is
set, there will be an interrupt to the CPU. The error bits are reset after reading the register.
Table 231: Read Error Status Register bit description
Bit
0
1
2
3
4
5
6
7
9397 750 XXXXX
User manual
Symbol Value
Description
EC
Error Code.
0000
No Error.
0001
PID Encoding Error.
0010
Unknown PID.
0011
Unexpected Packet - any packet sequence violation from the
specification.
0100
Error in Token CRC.
0101
Error in Data CRC.
0110
Time Out Error.
0111
Babble.
1000
Error in End of Packet.
1001
Sent/Received NAK.
1010
Sent Stall.
1011
Buffer Overrun Error.
1100
Sent Empty Packet (ISO Endpoints only).
1101
Bitstuff Error.
1110
Error in Sync.
1111
Wrong Toggle Bit in Data PID, ignored data.
EA
-
The Error Active bit will be reset once this register is read.
-
Reserved, user software should not write ones to reserved bits.
The value read from a reserved bit is not defined.
Symbol
Description
PID_ERR
PID encoding error or Unknown PID or Token CRC.
UEPKT
Unexpected Packet - any packet sequence violation from the
specification.
DCRC
Data CRC error.
TIMEOUT
Time out error.
EOP
End of packet error.
B_OVRN
Buffer Overrun.
BTSTF
Bit stuff error.
TGL_ERR
Wrong toggle bit in data PID, ignored data.
Rev. 01 — 15 August 2005
UM10139
Chapter 14: USB Device Controller
© Koninklijke Philips Electronics N.V. 2005. All rights reserved.
Reset
value
0x0
NA
Reset value
0
0
0
0
0
0
0
0
227

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2148Lpc2141Lpc2142Lpc2144Lpc2146

Table of Contents