English
Language : 

ADNS-3090 Datasheet, PDF (19/38 Pages) Pixart Imaging Inc. – High-Performance Optical Mouse Sensor
PixArt Imaging Inc.
E^ͲϯϬϵϬ,ŝŐŚͲWĞƌĨŽƌŵĂŶĐĞKƉƚŝĐĂůDŽƵƐĞ^ĞŶƐŽƌ
SROM Download
This function is used to load the PixArt Imaging
supplied firmware file contents into the ADNS-3090. The
firmware file is an ASCII text file with each 2-character
byte (hexadecimal representation) on a single line.
This mode is activated by the following steps:
1. Perform hardware reset by toggling the RESET pin
2. Write 0x44 to register 0x20
3. Write 0x07 to register 0x23
4. Write 0x88 to register 0x24
5. Wait at least 1 frame period
6. Write 0x18 to register 0x14 (SROM_Enable register)
7. Begin burst mode write of data file to register 0x60
(SROM_Load register)
After the first data byte is complete, the SROM or micro-
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 tLOAD must exist between data
bytes as shown. After the download is complete, the
micro-controller must raise the NCS line for at least tBEXIT
to terminate burst mode. The serial port is not available
for use until it is reset with NCS, even for a second burst
transmission.
PixArt Imaging 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.
PixArt Imaging 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.
NCS
3 reg writes, see text
MOSI
SROM_Enable reg write
address key data
≥1 frame
period
SCLK
tNCS -SCLK
>120ns
Figure 23. SROM download burst mode
exit burst mode
tBEXIT ≥4μs
SROM_Load reg write
address
byte 0
byte 1
enter burst
mode
byte 1985
address
≥40μs
tLOAD
≥10μs
tLOAD
≥10μs
≥10μs
soonest to read SROM_ID
≥100μs
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
PixArt Imaging Inc.
E-mail: fae_service@pixart.com.tw
19