
2003 Jul 04
37
Philips Semiconductors
Product specification
USB smart card reader (OTP or ROM)
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
I
NSTRUCTION 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
CODING
FUNCTION
DATA PHASE
Device commands;
see Table 32
Set address
Set end-points enable device
Set mode
Read interrupt
register
Read current frame
number
Read chip ID
Get device status
Set device status
Debug command: get
error code
device
0XD0H
0XD8H
0XF3H
0XF4H
set address
set EP enable
set mode
write 1 byte
write 1 byte
write 1 byte
read 1 byte
device
device
device
0XF5H
read 1 or 2 bytes
device
device
device
device
0XFDH
0XFEH
0XFEH
0XFFH
read 2 bytes
read 1 byte
write 1 byte
read 1 byte
End-point commands;
see Table 41
Select end-point
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
0X00H
0X01H
0X02H
0X03H
0X04H
0X05H
0X40H
0X41H
0X42H
0X43H
0X44H
0X45H
0X40H
0X41H
0X42H
0X43H
0X44H
0X45H
0XF0H
0XF0H
0XF2H
0XFAH
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
Selectend-point/clear
interrupt
Set end-point status
Read buffer
Write buffer
Clear buffer
Validate buffer