English
Language : 

TDA8031 Datasheet, PDF (40/57 Pages) NXP Semiconductors – USB smart card reader (OTP or ROM)
Philips Semiconductors
USB smart card reader (OTP or ROM)
Product specification
TDA8030; TDA8031
Table 38 Set device status command function bits
FUNCTION
Suspend
Suspend Change
Bus reset
DESCRIPTION
The Suspend bit represents the current Suspend state. It is logic 1 when the device has not seen
any activity on its upstream port for more than 3 ms. It is reset to logic 0 on any activity.
When the device is suspended, (Suspend bit = 1) and the microcontroller writes logic 0 into it,
the device will generate a remote wake-up. When the device is not suspended, writing a logic 0
has no effect. Writing a logic 1 in this register has no an effect.
The Suspend Change bit is set to logic 1 when the Suspend bit toggles. The Suspend bit can
toggle because:
• The device goes into the suspended state
• The device receives resume signalling on its upstream port
• The Suspend Change bit is reset after the register has been read.
The Bus reset bit is set when the device receives a bus reset. It is cleared when read. On a bus
reset, the device will automatically go to the default state (unconfigured and responding to
address 0).
Table 39 Power-on value for Get Error Code
FUNCTION
7
6
5
4
3
2
1
0
Error code
−
−
−
−
0
0
0
0
Error occurred
Reserved
−
−
−
0
−
−
−
−
−
−
−
−
−
−
−
−
Table 40 Error codes
ERROR CODE[3:0]
0000
0001
0010
0011
0100
0101
0110
0111
1000
1001
1010
1011
1100
1101
1110
1111
DESCRIPTION
no error
PID encoding error
unknown PID
unexpected packet
error in token CRC
error in data CRC
time-out error
babble
error in end of packet
sent NAK
sent Stall
buffer overrun error
reserved
bitstuff error
error in sync
wrong toggle bit in data PID; ignored data
2003 Jul 04
40