Avago ADNS-9800 Datasheet
Avago ADNS-9800 Datasheet
Avago ADNS-9800 Datasheet
Data Sheet
Description
Features
Theory of Operation
The sensor is based on LaserStream technology, which
measures changes in position by optically acquiring
sequential surface images (frames) and mathematically
determining the direction and magnitude of movement.
It contains an Image Acquisition System (IAS), a Digital
Signal Processor (DSP), and a four wire serial port. The IAS
acquires microscopic surface images via the lens and illumination system. These images are processed by the
DSP to determine the direction and distance of motion.
The DSP calculates the 'x and 'y relative displacement
values. An external microcontroller reads the 'x and 'y
information from the sensor serial port. The microcontroller then translates the data into PS2, USB, or RF signals
before sending them to the host PC or game console.
Applications
x Corded and cordless gaming laser mice
x Optical trackballs
x Motion input devices
CAUTION: It is advised that normal static precautions be taken in handling and assembly
of this component to prevent damage and/or degradation which may be induced by ESD.
Description
+VCSEL
+VCSEL
LASER_NEN
LASER_NEN
NCS
NCS
MISO
MISO
SCLK
SCLK
MOSI
MOSI
MOTION
MOTION
XYLASER
XYLASER
VDD5
VDD3
10
PWR_OPT (GND)
PWR_OPT (VDD3)
Power Option:
Connect to GND for 5 V Mode
Connect to VDD3 for 3 V Mode
11
GND
GND
Analog Ground
12
REFB
VDD3
13
REFA
REFA
14
DGND
DGND
Digital Ground
15
VDDIO
VDDIO
16
-VCSEL
-VCSEL
16
15
14
13
12
11
10
Product Code
Date Code
Lot Code
Item
Marking
Remarks
Product Number
A9800
Date Code
XYYWWZV
X = Subcon Code
YYWW = Date Code
Z = Sensor Die Source
V = VCSEL Die Source
Lot Code
VVV
Numeric
Section B-B
2.40
0.094 Top of PCB to Surface
7.40
0.291 Bottom of lens flange to Surface
10.75 Top of Sensor to Surface
0.423
12.96
5.02
Pin #1
Optical Center
14 X 1.78
12.60
10.90
6.30
1.70
0.50
16 X 0.80
Assembly Recommendation
1. Insert the COB sensor and all other electrical components into the application PCB.
2. This sensor package is only qualified for wave-solder
process.
3. Wave-solder the entire assembly in a no-wash soldering
process utilizing a solder fixture. The solder fixture is
needed to protect the sensor during the solder process.
The fixture should be designed to expose the sensor
leads to solder while shielding the optical aperture
from direct solder contact.
4. Place the lens onto the base plate. Care must be taken
to avoid contamination on the optical surfaces.
5. Remove the protective kapton tapes from the optical
aperture of the sensor and VCSEL respectively. Care
must be taken to keep contaminants from entering the
aperture.
6. Insert the PCB assembly over the lens onto the base
plate. The sensor package should self-align to the lens.
The optical position reference for the PCB is set by the
base plate and lens. The alignment guide post of the
lens locks the lens and integrated molded lead-frame
DIP sensor together. Note that the PCB motion due to
button presses must be minimized to maintain optical
alignment.
7. Optional: The lens can be permanently locked to the
sensor package by melting the lens guide posts over
the sensor with heat staking process.
8. Install the mouse top case. There must be a feature in
the top case (or other area) to press down onto the
sensor to ensure the sensor and lenses are interlocked
to the correct vertical height.
9%86
'
'
*1'
6+,(/'
R1
1k
HEADER 5
H1
R6
10R
CON1
20R
20R
1R
R2
C4
1uF/10V
-7$*
C5
100nF
R7
1k
9''
9''
R5
10R
R3
R4
C2
10nF
J1
C3
20pF
9&&
C10
1uF/10V
R10
1k
C11
20pF
C9
100nF
9&&
&
5
:
*
%
9&&
RIGHT
ZA
0&8
3
3
3
3
3
3
3
3
36&/.
30,62
3026,
31&6
3
3
3
3
3
3
3
3
3
3
&RQQHFWWR3&%
9''
C8
100nF
CON2
&&.567
3&'
3
3
95(*,1
9%86
'
'
U1
LEFT
MIDDLE
ZB
C7
4.7uF/10V
9''
P1
&3,
D1
R12
C12
100nF
-CPI
P3
P2
966
&3,
-XPSZLUHWR3&%
LED1
LED2
LED3
YELLOW
YELLOW
D3
YELLOW
D2
470R
R14
470R
R13
RIGHT
ZA
/HIW&OLFN
CON3
C1
100nF
SW1
&RQQHFWWR3&%
LEFT
MIDDLE
ZB
LEFT
R8
10k
9''
&3,,QGLFDWLRQ/('
LED3
LED2
470R
9&&
LED1
ZB
ZA
LEFT
RIGHT
MIDDLE
+CPI
-CPI
+CPI
9&&
:3
+2/'
966
((3520
25LC040P
&6
6&.
6,
62
U2
9''
SCLK
MISO
MOSI
NCS
MOTION
100k
R11
SCLK
MISO
MOSI
NCS
MOTION
1R
R15
J2
9&6(/9(
9&6(/9(
;</$6(5
9'',2
9''9''
9''
RIGHT
C6
100nF
SW2
ZB
ZA
100nF
C18
470pF
C15
9''
9&&
&20
%
$
Q1
SW3
100nF
100nF
C21
P6
P5
P4
-CPI
+CPI
SW4
&3,
SW5
&3,
3.3uF/16V
C20
-XPS:LUHWR3&%
966
&3,
&3,
10uF/10V
C23
4.7uF/10V
C19
C22
100nF
9''
9''
9''
C16
J4
J3
9''
C14
1uF/10V
Notes:
<<PCB Design Consideration>>
0LGGOH&OLFN
C24
100nF
MIDDLE
R16
10k
9''
9''
9''
C13
10nF
9&&
6HQVRU%ORFN
=(QFRGHU
5LJKW&OLFN
R9
10k
9''
9''
C17
NTA4151P
Q2
10uF/10V
3:5B237
/$6(5B1(1
6&/.
0,62
026,
ADNS-9800
1&6
5()$
027,21
9''5()%
U3
9''
9''
'
Application Circuits
'*1'
9''
C8051F347
*1'
*1'
PAD2
P1
SW1
SLIDE SW SPDT
[$$%DWWHU\%ORFN
%
BT2
BATTERY
BT1
BATTERY
2))
R1
180k
R2
820k
3RZHU6XSSO\%ORFN
9287
)%
6:
NOTE:
2AA Battery 1.5V connected in series
%
21
9%$7
C2
4.7uF/4V
9%$7
(1
U1
TPS61070
C3
4.7uF/4V
C4
4.7uF/4V
,UHJ
C5
10uF/6.3V
PAD2
P2
9''
,V\V
C1
4.7uF/4V
*1'
C6
10uF/6.3V
P3
C18
1uF/6.3V
6HQVRU%ORFN
ADNS-9800
9&6(/
9'',2
'*1'
5()$
9''
*1'
3:5B237
9''
470pF
C8
9&6(/
/65B1(1
1&6
0,62
6&/.
026,
027,21
;<B/65
U3
C9
100nF
9''
C10
100nF
,VHQVRU
Q2
PAD2
NTA4151P
9''
SW2
C12
100nF
C11
100nF
0LGGOH&OLFN
9''
SW3
/HIW&OLFN
R4
1K
9''
%XWWRQV%ORFN
C7
10uF/6.3V
C19
3.3uF/4V
D1
LED_BLUE
R3
1K
9''
$
%
&20
P6
PAD3
SW4
PUSH BUTTON
SW?
5HVROXWLRQ&KDQJH
9''
52))521 ',6$%/(
52152)) (1$%/(
%$77(5</(9(/'(7(&7,21
127(6
R?
47k
9''
R11 R12
27K 27K
R?
0R
MMBT2222A
Q3
R9
60R4
R10
OPEN
9%$7
9''
=(QFRGHU%ORFN
Q1
P4
PAD2
PAD2
R6
0R
9''
P5
5LJKW&OLFN
R5
499R
D2
LED_YELLOW
/(',QGLFDWRU%ORFN
NOTE:
R2 = 820k ; VDD = 2.8V
R2 = 910k ; VDD = 3.0V
R2 = 1M ; VDD = 3.3V
R7
0R
C14
100nF
TI_CC2510
SW?
SW?
6KHHW
RI
5HYLVLRQ
-DQ
U2
X?
C16
100nF
C?
22pF
26MHz
C?
22pF
R?
$IILQH[,QQRYDWLRQ6GQ%KG
7DPDQ3HULQGXVWULDQ%D\DQ/HSDV
/RWQG)ORRU3HVDUD.J-DZD
,1129$7,21
AFFINEX
1pF
1.2nH
L?
100pF
L?
12nH
C?
1pF
56K
C?
C?
100pF
C?
C17
100nF
PAD2
C?
1.8pF
0R
1.2nH
*+]6LQJOH(QGHG$QWHQQD%ORFN
R?
L?
C?
1.5pF
R?
0R
AT?
ANTENNA
2))
%/,1.,1*216(&2))6(&
/2:%$79
2))
%/,1.,1*216(&2))6(&
/2:%$79
C21
22nF
216(&
216(&
&3,
C20
22nF
2))
216(&
&3,
9''
2))
2))
&3,'()$8/7
P?
216(&
2))
&3,
,PFX
/('3B
/('3B
,1',&$7,21
/(',1',&$7,217$%/(
+RUL]RQWDO6FUROO6ZLWFK%ORFN
$9''
;26&B4
;26&B4
$9''
5)B3
5)B1
$9''
$9''
5%,$6
C15
100nF
'DWH
7LPH
3URMHFW1R
7LWOH
R8
0R
9''
&(17(5B3$'
86(-803(5:,5(
127(6
J2
J1
3B
3B
3B
3B
3B
3B
3B
'9''
3B
C13
100nF
9%$7
J?
9''
PCB_SOCKET_2X5P
L1
4.7uH
F
H
3B
'9''
3B
3B
3B
3B
3B
3B
62&'HEXJ)ODVK%ORFN
3B
3B
5(6(7B1
3B
'&283/
3B
*8$5'
$9''B'5(*
3B;62&B4
3B;26&B4
9%$7
ADNS-9800
GND
VDD 3/REFB
REFA
VDDIO
VDD 5/VDD 3
Image
Oscalator
NCS
SCLK
MOSI
MISO
MOTION
DGND
PWR_OPT
-VCSEL
LASER Drive
XYLASER
LASER_NEN
VCSEL
+VCSEL
Regulatory Requirements
x Passes FCC B and worldwide analogous emission limits
when assembled into a mouse with shielded cable and
following Avago recommendations.
x Passes IEC-1000-4-3 radiated susceptibility level when
assembled into a mouse with shielded cable and
following Avago recommendations.
x Passes EN61000-4-4/IEC801-4 EFT tests when assembled
into a mouse with shielded cable and following Avago
recommendations.
x Provides sufficient ESD creepage/clearance distance to
withstand discharge up to 15 KV when assembled into
a mouse according to usage instructions above.
x Passes IEC/EN 60825-1 Eye Safety Class 1 when
operating with the laser output power pre-calibrated
by Avago Technologies without external hardware and
software control of laser current.
Parameter
Symbol
Laser
output
power
LOP
Min.
Max.
Units Notes
716
PW
1.8
ADNS-6190-002
17.3
Eye Safety
The ADNS-9800 sensor and the associated components in
the schematics of Figure 6 are intended to comply with
Class 1 Eye Safety Requirements of IEC 60825-1. Avago
Technologies calibrates the sensors laser output power
(LOP) to Class 1 eye safety level and store the registers
values that control the LOP prior shipping out, thus no
LOP calibration is required in complete mouse system at
manufacturer site.
ADNS-9800 sensor is designed to maintain the laser
output power using ADNS-6190-002 lens within Class 1
Eye Safety requirements over components manufacturing tolerances under the recommended operating conditions and application circuits of Figure 6 as specified in
this document. Under normal operating conditions, the
sensor generates the drive current for the VCSEL. Increasing the LOP by other means on hardware and software
can result in a violation of the Class 1 eye safety limit of
716 PW. For more information, please refer to Eye Safety
Application Note.
VDD 3 / REFB
(Pin 12)
Microcontroller
ADNS-9800
S
LASER DRIVER
LASER_NEN
P_MOSFET
VDD 3
D
fault control
block
VCSEL
Serial port
+VCSEL
voltage sense
470 pF
current set
-VCSEL
GND
Symbol
Minimum
Maximum
Units
Storage Temperature
TS
-40
85
255
VDD5
-0.5
5.5
VDD3
-0.5
3.4
VDDIO
-0.5
3.4
kV
Notes
For 10 seconds, 1.8 mm below seating plane.
See soldering reflow profile in Figure 9.
All Pins
Input Voltage
VIN
VDDIO+ 0.5
LOPmax
716
PW
IF
mA
VR
I = 10 PA
Notes:
1. Stresses greater than those listed under Absolute Maximum Ratings may cause permanent damage to the device. These are the stress ratings
only and functional operation of the device at these or any other condition beyond those indicated for extended period of time may affect device
reliability.
2. The inherent design of this component causes it to be sensitive to electrostatic discharge. The ESD threshold is listed above. To prevent ESDinduced damage, take adequate ESD precautions when handling this product.
Symbol
Minimum Typical
Maximum
Units
Operating Temperature
TA
40
Supply voltage
Notes
VDD5
4.0
5.0
5.25
Volts
VDD3
2.7
2.8
3.3
Volts
VDDIO
1.65
3.3
Volts
Including noise.
VRT5
100
ms
VRT3
100
ms
100
mVp-p
50 kHz 50 MHz
MHz
2.62
mm
150
ips
inch/sec
VNA
fSCLK
Speed
2.18
2.40
Acceleration
30
Load Capacitance
Cout
100
pF
MOTION, MISO
Frame Rate
FR
12,000
fps
865
nm
LOP
506
PW
832
Z
Figure 9. Distance from lens reference plane to surface, Z
10
AC Electrical Specifications
Electrical Characteristics over recommended operating conditions. (Typical values at 25 C, VDD3 = 2.8 V, VDDIO = 1.8 V)
Parameter
Symbol
Minimum
tMOT-RST
30
Shutdown
tSTDWN
tWAKEUP
tREST-EN
tREST-DIS
tr-MISO
tf-MISO
tDLY-MISO
thold-MISO
Typical
Maximum
Units Notes
ms
ms
ms
50
200
ns
CL = 100 pF
50
200
ns
CL = 100 pF
120
ns
200
ns
thold-MOSI
200
ns
tsetup-MOSI
120
ns
tSWW
120
Ps
tSWR
120
Ps
tSRW
tSRR
20
Ps
tSRAD
100
Ps
tBEXIT
500
ns
tNCS-SCLK
120
ns
tSCLK-NCS
120
ns
tSCLK-NCS
20
Ps
tNCS-MISO
500
ns
tr-MOTION
50
200
ns
CL = 100 pF
tf-MOTION
50
200
ns
CL = 100 pF
IDDT5
85
mA
IDDT3
65
mA
11
500
30
DC Electrical Specifications
Electrical Characteristics over recommended operating conditions.
For 3 V mode, Typical values at 25 C, VDD = 2.8 V, VDDIO = 2.8 V. For 5 V mode, Typical values at 25 C, VDD = 5.0 V,
VDDIO = REFB
Parameter
Symbol
Typical
Maximum
Units
Notes
IDD_RUN3_LOW
Minimum
18
20
mA
IDD_RUN3_MED
24.5
27.5
mA
IDD_RUN3_HIGH
33
45
mA
IDD_REST1
0.26
0.4
mA
IDD_REST2
0.12
0.2
mA
IDD_REST3
0.08
0.15
mA
IDD_RUN3
33
45
mA
IDD_RUN5
36
50
mA
IDDP3
60
mA
65
mA
For 5 V mode
45
85
mA
3.05
3.25
0.3*VDDIO
mV
10
mA
0.3*VDDIO
0.3*VREFB
10
pF
IDDP5
Shutdown Supply Current
IDDSTDWN
VREFB
VIL
VIH
Input Hysteresis
VI_HYS
100
Ileak
VOL
VOH
VOL
VOH
Input Capacitance
Cin
12
2.85
For 3 V mode
0.7*VDDIO
0.7*VDDIO
0.7*VREFB
Resolution (cpi)
1800
1600
1400
1200
1000
800
600
400
200
0
White Paper
Photo Paper
Manila
Spruce Wood
Black Formica
White Formica
White Delrin
1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4
Distance from Lens Reference Plane to Navigation Surface, Z (mm)
Figure 10. Mean Resolution vs. Z at default resolution at 1600 cpi
30
White Paper
Photo Paper
Manila
Spruce Wood
Black Formica
White Formica
White Delrin
25
20
15
10
5
0
1.6 1.7 1.8 1.9 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4
Distance from Lens Reference Plane to Navigation Surface, Z (mm)
Relative Responsivity
Figure 11. Average Error vs. Distance at default resolution at 1600 cpi (mm)
1.0
0.9
0.8
0.7
0.6
0.5
0.4
0.3
0.2
0.1
0.0
400
450
500
550
13
600
800
850
900
950
1000
Motion Pin
The synchronous serial port is used to set and read parameters in the ADNS-9800 Sensor, and to read out the motion
information. The serial port is also used to load PROM data
into the ADNS-9800 Sensor.
14
Write Operation
Write operation, defined as data going from the micro-controller to the ADNS-9800 Sensor, is always initiated by the
micro-controller and consists of two bytes. The first byte contains the address (seven bits) and has a 1 as its MSB to
indicate data direction. The second byte contains the data. The ADNS-9800 Sensor reads MOSI on rising edges of SCLK.
NCS
1
10
11
12
13
14
15
16
A6
A5
A4
A3
A2
A1
A0
D7
D6
D5
D4
D3
D2
D1
D0
A6
SCLK
MOSI
MISO
SCLK
MOSI
tHold, MOSI
tsetup, MOSI
Figure 14. MOSI Setup and Hold Time
Read Operation
A read operation, defined as data going from the ADNS-9800 Sensor to the micro-controller, is always initiated by the
micro-controller and consists of two bytes. The first byte contains the address, is sent by the micro-controller over MOSI,
and has a 0 as its MSB to indicate data direction. The second byte contains the data and is driven by the ADNS-9800
Sensor over MISO. The sensor outputs MISO bits on falling edges of SCLK and samples MOSI bits on every rising edge of
SCLK.
NCS
SCLK
Cycle #
A6
A5
A4
A3
A2
A1
10
11
12
13
14
15
16
D7
D6
D5
D4
D3
D2
D1
D0
SCLK
MOSI
MISO
A0
tSRAD delay
SCLK
tHOLD-MISO
tDLY-MISO
MISO
D0
NOTE: The minimum high state of SCLK is also the minimum MISO data hold time of the
ADNS-9800 Sensor. Since the falling edge of SCLK is actually the start of the next read or
write command, the ADNS-9800 Sensor will hold the state of data on MISO until the falling
edge of SCLK.
SCLK
Address
Data
Address
Write Operation
Data
Write Operation
If the rising edge of the SCLK for the last data bit of the second write command occurs before the tsww delay, then the
first write command may not complete correctly.
tSWR
ttt
SCLK
Address
Data
Address
ttt
Write Operation
If the rising edge of SCLK for the last address bit of the read command occurs before the tswr required delay, the write
command may not complete correctly.
tSRW & tSRR
ttt
SCLK
Address
Data
Address
ttt
Read Operation
Next Read or
Write Operation
Figure 19. Timing between read and either write or subsequent read commands
During a read operation SCLK should be delayed at least tSRAD after the last address data bit to ensure that the Sensor
has time to prepare the requested data.
The falling edge of SCLK for the first address bit of either the read or write command must be at least TSRR or TSRW after
the last SCLK rising edge of the last data bit of the previous read operation. In addition, during a read operation SCLK
should be delayed after the last address data bit to ensure that the ADNS-9800 Sensor has time to prepare the requested
data.
16
SCLK
Motion_Burst Register Address
Note: In rest mode, motion burst data is always available or in other words, motion burst data can be read from Motion_Burst register even in rest
modes.
17
SROM Download
This function is used to load the Avago supplied firmware file contents into the ADNS-9800 after sensor power up
sequence. The firmware file is an ASCII text file. There are 2 methods of SROM downloading in ADNS-9800: 1.5 K and
3 K bytes. 1.5 K SROM download will only download 1.5 K bytes data into the first half of SROM and leave the rest empty,
while 3 K SROM download will download the full 3 K bytes data into SROM. They can be selected through Configuration_IV register, where default setting is 1.5 K SROM download. In the current version of ADNS-9800 sensor, 3 K bytes of
SROM will be used.
SROM download procedure:
1. Select the 3 K bytes SROM size at Configuration_IV register, address 0x39
2. Write 0x1d to SROM_Enable register for initializing
3. Wait for one frame
4. Write 0x18 to SROM_Enable register again to start SROM downloading
5. Write SROM file into SROM_Load_Burst register, 1st data must start with SROM_Load_Burst register address. All the
SROM data must be downloaded before SROM start running.
exit burst mode
tBEXIT 1 Ms
NCS
2 reg writes, see text
MOSI
1 frame
period
byte 2
byte 3070
address
enter burst
mode
SCLK
tNCS-SCLK
>120 ns
10 Ms
120 Ms
15 Ms
15 Ms
160 Ms
Soonest to read SROM_ID
Frame Capture
This is a fast way to download a full array of pixel values from a single frame. This mode disables navigation and overwrites any downloaded firmware. A hardware reset is required to restore navigation, and the SROM firmware must be
reloaded.
To trigger the capture, write to the Frame_Capture register. The next available complete 1 frame image will be stored to
memory. The data are retrieved by reading the Pixel_Burst register once using the normal read method, after which the
remaining bytes are clocked out by driving SCLK at the normal rate. If the Pixel_Burst register is read before the data is
ready, it will return all zeros.
Procedure of Frame Capture:
1. Reset the chip by writing 0x5a to Power_Up_Reset register (address 0x3a).
2. Enable laser by setting Forced_Disable bit (Bit-7) of LASER_CTRL) register to 0.
3. Write 0x93 to Frame_Capture register.
4. Write 0xc5 to Frame_Capture register.
5. Wait for two frames.
6. Check for first pixel by reading bit zero of Motion register. If = 1, first pixel is available.
7. Continue read from Pixel_Burst register until all 900 pixels are transferred.
8. Continue step 3-7 to capture another frame.
Note: Manual reset and SROM download are needed after frame capture to restore navigation for motion reading.
18
MOSI
100 Ms
enter burst
mode
SCLK
Wait for
2 frames
tNCS-SCLK
>120 ns
tLOAD
15 Ms
tSRAD
MISO
P1
P900
P2
Cable
Top Xray View of Mouse
Positive Y
LB
RB
Positive X
1
A9800
16
last output
29
59
89 119 149 179 209 239 269 299 329 359 389 419 449 479 509 539 569 599 629 659 689 719 749 779 809 839 869 899
28
58
88 118 148 178 208 238 268 298 328 358 388 418 448 478 508 538 568 598 628 658 688 718 748 778 808 838 868 898
27
57
31
61
91 121 151 181 211 241 271 301 331 361 391 421 451 481 511 541 571 601 631 661 691 721 751 781 811 841 871
30
60
90 120 150 180 210 240 270 300 330 360 390 420 450 480 510 540 570 600 630 660 690 720 750 780 810 840 870
t
etc.
rst output
19
842 872
Power Up
The ADNS-9800 Sensor does not perform an internal power up self-reset; the Power_Up_Reset register must be written
every time power is applied. The appropriate sequence is as follows:
1. Apply power to VDD5/VDD3 and VDDIO in any order
2. Drive NCS high, and then low to reset the SPI port.
3. Write 0x5a to Power_Up_Reset register (address 0x3a).
4. Wait for at least 50ms time.
5. Read from registers 0x02, 0x03, 0x04, 0x05 and 0x06 (or read these same 5 bytes from burst motion register) one time
regardless of the motion pin state.
6. SROM download.
7. Enable laser by setting Forced_Disable bit (Bit-7) of LASER_CTRL0 register (address 0x20) to 0.
During power-up there will be a period of time after the power supply is high but before any clocks are available. The
table below shows the state of the various pins during power-up and reset.
State of Signal Pins After VDD is Valid
Pin
On Power-Up
After Reset
NCS
Functional
Hi
Low
Functional
MISO
Undefined
Undefined
Functional
Depends on NCS
SCLK
Ignored
Ignored
Functional
Depends on NCS
MOSI
Ignored
Ignored
Functional
Depends on NCS
MOTION
Undefined
Undefined
Undefined
Functional
LASER_NEN
Undefined
Undefined
Undefined
Functional
20
Shutdown
The ADNS-9800 can be set in Shutdown mode by writing 0xb6 to register 0x3b. The SPI port should not be accessed
when Shutdown mode is asserted, except the power-up command (writing 0x5a to register 0x3a). (Other ICs on the
same SPI bus can be accessed, as long as the sensors NCS pin is not asserted.) The table below shows the state of various
pins during shutdown. To deassert Shutdown mode:
1. Drive NCS high, then low to reset the SPI port.
2. Write 0x5a to Power_Up_Reset register (address 0x3a).
3. Wait for at least 50 ms time.
4. Clear observation register.
5. Wait at least one frame and check observation register, Bit[5:0] must be set.
6. Read from registers 0x02, 0x03, 0x04, 0x05 and 0x06 (or read these same 5 bytes from burst motion register) one time
regardless of the motion pin state.
7. Enable laser by setting Forced_Disable bit (Bit-7) of LASER_CTRL0 register to 0.
8. Any register setting must then be reloaded.
Pin
NCS
Functional 1
MISO
Undefined 2
SCLK
Ignore if NCS = 1 3
MOSI
Ignore if NCS = 1 4
LASER_NEN
High(off )
MOTION
Undefined 2
Notes:
1. NCS pin must be held to 1 (high) if SPI bus is shared with other devices. It is recommended to hold to 1 (high) during Power Down unless powering
up the Sensor. It must be held to 0 (low) if the sensor is to be re-powered up from shutdown (writing 0x5a to register 0x3a).
2. Depends on last state. MISO should be configured to drive LOW during shutdown to meet the low current consumption as specified in
the datasheet. This can be achieved by reading Inverse_Product_ID register (address 0x3f ) since the return value (0xcc) on MISO line ends in a 0
(low state).
3. SCLK is ignored, if NCS is 1 (high). It is functional if NCS is 0 (low).
4. MOSI is ignored, if NCS is 1 (high). If NCS is 0 (low), any command present on the MOSI pin will be ignored except power-up command (writing 0x5a
to register 0x3a).
There are long wakeup times from shutdown and forced Rest. These features should not be used for power management during normal mouse
motion.
21
Registers
The ADNS-9800 registers are accessible via the serial port. The registers are used to read motion data and status as well
as to set the device configuration.
Address
Register
Read/Write
Default Value
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
0x08
0x09
0x0a
0x0b
0x0c
0x0d
0x0e
0x0f
0x10
0x12
0x13
0x14
0x15
0x16
0x17
0x18
0x19
0x1a
0x1b
0x1c
0x1d
0x1e
0x1f
0x20
0x21- 0x23
0x24
0x25
0x26
0x27 - 0x29
0x2a
0x2e
0x2f
0x30 - 0x38
0x39
0x3a
0x3b
0x3c - 0x3e
0x3f
0x40 0x41
0x42
0x43 0x4f
0x50
0x62
0x64
Product_ID
Revision_ID
Motion
Delta_X_L
Delta_X_H
Delta_Y_L
Delta_Y_H
SQUAL
Pixel_Sum
Maximum_Pixel
Minimum_Pixel
Shutter_Lower
Shutter_Upper
Frame_Period_Lower
Frame_Period_Upper
Configuration_I
Configuration_II
Frame_Capture
SROM_Enable
Run_Downshift
Rest1_Rate
Rest1_Downshift
Rest2_Rate
Rest2_Downshift
Rest3_Rate
Frame_Period_Max_Bound_Lower
Frame_Period_Max_Bound_Upper
Frame_Period_Min_Bound_Lower
Frame_Period_Min_Bound_Upper
Shutter_Max_Bound_Lower
Shutter_Max_Bound_Upper
LASER_CTRL0
Reserved
Observation
Data_Out_Lower
Data_Out_Upper
Reserved
SROM_ID
Lift_Detection_Thr
Configuration_V
Reserved
Configuration_IV
Power_Up_Reset
Shutdown
Reserved
Inverse_Product_ID
Reserved
Snap_Angle
Reserved
Motion_Burst
SROM_Load_Burst
Pixel_Burst
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
0x33
0x03
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x20
0x4e
0xc0
0x5d
0x12
0x00
0x00
0x00
0x32
0x01
0x1f
0x09
0xbc
0x31
0xc0
0x5d
0xa0
0x0f
0x20
0x4e
0x81
R/W
R
R
0x00
Undefined
Undefined
R
R/W
R/W
0x00
0x10
0x12
R/W
W
W
0x00
NA
Undefined
0xcc
R/W
0x06
R
W
R
0x00
Undefined
0x00
22
Product_ID
Address: 0x00
Bit 7
Field PID7
PID6
PID5
PID4
PID3
PID2
PID1
PID0
Revision_ID
Address: 0x01
Bit 7
Field RID7
RID6
RID5
RID4
RID3
RID2
RID1
RID0
23
Motion
Address: 0x02
Bit 7
Field MOT
Reserved
Reserved
OP_Mode1
OP_Mode0
FRAME_
Pix_First
Description
MOT
0 = No motion
1 = Motion occurred, data ready for reading in Delta_X_L, Delta_X_H,
Delta_Y_L and Delta_Y_H registers
FAULT
LP_Valid
00 = Run
01 = Rest 1
10 = Rest 2
11 = Rest 3
FRAME_Pix_First
24
Delta_X_L
Address: 0x03
Bit 7
Field X7
X6
X5
X4
X3
X2
X1
X0
-32768
-32767
-2
-1
+1
+2
8000
8001
FE
FF
00
01
02
Delta_X
Delta_X_H
Address: 0x04
Bit 7
Field X15
+32766 +32767
7FFE
7FFF
X14
X13
X12
X11
X10
X9
X8
Delta_Y_L
Address: 0x05
Bit 7
Field Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
-32768
-32767
-2
-1
+1
+2
8000
8001
FE
FF
00
01
02
Delta_Y
Delta_Y_H
Address: 0x06
Bit 7
Field Y15
+32766 +32767
7FFE
7FFF
Y14
Y13
Y12
Y11
Y10
Y9
Y8
SQUAL
Address: 0x07
Bit 7
Field SQ7
SQ6
SQ5
SQ4
SQ3
SQ2
SQ1
SQ0
SQUAL (Count)
150
100
50
0
1
51
101 151 201 251 301 351 401 451 501 551 601 651 701 751
Count
Avg-3sigma
Avg
Avg+3sigma
SQUAL (Count)
120
100
80
60
40
20
0
1.6
1.8
2.0
2.2
2.4
2.6
2.8
3.0
3.2
Distance from Lens Reference Plane to Navigation Surface (mm)
26
3.4
Pixel_Sum
Address: 0x08
Bit 7
Field AP7
AP6
AP5
AP4
AP3
AP2
AP1
AP0
Maximum_Pixel
Address: 0x09
Bit 7
Field MP7
MP6
MP5
MP4
MP3
MP2
MP1
MP0
Minimum_Pixel
Address: 0x0A
Bit 7
Field MinP7
MinP6
MinP5
MinP4
MinP3
MinP2
MinP1
MinP0
Shutter_Lower
Address: 0x0B
Bit 7
Field S7
S6
S5
S4
S3
S2
S1
S0
27
Shutter_Upper
Address: 0x0C
Bit 7
Field S15
S14
S13
S12
S11
S10
S9
S8
Shutter Value
100
80
60
40
20
0
1
51 101 151 201 251 301 351 401 451 501 551 601 651 701 751
Count
Avg-3sigma
Avg
Avg+3sigma
Shutter Value
250
200
150
100
50
0
1.6
1.8
2.0
2.2
2.4
2.6
2.8
3.0
3.2
Distance from Lens Reference Plane to Navigation Surface, Z (mm)
28
3.4
Frame_Period_Lower
Address: 0x0D
Bit 7
Field FP7
FP6
FP5
FP4
FP3
FP2
FP1
FP0
Frame_Period_Upper
Address: 0x0E
Bit 7
Field FP15
FP14
FP13
FP12
FP11
FP10
FP9
FP8
Configuration_I
Address: 0x0F
Access: R/W
Field Reserved
Reserved
RES5
RES4
RES3
RES2
RES1
RES0
Description
0x01
200
Minimum
0x09
1800
Default
0x24
7200
0x29
8200
Maximum
Note: Rpt_Mod bit in Configuration_II register is used to select CPI reporting mode either XY axes resolution
setting in sync or independent setting for X-axis and Y-axis respectively. Refer to Configuration_V register for
Y-axis resolution setting.
29
Configuration_II
Address: 0x10
Access: R/W
Field F_Rest1
F_Rest0
Rest_En
NAGC
Fixed_FR
Rpt_Mod
Next desired
mode
Force Rest
mode action
Run
Rest1
Force Rest1
F_Rest[1:0] = 01
Run
Rest2
Force Rest2
F_Rest[1:0] = 10
Run
Rest3
Force Rest3
F_Rest[1:0] = 11
Field Name
Description
F_Rest[1:0]
00 = Normal operation
01 = Force Rest1
10 = Force Rest2
11 = Force Rest3
Rest_En
Fixed frame rate (disable automatic frame rate control). When this bit
is set the frame rate will be set by the value in the Frame_Period_
Maximum_Bound registers.
30
Must be set to 00
Frame_Capture
Address: 0x12
Access: R/W
Field FC7
FC6
FC5
FC4
FC3
FC2
FC1
FC0
SROM_Enable
Address: 0x13
Bit 7
Field SE7
SE6
SE5
SE4
SE3
SE2
SE1
SE0
Run_Downshift
Address: 0x14
Access: R/W
Field RD7
RD6
RD5
RD4
RD3
RD2
RD1
RD0
All the above values are calculated base on system clock, which expected to have 20% tolerance.
31
Rest1_Rate
Address: 0x15
Access: R/W
Field R1R7
R1R6
R1R5
R1R4
R1R3
R1R2
R1R1
R1R0
All the above values are calculated base on 100 Hz Hibernate clock, which expected to have 40% tolerance.
Rest1_Downshift
Address: 0x16
Access: R/W
Field R1D7
R1D6
R1D5
R1D4
R1D3
R1D2
R1D1
R1D0
All the above values are calculated base on 100 Hz Hibernate clock, which expected to have 40% tolerance.
Rest2_Rate
Address: 0x17
Access: R/W
Field R2R7
R2R6
R2R5
R2R4
R2R3
R2R2
R2R1
R2R0
All the above values are calculated base on 100 Hz Hibernate clock, which expected to have 40% tolerance.
32
Rest2_Downshift
Address: 0x18
Access: R/W
Field R2D7
R2D6
R2D5
R2D4
R2D3
R2D2
R2D1
R2D0
All the above values are calculated base on 100 Hz Hibernate clock, which expected to have 40% tolerance.
Rest3_Rate
Address: 0x19
Access: R/W
Field R3R7
R3R6
R3R5
R3R4
R3R3
R3R2
R3R1
R3R0
All the above values are calculated base on 100 Hz Hibernate clock, which expected to have 40% tolerance.
33
Frame_Period_Max_Bound_Lower
Address: 0x1A
Access: R/W
Field FBM7
FBM6
FBM5
FBM4
FBM3
FBM2
FBM1
FBM0
Frame_Period_Max_Bound_Upper
Address: 0x1B
Access: R/W
Field FBM15
FBM14
FBM13
FBM12
FBM11
FBM10
FBM9
FBM8
34
Frame Rate
Decimal
Hex
Upper
Lower
2,000
25,000
61a8
61
a8
2,083
24,000
5dc0
5d
c0
7,200
6944
1b20
1b
20
12,000
5000
0fa0
0f
a0
Frame_Period_Min_Bound_Lower
Address: 0x1C
Access: R/W
Field FBm7
FBm6
FBm5
FBm4
FBm3
FBm2
FBm1
FBm0
Frame_Period_Min_Bound_Upper
Address: 0x1D
Access: R/W
Field FBm15
FBm14
FBm13
FBm12
FBm11
FBm10
FBm9
FBm8
35
Shutter_Max_Bound_Lower
Address: 0x1E
Access: R/W
Field SB7
SB6
SB5
SB4
SB3
SB2
SB1
SB0
Shutter_Max_Bound_Upper
Address: 0x1F
Access: R/W
Field SB15
SB14
SB13
SB12
SB11
SB10
SB9
SB8
LASER_CTRL0
Address: 0x20
Access: R/W
Field Reserved
Reserved
Reserved
Reserved
CW2
CW1
CW0
Force_
Disabled
Description
CW[2:0]
Write 000b to exit laser continuous ON mode, all other values are
not recommended.
Reading the Motion register (0x02) will reset the value to 000b and exit
laser continuous ON mode.
Force_Disabled
36
Observation
Address: 0x24
Access: R/W
Field OB7
OB6
OB5
OB4
OB3
OB2
OB1
OB0
Description
OB6
OB[5:0]
Data_Out_Lower
Address: 0x25
Bit 7
Field DO7
DO6
DO5
DO4
DO3
DO2
DO1
DO0
Data_Out_Upper
Address: 0x26
Bit 7
Field DO15
DO14
DO13
DO12
DO11
DO10
DO9
DO8
Data_Out_Upper
Data_Out_Lower
BE
EF
SROM_ID
Address: 0x2A
Bit 7
Field SR7
SR6
SR5
SR4
SR3
SR2
SR1
SR0
37
Lift_Detection_Thr
Address: 0x2E
Access: R/W
Field Reserved
Reserved
Reserved
LD_Thr4
LD_Thr3
LD_Thr2
LD_Thr1
LD_Thr0
Configuration_V
Address: 0x2F
Access: R/W
Field ResY7
ResY6
ResY5
ResY4
ResY3
ResY2
ResY1
ResY0
Configuration_IV
Address: 0x39
Access: R/W
Field Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
SROM_Size Reserved
Description
SROM_Size
38
Power_Up_Reset
Address: 0x3A
Bit 7
Field PUR7
PUR6
PUR5
PUR4
PUR3
PUR2
PUR1
PUR0
Shutdown
Address: 0x3B
Bit 7
Field OB7
OB6
OB5
OB4
OB3
OB2
OB1
OB0
Inverse_Product_ID
Address: 0x3F
Bit 7
Field PID7
PID6
PID5
PID4
PID3
PID2
PID1
PID0
Snap_Angle
Address: 0x42
Access: R/W
Field Snap_En
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Description
Snap_En
= 0: Disable
= 1 : Enable
39
Motion_Burst
Address: 0x50
Bit 7
Field MB7
MB6
MB5
MB4
MB3
MB2
MB1
MB0
SROM_Load_Burst
Address: 0x62
Access: W
SL6
SL5
SL4
SL3
SL2
SL1
SL0
Pixel_Burst
Address: 0x64
Bit 7
Field PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
For product information and a complete list of distributors, please go to our web site:
www.avagotech.com
Avago, Avago Technologies, and the A logo are trademarks of Avago Technologies in the United States and other countries.
Data subject to change. Copyright 2005-2012 Avago Technologies. All rights reserved.
AV02-2998EN - January 13, 2012