English
Language : 

PDIUSBH11 Datasheet, PDF (10/26 Pages) NXP Semiconductors – Universal Serial Bus Hub
Philips Semiconductors
Universal Serial Bus Hub
Product specification
PDIUSBH11
Read Last Transaction Status
Command
: 40–44h
Data
: Read 1 byte
The Read Last Transaction Status command is followed by one data read that returns the status of the last transaction of the endpoint. This
command also resets the corresponding interrupt flag in the interrupt register, and clears the status, indicating that it was read.
This command is useful for debugging purposes. Since it keeps track of every transaction, the status information is overwritten for each new
transaction.
765 43 2 10
000 00 0 00
POWER ON VALUE
DATA RECEIVE / TRANSMIT SUCCESS
ERROR CODE (SEE TABLE 1)
SETUP PACKET
DATA 0/1 PACKET
PREVIOUS STATUS NOT READ
DATA RECEIVE / TRANSMIT SUCCESS A ‘1’ INDICATES DATA HAS BEEN RECEIVED OR TRANSMITTED SUCCESSFULLY
ERROR CODE
SEE TABLE 1
SETUP PACKET
DATA 0/1 PACKET
PREVIOUS STATUS NOT READ
A ‘1’ INDICATES THE LAST RECEIVED PACKET HAD A SETUP TOKEN (THIS ALWAYS READ ‘0’ FOR IN BUFFERS.
A ‘1’ INDICATES THAT THE LAST RECEIVED OR SENT PACKET HAD A DATA1 PID
A ‘1’ INDICATES A SECOND EVENT OCCURRED BEFORE THE PREVIOUS STATUS WAS READ.
Table 1.
ERROR CODE
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1101
1111
SV00507
RESULT
No Error
PID Encoding Error, Bits 7–4 are not the inversion of bits 3–0
PID Unknown, encoding is valid, but PID does not exist
Unexpected Packet, Packet is not of the type expected (= token, data or acknowledge), or SETUP token to a
non-control endpoint
Token CRC Error
Data CRC Error
Time Out Error
Babble Error
Unexpected End of Packet
Sent or Received NAK
Sent Stall, a token was received, but the endpoint was stalled
Overflow Error, the received packet was longer than the available buffer space
Bitstuff Error
Wrong DATA PID, the received DATA PID was not the expected one
1997 Aug 01
10