
2003 Jul 04
43
Philips Semiconductors
Product specification
USB smart card reader (OTP or ROM)
TDA8030; TDA8031
Table 45
Description of the Power-on value for Set end-point status bits
Table 46
Data buffer organization (read)
Notes
1.
Bit 7 of Byte 0 indicates whether the packet in the buffer was received successfully over the USB-bus. When this bit
is set to logic 1, the packet was received successfully.
Bit 6 of Byte 0 indicates whether the packet in the buffer is a set-up packet.
2.
Table 47
Data buffer organization (write)
Table 48
Power-on value for Clear buffer
FUNCTION
DESCRIPTION
Stall
Disable
If set to logic 1, the end-point is stalled.
If set to logic 1, the end-point is disabled. After a bus reset; each end-point is enabled, i.e. this
bit is set to logic 0.
If set to logic 0, the interrupt end-point is in toggle mode. If set to logic 1, the interrupt end-point
is in rate feedback mode.
If set to logic 1, an event on the end-point causes an interrupt to the microcontroller.
If set to logic 1, both end-points zero are stalled; unless the set-up packet bit is set.
A stalled control end-point is automatically unstalled when it receives a SET-UP token,
regardless of the content of the packet. If the end-point stays in the stalled state, the
microcontroller should re-install it.
When a stalled end-point is unstalled (either by the Set end-point status command or by
receiving a Set-up token) it is also re-initialized. This flushes the buffer: in case of an output
buffer, it waits for a DATA 0 PID; in case of an input buffer, it writes a DATA 0 PID. Even when
unstalled, setting the stalled bit to logic 0 initializes the end-point.
When an end-point is stalled by the Set end-point status command, it is also re-initialized.
Rate feedback
mode
Interrupt unmasked
Conditional stall
BYTE
7
(1)
6
(2)
5
4
3
2
1
0
Byte 0
Byte 1
Byte 2
....
Byte n + 1
0/1
0/1
0
number of data bytes in buffer
data byte 0
data byte n
1
BYTE
7
6
5
4
3
2
1
0
Byte 0
Byte 1
Byte 2
....
Byte n + 1
0
number of data bytes in buffer
data byte 0
data byte n
1
FUNCTION
7
6
5
4
3
2
1
0
Packet overwritten
Reserved
0