tda8031hl-c107 NXP Semiconductors, tda8031hl-c107 Datasheet - Page 41

no-image

tda8031hl-c107

Manufacturer Part Number
tda8031hl-c107
Description
Usb Smart Card Reader Otp Or Rom
Manufacturer
NXP Semiconductors
Datasheet
Philips Semiconductors
Table 41 End-point commands
2003 Jul 04
Select end-point
Select End-point/
Clear Interrupt
Set end-point status The Set end-point status command sets status bits 7 to 5 and 0 of the end-point. The command
Read buffer
Write buffer
Clear buffer
Validate buffer
USB smart card reader (OTP or ROM)
COMMAND
Optionally, this command can be followed by a data read, which returns some additional
information on the packet in the buffer. The command code of the select end-point is equal to
the physical end-point number. The power-on value is given in Tables 42 and 43.
These commands are identical to Select End-point commands, but with the following
differences:
code is equal to the sum of 40H and the physical end-point number. Not all bits can be set for all
types of end-points. The power-on value is given in Tables 44 and 45.
The Read buffer command is followed by a number of data reads, which return the contents of
the selected end-point data buffer. After each read, the internal buffer pointer is incremented.
The buffer pointer is not reset to the beginning of the buffer by the Read buffer command. This
means that reading a buffer can be interrupted by any other command (except for the Select
end-point).
The data buffer organization is given in Table 46.
The Write buffer command is followed by a number of data writes, which load the data buffer of
the selected end-point. After each write, the internal buffer pointer is incremented
The buffer pointer is not reset to the beginning of the buffer by the Write buffer command. This
means that writing to a buffer can be interrupted by any other command (except for the Select
end-point and Select end-point/Clear Interrupt).
The data buffer organization is given in Table 47.
When a packet sent by the host has been received successfully, an internal end-point buffer full
flag is set. All subsequent packets will be refused by returning a NAK. When the microcontroller
has read the data, it should free the buffer by the Clear buffer command. When the buffer is
cleared, new packets will be accepted.
When bit 0 of the optional data byte is set to logic 1, the previously received packet was
overwritten by a set-up packet.
A buffer cannot be cleared when its Packet overwritten bit is set. The power-on value is given in
Table 48.
When the microcontroller has written data into an input buffer, it should set the buffer full flag by
the Validate buffer command. This indicates that the data in the buffer is valid and can be sent
to the host when the next input token is received.
A control input buffer cannot be validated when the Packet overwritten bit of its corresponding
output buffer is set.
The select end-point command initializes an internal pointer to the start of the selected buffer.
They clear the associated interrupt
In the event of a control output end-point; they clear the set-up and overwritten bits
The read one byte is mandatory.
41
DESCRIPTION
TDA8030; TDA8031
Product specification

Related parts for tda8031hl-c107