English
Language : 

SAA8116 Datasheet, PDF (43/60 Pages) NXP Semiconductors – Digital PC-camera signal processor including microcontroller and USB interface
Philips Semiconductors
Digital PC-camera signal processor including
microcontroller and USB interface
Product specification
SAA8116
USB registers
A first MOVX@DPTR instruction enables module selection (via DPH) and command transmission. A second MOVX
communicates the data (read or write).
Table 49 Register list
ADDRESS
NAME
FUNCTION
FORMAT
Write registers
208 0xD0H SET_ADDRESS
set address
see Table 50
216 0xD8H SET_EP_ENABLE
243 0xF3H GETSET_MODE
set EP enable
set mode
see Table 51
see Table 52
Read registers
0 0x00H SELECT_EP0_out
1 0x01H SELECT_EP0_in
select EP 0 out
select EP 0 in
see Table 53
see Table 53
2 0x02H SELECT_EP1_OUT
select EP 1 out
see Table 53
3 0x03H SELECT_EP1_IN
select EP 1 in
see Table 53
4 0x04H SELECT_EP2
5 0x05H SELECT_EP3
select EP 2
select EP 3
see Table 53
see Table 53
242 0xF2H SET_BUFFER_FE
clear selected EP buffer
byte
244 0xF4H GET_INTERRUPT
read interrupt register
see Table 54
245 0xF5H GET_FRAMENUMBER
250 0xFAH VALIDATE_BUFFER
read current frame number
validate selected EP
note 1
byte
253 0xFDH GET_CHIPID
read chip identifier
note 2
Read/write registers
64 0x40H SELECT_EP0_OUT_STATUS select EP; clear interrupt and get information of EP 0 byte
(out)
65 0x41H SELECT_EP0_IN_STATUS select EP; clear interrupt and get information of EP 0 (in) byte
66 0x42H SELECT_EP1_OUT_STATUS select EP; clear interrupt and get information of EP 1 byte
(out)
67 0x43H SELECT_EP1_IN_STATUS
68 0x44H SELECT_EP2_STATUS
select EP; clear interrupt and get information of EP 1 (in) byte
select EP; clear interrupt and get information of EP 2 byte
69 0x45H SELECT_EP3_STATUS
select EP; clear interrupt and get information of EP 3 byte
70 0x46H SELECT_EP4_STATUS
clear interrupt and get information of EP 4
byte
71 0x47H SELECT_EP5_STATUS
240 0xF0H RW_DATA
254 0xFEH GETSET_DEVICE_STATUS
get information of EP 5
read selected EP buffer
set device status
byte
note 3
byte
Notes
1. The GET_FRAMENUMBER command returns the frame number of the last received Start Of Frame (SOF). The
frame number is 11 bits wide; therefore two consecutive reads are needed to get the complete value. The first byte
provides the LSBs; the second byte (bits 0 to 2) provides the 3 MSBs. Note: it is possible to read the first byte only.
2. The GET_CHIPID command is followed by two reads since the chip identification is 16 bits wide (see Tables 55
and 56).
3. The RW_DATA command can be followed by up to ‘n + 2’ bytes read or write (n is the number of data bytes in the
selected EP buffer). With read, it returns the contents of the selected EP data buffer. With write, it loads the data
buffer of the selected EP.
2001 May 04
43