English
Language : 

PDIUSBD12 Datasheet, PDF (18/35 Pages) NXP Semiconductors – USB interface device with parallel bus
Philips Semiconductors
PDIUSBD12
USB interface device with parallel bus
This command is useful for debugging purposes. Since it keeps track of every
transaction, the status information is overwritten for each new transaction.
9397 750 09238
Product data
See Table 9 for bit allocation.
Fig 13. Read last transaction status register.
Table 9: Read last transaction status register: bit allocation
Bit Symbol
Description
7
PREVIOUS STATUS A ‘1’ indicates a second event occurred before the
NOT READ
previous status was read.
6
DATA 0/1 PACKET
A ‘1’ indicates the last successful received or sent packet
had a DATA1 PID.
5
SETUP PACKET
A ‘1’ indicates the last successful received packet had a
SETUP token (this will always read ‘0’ for IN buffers).
4 to 1 ERROR CODE
See Table 10 “Error codes”.
0
DATA
A ‘1’ indicates data has been received or transmitted
RECEIVE/TRANSMIT successfully.
SUCCESS
Table 10: Error codes
Error
code (Binary)
Description
0000
No Error
0001
PID encoding Error; bits 7 to 4 are not the inversion of bits 3 to 0
0010
PID unknown; encoding is valid, but PID does not exist
0011
Unexpected packet; packet is not of the type expected (= token, data or
acknowledge), or SETUP token to a non-control endpoint
0100
Token CRC Error
0101
Data CRC Error
0110
Time Out Error
0111
Never happens
1000
Unexpected End-Of-Packet
1001
Sent or received NAK
1010
Sent Stall, a token was received, but the endpoint was stalled
Rev. 08 — 20 December 2001
© Koninklijke Philips Electronics N.V. 2001. All rights reserved.
18 of 35