Professional Documents
Culture Documents
Data Sheet
Description
The Avago Technologies ADNS-5090 is a low power, small form factor optical mouse sensor. It has a low-power architecture and automatic power management modes, making it ideal for battery, power-sensitive applications such as cordless input devices. The ADNS-5090 is capable of high-speed motion detection up to 30ips and 8G. In addition, it has an on-chip oscillator and LED driver to minimize external components. The ADNS-5090 along with the ADNS-5110-001 lens, ADNS-5200 clip, and HLMP-ED80 LED form a complete and compact mouse tracking system. There are no moving parts and this translates to high reliability and less maintenance for the end user. In addition, precision optical alignment is not required, facilitating high volume assembly. The sensor is programmed via registers through a fourwire serial port. It is housed in an 8-pin staggered dual inline package (DIP).
Note: The ADNS-5090 Low Power Optical Mouse Sensor is not designed for use with blue LEDs. The ADNS-4000 product is available from Avago for use with Blue LEDs.
Features
x Low Power Architecture x Small Form Factor x Programmable Periods / Response Times and Downshift Times from one mode to another for the Power-saving Modes x Smart LED Current Switching depending on surface brightness x High Speed Motion Detection up to 30ips and 8G x External Interrupt Output for Motion Detection x Internal Oscillator no clock input needed x Selectable Resolution up to 1750cpi x Operating Voltage: as low as 2.8V x Four wire Serial Port Interface x Minimal number of passive components
Applications
x Optical mice and optical trackballs x Integrated input devices x Battery-powered input devices
Theory of Operation
The ADNS-5090 is based on Optical Navigation Technology, which measures changes in position by optically acquiring sequential surface images (frames) and mathematically determining the direction and magnitude of movement. The ADNS-5090 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 Dx and Dy relative displacement values. An external microcontroller reads and translates the Dx and Dy information from the sensor serial port into PS2, USB, or RF signals before sending them to the host PC.
Name
MISO LED MOTION NCS SCLK GND VDD MOSI
Input/ Output
O O O I I Gnd Power I
Description
Serial Data Output (Master In/ Slave Out) LED Illumination Motion Interrupt Output (Default active low) Chip Select (Active low input) Serial Clock Ground Supply Voltage Serial Data Input (Master Out/ Slave In)
CAUTION: It is advised that normal static precautions be taken in handling and assembling of this component to prevent damage and/or degradation which may be induced by ESD.
Notes: 1. Dimensions in millimeter/inches 2. View from component side of PCB (or top view of mouse) Figure 3. Recommended PCB Mechanical Cutouts and Spacing (Top View)
Sensor Lens
Note: A Distance from object surface to lens reference plane B Distance from object surface to sensor reference plane
ADNS-5110-001
Customer supplied base plate with recommended alignment features per IGES drawing
GND
LED
LED DRIVE
TPS61070
0.1 F 4.7 F 20 VCC P0.5 P0.6 P3.5 GND QA VDD VDD QB P3.1 GND R SHLD P3.2 Z LED XTAL2 GND XTAL1 RST P1.4 M P3.0 P3.4 P1.5 P1.6 RF RECEIVER CIRCUITRY RF TRANSMITTER CIRCUITRY P3.3 1 5 P1.7 P1.0 P1.1 P1.2 P1.3 R L *Recommended HLMP-ED80-PQT00 Bin P BUTTONS 3 MISO SCLK MOTION 8 MOSI 4 NCS 0.1 mF ADNS-5110 LENS
VDD (5 V) D+
Vpp
D+
HLMP -ED80*
GND
Vreg
ADNS-5090
LED 2
SURFACE
1.3 K
SHLD
XTALOUT
XTALIN
6 MHz (OPTIONAL) 40 pF
12 MHz 40 pF
Figure 8a. Schematic diagram for interface between ADNS-5090 and microcontroller with HLMP-ED80-PQT00 LED (cordless application)
Note: The ADNS-5090 Low Power Optical Mouse Sensor is not designed for use with blue LEDs. The ADNS-4000 product is available from Avago for use with Blue LEDs.
TPS61070
3 EN 4.7uF
4.7uF
0.1 F 4.7 F 20 VCC P0.5 P0.6 P3.5 GND QA VDD VDD QB P3.1 GND R SHLD P3.2 Z LED XTAL2 GND XTAL1 RST P1.4 M P3.0 P3.4 P1.5 P1.6 RF RECEIVER CIRCUITRY RF TRANSMITTER CIRCUITRY P3.3 1 5 P1.7 P1.0 P1.1 P1.2 P1.3 R L BUTTONS *Recommended HLMP-ED80-PST00 Bin P, Q, R, and S 3 MISO SCLK MOTION 8 MOSI 4 NCS 0.1 mF 33 7 VDD 6 GND ADNS-5110 LENS SURFACE HLMP -ED80*
VDD
VDD (5 V) D+
Vpp
D+
GND
Vreg
ADNS-5090
LED
1.3 K
SHLD
XTALOUT
XTALIN
6 MHz (OPTIONAL) 40 pF
12 MHz 40 pF
Figure 8b. Schematic diagram for interface between ADNS-5090 and microcontroller with HLMP-ED80-PST00 LED (cordless application)
Note: The ADNS-5090 Low Power Optical Mouse Sensor is not designed for use with blue LEDs. The ADNS-4000 product is available from Avago for use with Blue LEDs.
Regulatory Requirements
x Passes FCC B and worldwide analogous emission limits when assembled into a mouse with shielded cable and following Avago Technologies recommendations. x Passes IEC-1000-4-3 radiated susceptibility level when assembled into a mouse with shielded cable and following Avago Technologies recommendations. x UL ammability level UL94 HB.
Symbol
TS TA
Minimum
-40 -15
Maximum
85 55 260 3.7 2 VDD + 0.5 7
Units
qC qC qC V kV V mA
Notes
For 7 seconds, 1.6mm below seating plane. All pins All I/O pins MISO pin
Symbol
TA VDD TRT VNA fSCLK Z
Min
0 2.8 0.005
Typ.
Max
40 3.0 100 100 1
Units
qC V ms mVp-p MHz mm
Notes
2.3
2.4
2.5
S a Cout
30 8 100
ips G pF
Symbol
tMOT-RST tREST-EN tREST-DIS tPD tWAKEUP tr-MISO tf-MISO tDLY-MISO thold-MISO thold-MOSI tsetup-MOSI tSWW
Min.
Typ.
Max.
50 1 1 50
Units
ms s s ms ms ns ns ns ns ns ns s
Notes
From RESET register write to valid motion From Rest Mode(RM) bits set to target rest mode From Rest Mode(RM) bits cleared to valid motion From PD active (when bit 1 of register 0x0d is set) to low current From PD inactive (when write 0x5a to register 0x3a) to valid motion CL = 100 pF CL = 100 pF From SCLK falling edge to MISO data valid, no load conditions Data held until next falling SCLK edge Amount of time data is valid after SCLK rising edge From data valid to SCLK rising edge From rising SCLK for last bit of the rst data byte, Commands to rising SCLK for last bit of the second data byte From rising SCLK f or last bit of the rst data byte, to rising SCLK for last bit of the second address byte From rising SCLK for last bit of the rst data byte, to falling SCLK for the rst bit of the next address From rising SCLK for last bit of the address byte, to falling SCLK for rst bit of data being read Minimum NCS inactive time after motion burst before next SPI usage From NCS falling edge to rst SCLK falling edge From last SCLK rising edge to NCS rising edge, for valid MISO data transfer From last SCLK rising edge to NCS rising edge, for valid MOSI data transfer From NCS rising edge to MISO high-Z state Max supply current during a VDD ramp from 0 to VDD
50 40 40
1/fSCLK
tSWR
20
250
ns
ns ns ns s ns mA
10
Symbol
IDD_AVG IDD_REST1 IDD_REST2 IDD_REST3
Min
Typ.
8.23 0.79 0.08 0.026 10
Max
20.41 1.65 0.18 0.054 0.5
Units
mA mA mA mA PA V V mV
Notes
Average run current, including LED current, at max frame rate. No load on MISO
Power Down Current Input Low Voltage Input High Voltage Input Hysteresis Input leakage current Output Low Voltage Output High Voltage Input Capacitance VIL VIH VI_HYS Ileak VOL VOH Cin Vdd-0.7 Vdd-0.5
SCLK, MOSI, NCS SCLK, MOSI, NCS SCLK, MOSI, NCS Vin=VDD-0.6V, SCLK, MOSI, NCS Iout=1mA, MISO, MOTION Iout=-1mA, MISO, MOTION MOSI, NCS, SCLK
PA V V pF
11
20 18 16 14 12 10 8 6 4 2 0
Manila White Paper Black Formica White Formica Spruce Wood 1.6 1.7 1.8 1.9 2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3 3.1 3.2 3.3 3.4 Distance from Lens Reference Plane to Tracking Surface - Z (mm)
Figure 10. Mean resolution vs. distance from lens reference plane to surface.
1 0.9 0.8 0.7 Normalized Response 0.6 0.5 0.4 0.3 0.2 0.1 0 400 500 600 700 Wavelength (nm) 800 900 1000
12
Another feature in ADNS-5090 that can be used to optimize the power consumption of the optical mouse system is the Motion Interrupt Output or MOTION pin (pin 3). It allows the host controller to be in sleep mode (or lowest operating current mode) when there is no motion detected after some time instead of consistently be in active mode and polling motion data from the sensor. When motion is detected, the sensor will send the motion interrupt signal through pin 3 to the controller to wake it up from sleep mode to resume its motion detection routine for navigation position and direction update.
13
MOTION Function
MOTION output signal (pin 3) can be used as interrupt input to the microcontroller of the mouse to trigger the controller to read the motion data from the sensor whenever there is motion detected by the sensor. The MOTION signal can be congured to be level or edge triggered, active high or low by setting the bits in MOTION_CTRL register. For active high level-triggered conguration, the MOTION pin level will be driven high as long the MOTION bit in register 0x02 is set and there is motion data in DELTA_X and DELTA_Y registers ready to be read by the microcontroller. Once all the motion data has been read, DELTA_X and DELTA_Y values become zero, MOTION bit is reset and the MOTION pin level is driven low. For active high edge-triggered conguration, a pulse of 230us will be sent through the MOTION pin when there is motion detected by the sensor during rest modes. The pulse can be used as interrupt input to activate the microcontroller from its sleep mode to enter into run mode to start polling the sensor for motion data by monitoring MOTION_ST bit (set whenever there is valid motion data) in MOTION register (0x02) and reading DELTA_X and DELTA_Y registers until MOTION_ST bit is reset.
Write Operation
Write operation, dened as data going from the micro-controller to the ADNS-5090, is always initiated by the micro-controller and consists of two bytes. The rst byte contains the address (seven bits) and has a 1 as its MSB to indicate write sequence. The second byte contains the data. The ADNS-5090 reads MOSI on rising edges of SCLK.
NCS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2
SCLK MOSI 1 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 1 A6
MISO
14
Read Operation
A read operation, dened as data going from the ADNS-5090 to the micro-controller, is always initiated by the microcontroller and consists of two bytes. The rst 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-5090 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 # SCLK MOSI 1 A6 A5 A4 A3 A2 A1 A0 D7 D6 D5 D4 D3 D2 D1 D0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
MISO
tSRAD DELAY
D0
WRITE OPERATION
WRITE OPERATION
15
WRITE OPERATION
Figure 18. Timing between Read and Subsequent Write or Read Commands
16
Pin
NCS MISO SCLK MOSI XY_LED
During Reset
Ignored Low Ignored Ignored High
After Reset
Functional Depends on NCS Depends on NCS Depends on NCS Functional
Power Down
The ADNS-5090 can be set to Power Down mode by writing 0x02 to register 0x0d to disable the sensor. In addition, the SPI port should not be accessed during power down. 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 power down. To exit Power Down, write 0x5a to register 0x3a to reset the sensor in order to wake it up. A full reset will thus be executed. Wait tWAKEUP before accessing the SPI port. Any register settings must then be reloaded. Pin
MOTION NCS MISO SCLK MOSI XY_LED
Notes: * NCS pin must be held to 1 (HIGH) if SPI bus is shared with other devices. It can be in either state if the sensor is the only device in connected to the host micro-controller. * Reading of registers should only be performed after exiting from the power down mode. Any read operation during power down will not reect the actual data of the registers.
Power Up Reset
Although ADNS-5090 does have an internal power up self reset circuitry, it is still highly recommended to follow the power up sequence below: i. Apply power ii. Drive NCS high, then low to reset the SPI port. iii. Write 0x5a to register 0x3a.
Reset
ADNS-5090 can be reset by writing 0x5a to register 0x3a. A full reset will thus be executed and any register settings must be reloaded. The table below shows the state of the various pins during reset. State of Signal Pins after VDD is Valid
17
Registers
The ADNS-5090 registers are accessible via the serial port. The registers are used to read motion data and status as well as to set the device conguration. Address
0x00 0x01 0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09 0x0a 0x0b 0x0d 0x0e 0x0f 0x10 0x11 0x12 0x13 0x21 0x35 0x3a 0x3f 0x40 0x41 0x42 0x43 0x45 0x63
Register Name
PROD_ID REV_ID MOTION_ST DELTA_X DELTA_Y SQUAL SHUT_HI SHUT_LO PIX_MAX PIX_ACCUM PIX_MIN PIX_GRAB MOUSE_CTRL RUN_DOWNSHIFT REST1_PERIOD REST1_DOWNSHIFT REST2_PERIOD REST2_DOWNSHIFT REST3_PERIOD MOUSE_CTRL_EN FRAME_IDLE RESET NOT_REV_ID LED_CTRL MOTION_CTRL BURST_READ_FIRST AUTO_LED_CTRL REST_MODE_CONFIG MOTION_BURST
Register Description
Product ID Revision ID Motion Status Delta_X Delta_Y Squal Quality Shutter Open Time (Upper 8-bit) Shutter Open Time (Lower 8-bit) Maximum Pixel Value Average Pixel Value Minimum Pixel Value Pixel Grabber Mouse Control Run to Rest1 Time Rest1 Period Rest1 to Rest2 Time Rest2 Period Rest2 to Rest3 Time Rest3 Period Mouse Control Enable Register Frame Idle Setting Reset Inverted Revision ID LED Control Motion Control Burst Read Starting Register AUTO LED Control Rest Mode Conguration Burst Read
Read/Write
R R R R R R R R R R R R/W R/W R/W R/W R/W R/W R/W R/W W R/W W R R/W R/W R/W R/W R/W R
Default Value
0x29 0x01 0x00 0x00 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00 0x01 0x46 0x00 0x4f 0x09 0x2f 0x31 0x00 0xf0 0x00 0xfe 0x00 0x40 0x03 0x08 0x00 0x00
18
PROD_ID
Product ID Register Access: Read
Bit 7 Field PID7
8-Bit unsigned integer This register contains a unique identication assigned to the ADNS-5090. The value in this register does not change; it can be used to verify that the serial communications link is functional. If using this register to verify serial communications link during rest modes, please read following registers in this sequence: 0x00, 0x02, 0x03, 0x04, 0x00 (regardless of register 0x02s status). If both or either one of the read 0x00 value is correct, no additional action is required as the serial communication link is good. Only if both read 0x00 value attempts are wrong, perform a reset operation to the sensor to restore the serial communications link.
Note: Highly recommended to use Motion pin function during rest modes for motion detection.
REV_ID
Revision ID Register Access: Read
Bit 7 Field RID7
8-Bit unsigned integer This register contains the IC revision. It is subject to change when new IC versions are released.
MOTION_ST
Motion Status Register Access: Read/Write
Bit 7
Field MOTION_ST
Data Type: Bit eld. USAGE: Register 0x02 allows the user to determine if motion has occurred since the last time it was read. If the MOTION_ST bit is set, then the user should read registers 0x03 (DELTA_X) and 0x04 (DELTA_Y) to get the accumulated motion data. Read this register before reading the DELTA_X and DELTA_Y registers. Writing any data into this register clears MOTION_ST bit, DELTA_X and DELTA_Y registers. However the written data byte will not be saved. Bit
7
Field Name
MOTION_ST
Description
Motion detected since last report
0 = No motion (default)
1 = Motion occurred, data in DELTA_X and DELTA_Y registers ready to be read 6-0 RSVD Reserved
19
DELTA_X
X Displacement Register Access: Read
Bit 7 Field X7
Eight bit 2s complement number. X-axis movement in counts since last report. Absolute value is determined by resolution. Reading this register clears the content of this register.
MOTION
-128
-127
-2
-1
+1
+2
+126
+127
DELTA_X
80
81
FE
FF
00
01
02
7E
7F
DELTA_Y
Y Displacement Register Access: Read
Bit 7 Field Y7
Data Type: Eight bit 2s complement number. USAGE: Y-axis movement in counts since last report. Absolute value is determined by resolution. Reading this register clears the content of this register.
MOTION -128 -127 -2 -1 0 +1 +2 +126 +127
DELTA_Y
80
81
FE
FF
00
01
02
7E
7F
NOTE: Avago RECOMMENDS that registers 0x03 and 0x04 be read consecutively.
20
SQUAL
Squal Quality Register Access: Read
Bit 7 Field SQ7
Upper 8 bits of a 9-bit unsigned integer. SQUAL (Surface Quality) is a measure of the number of valid features visible by the sensor in the current frame. The maximum SQUAL register value is 128. Since small changes in the current frame can result in changes in SQUAL, variations in SQUAL when looking at a surface are expected. The graph below shows 800 sequentially acquired SQUAL values, while a sensor was moved slowly over white paper. SQUAL is nearly equal to zero, if there is no surface below the sensor. SQUAL is typically maximized when the navigation surface is at the optimum distance from the imaging lens (the nominal Z-height).
60 50 Squal value 40 30 20 10 0 1 30 59 88 117 146 175 204 233 262 291 320 349 378 407 436 465 494 523 552 581 610 639 668 697 726 755 784 Count Figure 20. Squal values (white paper) 60 50 Squal count 40 30 20 10 0 -10 1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2 Distance from Lens Reference Plane to Tracking Surface - Z (mm) Figure 21. Mean squal vs. Z (White Paper) Avg-3sigma Avg Avg+3sigma
21
SHUT_HI
Access: Read
Bit 7 Field S15
SHUT_LO
Access: Read
Bit 7 Field S7
Sixteen bit unsigned integer. Units are in clock cycles. Read SHUT_HI rst, then SHUT_LO. They should be read consecutively. The shutter is adjusted to keep the average and maximum pixel values within normal operating ranges. The shutter value is automatically adjusted.
500 450 400 350 300 250 200 150 100 50 0
Shutter value
Figure 22. Shutter (white paper). 600 550 500 450 400 350 300 250 200 150 100 50 0
Shutter value
22
1 28 55 82 109 136 163 190 217 244 271 298 325 352 379 406 433 460 487 514 541 568 595 622 649 676 703 730 757 784 Count Avg-3sigma Avg Avg+3sigma 1.6 1.8 2 2.2 2.4 2.6 2.8 3 3.2 Distance from Lens Reference Plane to Tracking Surface - Z (mm)
PIX_MAX
Access: Read
Bit 7 Field MP7
Eight-bit number. Store the highest pixel value in current frame. Minimum value = 0, maximum value = 255. The highest pixel value may vary with dierent frame.
PIX_ACCUM
Access: Read
Bit 7 Field AP7
High 8-bits of an unsigned 16-bit integer. This register stores the accumulated pixel value of the last image taken. This register can be used to nd the average pixel value, where Average Pixel = (register value AP[7:0]) * 0.71 The maximum accumulated value is 45847 but only bits [15:8] are reported, therefore the maximum register value is 179. The minimum is 0. The PIX_ACCUM value may vary with dierent frame.
PIX_MIN
Access: Read
Bit 7 Field MP7
Eight-bit number. Store the lowest pixel value in current frame. Minimum value = 0, maximum value = 127. The minimum pixel value may vary with dierent frame.
23
PIX_GRAB
Pixel Grabber Register Access: Read/Write
Bit 7 Field PG_VALID 6
PG6
Eight bit word. The pixel grabber captures 1 pixel per frame. Bit-7 (MSB) of this register will be set to indicate that the 7-bit pixel data (PG[6:0]) is valid for grabbing. In a 19x19 pixel array, it will take 361 read operations to grab all the pixels to form the complete image.
Bit(s)
7 6:0
Field Name
PG_VALID PG[6:0]
Description
Pixel Grabber Valid Pixel Data
NOTE: Any write operation into this register will reset the grabber to origin (pixel 0 position). The sensor should not be moved before the 361 read operations are completed to ensure original data is grabbed to produce good (uncorrupted) image.
Positive Y
Pin 1 LED
Positive X
24
MOUSE_CTRL
Mouse Control Register Access: Read/Write
Bit 7
Field RSVD
Data Type: Bit eld USAGE: Resolution and chip reset information can be accessed or to be edited by this register. Bit(s)
7:6 5 4:2
Field Name
RSVD RES_EN RES [2:0]
Description
Reserved Enable resolution settings set on MOUSE_CTRL [4:2] Resolution
1: 1000 dpi (default) NOTE: 1. Setting MOUSE_CTRL [5] bit to 1 will supersede and ignore MOUSE_CTRL [0] setting. 2. Each read/write operation of this register should be followed by a write operation: write register 0x21 with 0x10.
RUN_DOWNSHIFT
Access: Read/Write
Bit 7
Field RUD7
Eight bit number This register sets the Run to Rest1 mode downshift time. The time is the value of this register multiply by 16 frames. Min value for this register must be 1. For example at typical frame rate of 2250fps, each frame period is about 444us. Therefore the run downshift time would be Register value (0x46) * 16 * frame period = 70 * 16 * 444us = 497.3ms
25
REST1_PERIOD
Rest1 Period Register Access: Read/Write
Bit 7
Field R1P7
Eight bit number This register sets the Rest1 period. Period = (register value R1P [7:0] +1) x 7ms (typical slow clock period). Min value for this register is 0. Max value is 0xFD. Writing into this register when the sensor itself is operating in this rest mode may result in unexpected behavior of the sensor. To avoid this from happening, below commands should be incorporated prior and after the write command into this register. w 22 80 -> write 0x80H into register 0x22H prior to writing into this register w 0f XX -> writing into this register w 22 00 -> write 0x00H into register 0x22H after writing into this register
REST1_DOWNSHIFT
Access: Read/Write
Bit 7
Field R1D7
Eight bit number This register sets the Rest1 to Rest2 mode downshift time. Time = (register value R1D [7:0]) x (Rest1 period) x 16. Min value for this register is 0.
REST2_PERIOD
Rest2 Period Register Access: Read/Write
Bit 7
Field R2P7
Eight bit number This register sets the Rest2 period. Period = (register value R2P [7:0] +1) x 7ms (typical slow clock period). Min value for this register is 0. Max value is 0xFD. Writing into this register when the sensor itself is operating in this rest mode may result in unexpected behavior of the sensor. To avoid this from happening, below commands should be incorporated prior and after the write command into this register. w 22 80 -> write 0x80H into register 0x22H prior to writing into this register w 11 XX -> writing into this register w 22 00 -> write 0x00H into register 0x22H after writing into this register
26
REST2_DOWNSHIFT
Access: Read/Write
Bit 7
Field R2D7
Eight bit number This register sets the Rest1 to Rest2 mode downshift time. Time = (register value R2D [7:0] ) x (Rest2 period) x 128. Min value for this register is 0.
REST3_PERIOD
Rest3 Period Register Access: Read/Write
Bit 7
Field R3P7
Eight bit number This register sets the Rest3 period. Period = (register value R3P [7:0] +1) x 7ms (typical slow clock period). Min value for this register is 0. Max value is 0xFD. Writing into this register when the sensor itself is operating in this rest mode may result in unexpected behavior of the sensor. To avoid this from happening, below commands should be incorporated prior and after the write command into this register. w 22 80 -> write 0x80H into register 0x22H prior to writing into this register w 13 XX -> writing into this register w 22 00 -> write 0x00H into register 0x22H after writing into this register
MOUSE_CTRL_EN
Access: Write
Bit Field 7
MCE7
Eight bit unsigned integer. Write 0x10 to this register after accessing register 0x0d to complete read/write operations.
27
FRAME_IDLE
Access: Read/Write
Bit 7 Field 1
Eight bit unsigned integer. This register is used to control the frame rate. The value in this register is used to add frame idling time, which eectively reduces the frame rate.. frame_idle_time (in clock counts) = (register value) * 32 Frame period (in clock counts) = shutter_time (reg 0x06 and reg 0x07) + (3400 clocks) + frame_idle_time When this register is set to 0xf0, the typical frame rate is about 2250 fps @26MHz
RESET
Reset Register Access: Write
Bit 7 Field RST7
Eight bit unsigned integer. This register is used as chip reset by writing 0x5a into this register.
28
NOT_REV_ID
Access: Read
Bit 7
Field RRID7
Eight bit unsigned integer This register contains the inverse of the revision ID which is located at register 0x01.
LED_CTRL
LED Control Register Access: Read/Write
Bit 7
Field RSVD
Eight bit unsigned integer This register is used to control the LED operating mode and current to optimize/minimize the power consumption. Field Name
RSVD LCOF RSVD LSEL[1:0]
Description
Reserved
NOTE:
If LED is operating in AUTO current switching mode (AUTO_LED_CONTROL [0] at address 0x43 is cleared, LED current setting (LED_CONTROL [1:0]) will be ignored. Only when AUTO current switching is disabled through setting AUTO_LED_CONTROL [0], the LED drive current is determined by LED_CONTROL [1:0]
29
MOTION_CTRL
Motion Control Register Access: Read/Write
Bit 7
Field MOT_A
Eight bit unsigned integer This register is used to set the feature of MOTION interrupt output. If MOT_S bit is clear, the MOTION pin is level-sensitive. With active low (MOT_A bit is clear) level-sensitive conguration, the MOTION pin will be driven low when there is motion detected indicating there is motion data in DELTA_X and DELTA_Y registers. The mouse microcontroller can read MOTION_ST register, DELTA_X register, and then DELTA_Y register sequentially. After all the motion data has been read, DELTA_X and DELTA_Y registers will be zero, the MOTION pin will be driven high by the sensor. If MOT_S is set, the MOTION pin is edge sensitive. If MOT_A is also set, it means active high or rising edge triggered. Whenever there is motion detected by the sensor, a pulse (~230us) will be sent out through this pin. This pulse can be used to trigger or wake the controller up from its sleep mode to read motion data from the sensor. The controller can then read MOTION_ST register, DELTA_X register, and then DELTA_Y register sequentially. (Refer to Motion Function for more information)
Bit
7
Field Name
MOT_A
Description
MOTION Active
0 : LOW (default)
1 : HIGH 6 MOT_S MOTION Sensitivity 0 : Level sensitive
BURST_READ_FIRST
Access: Read/Write
Bit 7 Field BM7
Eight bit unsigned integer This register provides the starting register address the sensor will read during Burst Mode. For more information, refer to Burst Mode Operation. Note: To change the burst mode starting address from default (DELTA_X or 0x03) pull the NCS low, set the BURST_READ_FIRST register with the burst mode starting address, read register 0x63 for burst reads, and terminate the burst reads by pulling NCS high. This must be repeated each time when performing burst reads with address other than default.
30
AUTO_LED_CTRL
AUTO LED Control Access: Read/Write
Bit 7 Field RSVD
Eight bit unsigned integer This register enables AUTO LED current switching. This is a smart LED feature whereby the LED current is self adjusting between the low and high current settings (bit 3:1) according to the brightness of the tracking surface if this feature is enabled (via clearing bit 0). The brighter the surface, the lower the LED current will be. If A_LED_DIS (bit 0) is set, this means AUTO LED mode is disabled, then the LED current is determined by LSEL[1:0] setting in LED_CTRL register (0x40).
Bit
7:4 3:2
Field Name
RSVD LED_HI [1:0]
Description
Reserved AUTO LED High Current 0x0: Auto LED high current is 15mA 0x1: Auto LED high current is 20mA
Note: When AUTO LED is enabled, the AUTO LED current will be switched between low and high current setting determined by LED_LO and LED_HI [1:0]. If LED_LO current setting is higher than the LED_HI, the current will be based on the higher setting. For example if LED_ LO is 20mA and LED_HI is 15mA, the AUTO LED current will be xed at 20mA.
31
REST_MODE_CONFIG
Access: Read/Write
Bit 7 Field RM1
Eight bit unsigned integer This register is used to set the operating mode of the ADNS-5090. Field Name
RM[1:0]
Description
Sensor Operating Mode
Read operation to REST_MODE_CONFIG indicates which mode the sensor is in. Write operation into this register will force the sensor into rest modes (Rest 1, 2 or 3). Write the value 0x40 into 0x45 register to force sensor into Rest 1, 0x80 to Rest 2 or 0xC0 to Rest 3. To get out of any forced rest mode, write 0x00 into this register to set back to normal mode. Note: Write 0x00 to register 0x22 during start up sensor initialization to enable conguration to this register.
MOTION_BURST
Burst Read Register Access: Read
Bit 7 Field MB7
Various. This register is used to enable burst mode. Burst is initiated by a read of this register, which will then return continuous data starting from the address stored in BURST_READ FIRST register through register 0x09. If burst operation is not terminated at this point, the internal address counter stops incrementing and register 0x09 value will be returned repeatedly. Burst operation is terminated when NCS is asserted high. For more information, refer to Burst Mode Operation.
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-2010 Avago Technologies. All rights reserved. AV02-1887EN - April 5, 2010