English
Language : 

TDA8031 Datasheet, PDF (37/57 Pages) NXP Semiconductors – USB smart card reader (OTP or ROM)
Philips Semiconductors
USB smart card reader (OTP or ROM)
Product specification
TDA8030; TDA8031
8.5.6 USB REGISTERS
A first MOVX@DPTR instruction enables the module to be
selected (via DPH) and send the command. A second one
communicates the data (read or write).
8.5.7 INSTRUCTION SET
8.5.7.1 Overview
Table 31 summarizes all commands that can be used by
the embedded microcontroller.
Table 31 Instruction set
COMMAND NAME
RECIPIENT
Device commands; see Table 32
Set address
device
Set end-points enable device
Set mode
device
Read interrupt
register
device
Read current frame device
number
Read chip ID
device
Get device status
device
Set device status
device
Debug command: get device
error code
End-point commands; see Table 41
Select end-point
Select end-point/clear
interrupt
Set end-point status
Read buffer
Write buffer
Clear buffer
Validate buffer
control output
control input
end-point 1 output
end-point 1 input
end-point 2 input
end-point 3 input
control output
control input
end-point 1 output
end-point 1 input
end-point 2 input
end-point 3 input
control output
control input
end-point 1 output
end-point 1 input
end-point 2 input
end-point 3 input
selected end-point
selected end-point
selected end-point
selected end-point
CODING
0XD0H
0XD8H
0XF3H
0XF4H
0XF5H
0XFDH
0XFEH
0XFEH
0XFFH
0X00H
0X01H
0X02H
0X03H
0X04H
0X05H
0X40H
0X41H
0X42H
0X43H
0X44H
0X45H
0X40H
0X41H
0X42H
0X43H
0X44H
0X45H
0XF0H
0XF0H
0XF2H
0XFAH
FUNCTION
set address
set EP enable
set mode
DATA PHASE
write 1 byte
write 1 byte
write 1 byte
read 1 byte
read 1 or 2 bytes
read 2 bytes
read 1 byte
write 1 byte
read 1 byte
select EP0 output
select EP0 input
read 1 byte (optional)
read 1 byte (optional)
read 1 byte (optional)
read 1 byte (optional)
read 1 byte (optional)
read 1 byte (optional)
read 1 byte
read 1 byte
read 1 byte
read 1 byte
read 1 byte
read 1 byte
write 1 byte
write 1 byte
write 1 byte
write 1 byte
write 1 byte
write 1 byte
read n + 2 bytes
write n + 2 bytes
read 1 byte (optional)
none
2003 Jul 04
37