Philips PDIUSBD12 Product Data page 18

Usb interface device with parallel bus
Hide thumbs Also See for PDIUSBD12:
Table of Contents

Advertisement

Philips Semiconductors
9397 750 09238
Product data
This command is useful for debugging purposes. Since it keeps track of every
transaction, the status information is overwritten for each new transaction.
See
Table 9
for bit allocation.
Fig 13. Read last transaction status register.
Table 9:
Read last transaction status register: bit allocation
Bit
Symbol
7
PREVIOUS STATUS
NOT READ
6
DATA 0/1 PACKET
5
SETUP PACKET
4 to 1
ERROR CODE
0
DATA
RECEIVE/TRANSMIT
SUCCESS
Table 10:
Error codes
Error
Description
code (Binary)
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
USB interface device with parallel bus
Description
A '1' indicates a second event occurred before the
previous status was read.
A '1' indicates the last successful received or sent packet
had a DATA1 PID.
A '1' indicates the last successful received packet had a
SETUP token (this will always read '0' for IN buffers).
See
Table 10 "Error
codes".
A '1' indicates data has been received or transmitted
successfully.
© Koninklijke Philips Electronics N.V. 2001. All rights reserved.
PDIUSBD12
18 of 35

Advertisement

Table of Contents
loading

Table of Contents