18
controller must write subsequent bytes by presenting
the data on the MOSI line and driving SCLK at the normal
rate. A delay of at least t
LOAD
must exist between data
bytes as shown. After the download is complete, the
micro-controller must raise the NCS line for at least t
BEXIT
to terminate burst mode. The serial port is not available
for use until it is reset with NCS, even for a second burst
transmission.
Avago Technologies recommends reading the SROM_ID
register to verify that the download was successful. In
addition, a self-test may be executed, which performs a
CRC on the SROM contents and reports the results in a
register. The test is initiated by writing a particular value
to the SROM_Enable register; the result is placed in the
Data_Out register. See those register descriptions for
more details.
Avago Technologies provides the data file for download;
the file size is 1986 data bytes. The chip will ignore any
additional bytes written to the SROM_Load register after
the SROM file.
Figure 23. Motion burst timing.
Figure 24. PROM Download Burst Mode
Motion_Burst Register Address
Read First Byte
First Read Operation
Read Second Byte
≥
t
SRAD-MOT
Read Third Byte
75
μ
s
SCLK
NCS
address key data
address
byte 0
MOSI
SCLK
t
>120ns
SROM_Enable reg write
SROM_Load reg write
exit burst mode
t
BEXIT
enter burst
mode
≥
4
μ
s
t
LOAD
≥ 10
μ
s
t
LOAD
≥ 10
μ
s
byte 1
byte 1985
address
soonest to read SROM_ID
SROM_Enable reg write
≥
1 frame
period
≥ 10
μ
s
≥ 100
μ
s
≥ 40
μ
s
Motion Read
Reading the Motion_Burst register activates this mode.
The ADNS-6010 will respond with the contents of the
Motion, Delta_X, Delta_Y, SQUAL, Shutter_Upper, Shut-
ter_Lower, and Maximum_Pixel registers in that order.
After sending the register address, the micro-control-
ler must wait t
SRAD-MOT
and then begin reading data.
All 64 data bits can be read with no delay between
bytes by driving SCLK at the normal rate. The data are
latched into the output buffer after the last address bit
is received. After the burst transmission is complete, the
micro-controller must raise the NCS line for at least t
BEXIT
to terminate burst mode. The serial port is not available
for use until it is reset with NCS, even for a second burst
transmission.
PROM Download
This function is used to load the Avago Technologies-
supplied firmware file contents into the ADNS-6010. The
firmware file is an ASCII text file with each 2-character
byte on a single line.
The following steps activate this mode:
1. Perform hardware reset by toggling the RESET pin
2. Write 0x1D to register 0x14 (SROM_Enable register)
3. Wait at least 1 frame period
4. Write 0x18 to register 0x14 (SROM_Enable register)
5. Begin burst mode write of data file to register 0x60
(SROM_Load register)
After the first data byte is complete, the PROM or micro-