tda8031hl-c107 NXP Semiconductors, tda8031hl-c107 Datasheet - Page 38
![no-image](/images/manufacturer_photos/0/4/487/nxp_semiconductors_sml.jpg)
tda8031hl-c107
Manufacturer Part Number
tda8031hl-c107
Description
Usb Smart Card Reader Otp Or Rom
Manufacturer
NXP Semiconductors
Datasheet
1.TDA8031HL-C107.pdf
(57 pages)
Philips Semiconductors
Table 32 Device commands
Table 33 Power-on value for Set address
Notes
1. The value written becomes the address.
2. A logic 1 enables the function.
After a bus reset, the address is reset to 000 0000. The enable bit is set. The device will respond on packets for function
address 000 0000, end-point 0 (default end-point).
2003 Jul 04
Set address
Set end-points
enable
Set Mode
Read interrupt
register
Read Current
Frame Number
Read chip ID
Get Device
Status
Set Device
Status
Debug
command: Get
Error Code
Device
address
Enable
USB smart card reader (OTP or ROM)
COMMAND
FUNCTION
(2)
(1)
The set address command is used to set the USB assigned address and to enable the function. In
the event that the status phase of the set address transaction is not successful, the device address
will not be updated. The power-on value is given in Table 33.
A value of 1 written to the register indicates that the non-control end-points are enabled. The
power-on value is given in Table 34.
The default value is logic 0; if logic 1 is written in this register, then NAKing is reported and will
generate an interrupt. When set to logic 0, only successful transactions are reported.
This command indicates the origin of an interrupt. The end-point interrupt bits are cleared by the
Select end-point/Clear Interrupt command. The power-on value is given in Table 35.
The Read Current Frame Number returns the frame number of the last received Start Of Frame
(SOF). The frame number is eleven bits wide. The frame number is returned LSB first, so, if the
user is only interested in the lower 8 bits of the frame number, only the first byte needs to be read;
see Table 36.
The frame number returned by this commend can be invalid in the event of one of the following
conditions:
The chip Identification is 16 bits wide. The command divides the ID into bytes and returns the least
significant byte first: For the TDA8030; TDA8031, the ID is fixed at 2B00H.
The Get Device Status command returns the Device Status Register; refer to the Set Device Status
command
The Set Device Status command sets bits in the Device Status Register.
In Table 37, the Type column indicates if the bit can be written and if the bit is cleared after reading
the register. The Interrupt column indicates if the bit generates an interrupt when it is set.
The Get Error Code command returns the error code of the last generated error; this command is
for debugging purpose. The 4 least significant bits form the error code. Bit 4 (Error Occurred) can
be cleared by each new transfer. The power-on value is given in Table 39.
This command is only useful during debugging.
Table 40 gives an overview of the Error Codes.
If no SOF was received by the device at the beginning of a frame, the frame number returned is
that of the last successfully received SOF
If the SOF frame number contained a CRC error, the frame number received will be the corrupted
frame number as received by the device.
7
0
6
0
5
0
38
DESCRIPTION
4
0
3
0
TDA8030; TDA8031
2
0
Product specification
1
0
0
0