DATASHEET SEARCH SITE | WWW.ALLDATASHEET.COM
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 30
Technical content
Features
- Low Power Architecture
- Small Form Factor
- Programmable Periods / Response Times and Downshift Times from one mode to another for the Power-saving Modes High Speed Motion Detection up to 30 ips and 20 g
- External Interrupt Output for Motion Detection
- Internal Oscillator – no clock input needed
- Selectable Resolution of up to 2000 cpi
- Operating Voltage: as low as 2.1 V
- IO reference voltage of 1.7 V to 3.3 V
- 2-wire serial port interface
Applications
- Optical mice and optical trackballs
- Integrated input devices
- Battery-powered input devices 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
USB, or RF signals before sending them to the host PC.
1 SDIO I/O Serial Data Input/Output
2 LED I LED Illumination
3 MOTION O Motion Interrupt Output
4 VDDIO I Input/Output Reference Voltage
5 SCLK I Serial Clock
6 GND I Ground
7 VDD O Regulator output
8 VDDA I Supply Voltage
Figure 1. Package Outline Drawing (Top View) All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
Figure 2. Package Outline Drawing of this component to prevent damage and/or degradation which may be induced by ESD.
- Dimensions in millimeter / inches.
- Dimensional tolerance: ± 0.1mm.
- Coplanarity of leads: 0.1mm.
- Lead pitch tolerance: ± 0.15mm.
- Non-cumulative pitch tolerance: ± 0.15mm.
- Brackets () indicate reference dimension.
- Document Number: LED_SPC_8C_PKG_002
All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
Overview of Optical Mouse Sensor Assembly 1JY"SU*NBHJOH provides an IGES file drawing de scribing the base plate molding features for lens and PCB alignNFOU The ADNS-2080 sensor is designed for mounting on a through-hole PCB, looking down. There is an aperture stop and featur es on the package that align to the lens. The ADNS-5110-001 BOE"%/4lens provides optics GPSUIFJNBHJOHPGUIFsurface as well as the illumination of the surface at the optimum angle. Features on the lens align it to the sensor, base plate, and clip with the LED. The LED clip holds the LED in relation to the lens. The LED must be inserted into the clip and the LED’s leads formed prior to loading on the PCB. The LEDs recommended for illumination include HSDL-4261 IR LED and HLMP-EG3E Red LED.Figure 3. Recommended PCB Mechanical Cutouts and Spacing Notes: 1. Dimensions in millimeter/inches 2. View from component side of PCB (or top view of mouse) 1.024 25.00 0.9842X 24.15 0.951 14.94 0.588 14.5 0.571 13.06 0.514 Pin 1 0 Optical center Optional hole for alignment post if used Clear zone 0.80 0.031 10X ø 3.00 0.118ø 2.00 0.0793X 1.00 0.039 0.383999 0.015118 1.37 0.054 2.25 0.089 5.02 0.198 7.56 0.298 10.35 0.407 11.22 0.442 12.60 0.496 12.9 0.508 0.3 0.012 6.290362 0.247652 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
Figure 8a. Schematic diagram for ADNS-2080 mainboard (cordless application) AFFINEX COM NC NO SW2 COM NC NO SW3 COM NC NO SW4 Z-ENCODER_3P SW5 TACT_SW COM ZA ZB R14 R13 S3R1 SW1 SLIDE SW SPDT BT1 2AA BATTERY P17 P18 P19 VBAT GND VDD_LED P12 P13 P14 P15 P11 P10 P2 CON1 PCB_SKT_SMD_1.27/2X5 PROG S2 S1 R1 RESET RESETPROG MSCK COM MOTION CS MISO MOSI ZA ZB P20 Note: Option 1: R1 = 1M3 , R2 = 453k R3 = 300k , R4 = 1M1 VCC_DC1 = 1.9V VCC_DC2 = 2.3V Option 2: R1 = 1M6 , R2 = 470k R3 = 300k , R4 = 1M1 VCC_DC1 = 2.2V VCC_DC2 = 2.3V LED C11 100nF R17 C92.2uF/16V P21 39R R10 R11 R12 ADNS-2080 MOSI 4.7uF/10V CS MISO VDDIO MSCK MOTION P25 P28 P27 P26 VCC_DC1 VCC_DC2 TPS61220 10uF/50V L2 4.7uH 1M1 300k TPS61220 P24 10uF/50V 100nF L1 4.7uH 1M3 453k P16 100nF 100nF 4.7uF/10V C10 4.7uF/10V 100nF C12 4.7uF/10V C13 4.7uF/10V Note: Option 1: R5 = 39R Option 2: R5 = 66R
Figure 8b. Schematic diagram of the RF module (to be attached to the mouse mainboard PCB) AFFINEX NRF24LE1 100nF 100nF 33nF 100nF 16MHz 22pF 22pF 22K 100nF 6.8nH 4.7nH 6.8nH 1.5pF 2.2nF C11 1pF C12 1.8pF AT1 ANTENNA RESET ANT1 ANT2 VDD_PA PROG MSCK COM MOTION CS MISO MOSI ZA ZB P1 P5 P6 P7 P10 P11 P12 P13 P14 P15 P16 P17 P18 P19 P28 P29 P32 VDD GND1 GND2 1GND3 GND4 GND5 GND6 GND7 GND8 GND9 C13 5pF C14 5pF C15 5pF C16 5pF
Figure 8c. Schematic diagram of the dongle AFFINEX 16MHz C12 10uF USB Type A Antenna PROG SCK MOSI MISO CSN Prog 3.9nH 0402 R3 22R R4 22R R6 10R 10k 10k R2 22k 10nF C11 100nF 10nF 22pF 22pF C10 33nF C9 33nF 2.2nF 4.7pF 1.0pF C13 2.2pF 1.0pF 6.8nH 5.6nH 6.8nH Header 5
Table 2. Recommended Operating Condition
- Passes FCC B and worldwide analogous emission limits when assembled into a mouse with shielded cable and follo wing 1JY"SU*NBHJOH recommendations.
- UL flammability level UL94 V-0.
Table 1. Absolute Maximum Ratings Lead Solder Temperature VO 260 °C For 10 seconds, 1.6 mm below seating plane. All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
Table 3. AC Electrical Specifications Electrical characteristics over recommended operating conditions. Typical values at 25 °C, VDDA = 2.2 V, VDDIO = 1.8 V. Wake from Power Down t WAKEUP 55 ms Through RESET register 0x3a. All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
Table 4. DC Electrical Specifications VDDLED = 2.2 V, IRLED HSDL-4261, ILED DC = 5mA. IDD_AVG 1.5 mA Average sensor current at max frame rate. All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.
The synchronous serial port is used to set and read pa - rameters in the ADNS-2080, and to read out the motion information. The port is a two wire serial port. The host micro-con troller alwa ys initiates communication; the ADNS-2080 never initiates data transfers. SCLK and SDIO may be driven directly by a micro-controller. The lines that comprise the SPI port: SCLK: Clock input. It is alwa ys generated by the master (the micro-controller). SDIO: Input/Output data. Power Management Modes The ADNS-2080 has three power-saving modes. Each mode has a different motion detection period with its re - spective response time to mouse motion. Response Time is the time taken for the sensor to ‘wake up’ from rest mode when motion is detected. When left idle, the sensor auto- matically changes or downshift from Run mode to Rest1, to Rest2 and finally to Rest3 which consumes the least cur- rent. Do note that current consumption is the lowest at Rest3 and highest at Rest1, however time required for sen- sor to respond to motion from Rest1 is the shortest and longest from Rest3. Downshift Time is the elapsed time (under no motion condition) from current mode to the next mode for example, it takes 10s for the sensor that is in Rest1 to change to Rest2. The typical response time and downshift time for each mode is shown in the following table. However, user can change the default time setting for each mode via register 0x0e through 0x13. Mode Response Time (Typical) Downshift Time (Typical) Rest 1 20 ms <1 s Rest 2 100 ms 10 s Rest 3 500 ms 600 s Note: These default timings are subject to changes after characterization. Another feature in ADNS-2080 that can be used to opti- mize 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 detect- ed 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 inter- rupt 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. MOTION Detection Routine Typically in the motion detection routine, MCU will poll the sensor for valid motion data by checking on the MOTION_ST bit in MOTION_ST register. If MOTION_ST bit is set, motion data in DELTA registers is valid and ready to be read by the MCU. For 8-bit motion reporting the DELTA registers are DELTA_X and DELTA_Y and for 12-bit motion reporting the DELTA registers are DELTA_X, DELTA_Y and DELTA_XY_HIGH. MOTION Function MOTION output signal (pin 3) can be used as interrupt in- put to the microcontroller of the mouse to trigger the con- troller to read the motion data from the sensor whenever there is motion detected by the sensor. The MOTION sig- nal can be configured to be level or edge triggered, active high or low by setting the bits in MOTION_CTRL register. For active high level-triggered configuration, 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 registers ready to be read by the microcontroller. Once all the motion data has been read, DELTA registers value become zero, MOTION bit is reset and the MOTION pin level is driven low. For active high edge-triggered configuration, a pulse of 380ns (typical) 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 moni- toring MOTION_ST bit (set whenever there is valid motion data) in MOTION register (0x02) and reading DELTA regis- ters until MOTION_ST bit is reset. 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
Write operation, defined as data going from the micro-controller to the ADNS-2080, 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 write sequence. The second byte contains the data. The ADNS-2080 reads SDIO on rising edges of SCLK SDIO setup and hold time during write operation 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 1 D0D5D6D7A0A1A2A3A4A5A6 1 A 6D4 D3 D2 D1 SCLK MOSI MOSI DRIVEN BY MICRO-CONTROLLER MISO 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 1 D0D5D6D7A0A1A2A3A4A5A6 1 A 6D4 D3 D2 D1 SCLK SDIO SDIO DRIVEN BY MICRO-CONTROLLERtsetup-write thold-write SCLK SDIO SDIO delay and hold time during read operation Read Operation A read operation, defined as data going from the slave to the microcontroller, is always initiated by the microcontroller and consists of two bytes. The first byte contains the address, is sent by the microcontroller over slave SDIO, and has a “0” as its MSB to indicate data direction. The second byte contains the data and is driven by the slave over SDIO. The sensor outputs data bits on falling edges of SCLK. 1 2 3 4 5 6 7 8SCLK Cycle # SCLK SDIO 0 A6 A5 A4 A3 A2 A1 A0 9 10 11 12 13 14 15 16 D6 D5 D4 D3 D2 D1 D0D7 tSRAD DELAY SCLK SDIO D0 tHOLD-READ tDLY-READ Note: The 500 ns minimum high state of SCLK is also the minimum SDIO data hold time of the ADNS-2080. Since the falling edge of SCLK is actually the start of the next read or write command, the ADNS-2080 will hold the state of data on SDIO until the falling edge of SCLK. 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
Timing between Write and Read Commands If the rising edge of SCLK for the last address bit of the read command occurs before the required delay (tSWR), the write command may not complete correctly. Timing between Read and Subsequent Write or Read Commands During a read operation SCLK should be delayed at least tSRAD after the last address data bit to ensure that the ADNS-2080 has time to prepare the requested data. The falling edge of SCLK for the first address bit of either the read or write com- mand must be at least tSRR or tSRW after the last SCLK rising edge of the last data bit of the previous read operation. Motion Burst Timing SCLK tSWR WRITE OPERATION ADDRESS DATA NEXT READ OPERATION ADDRESS
- • •
- • • SCLK tSRAD READ OPERATION ADDRESS NEXT READ or WRITE OPERATION ADDRESS
- • •
- • • tSRW & tSRR DATA MOTION_BURST REGISTER ADDRESS READ FIRST BYTE FIRST READ OPERATION READ SECOND BYTE READ THIRD BYTE SCLK
- • •
- • • tSRAD Required Timing between Read and Write Commands There are minimum timing requirements between read and write commands on the serial port. Timing between Two Write Commands If the rising edge of the SCLK for the last data bit of the second write command occurs before the required delay (tSWW), then the first write command may not complete correctly. SCLK tSWW WRITE OPERATION ADDRESS DATA WRITE OPERATION ADDRESS DATA 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
Burst mode is a special serial port operation mode that may be used to reduce the serial transaction time for a motion read. The speed improvement is achieved by con- tinuous data clocking to or from multiple registers with- out the need to specify the register address, and by not requiring the normal delay period between data bytes. Burst mode is initiated by reading the MOTION_BURST register (0x63). The ADNS-2080 will respond with the con- tents of the DELTA_X, DELTA_Y, SQUAL, SHUT_HI, SHUT_LO, and PIX_MAX and PIX_ACCUM registers in that order. The default value in BURST_READ_FIRST register (0x42) is the address of the DELTA_X register. The address that is speci- fied in the BURST_READ_FIRST register can be changed to address 0x00 – 0x02 (PROD_ID – MOTION_ST) or 0x05 – 0x08 (SQUAL – PIX_MAX). In 12-bit motion reporting there will be an extra content in DELTA_XY_HIGH (register 0x0c), to be read out in the order of DELTA_X, DELTA_Y, DELTA_X Y_HIGH, SQUAL, SHUT_HI, SHUT_LO, PIX_MAX and PIX_ACCUM. The rest of the burst mode operation is the same as 8-bit motion reporting. The default value in BURST_LAST_READ register (0x44) is the address of PIX_ACCUM register. This last address setting must be larger than the first address setting, address 0x01-0x02 (REV_ID - MOTION_ST), or 0x04 – 0x09 (DELT A_Y – PIX_ACCUM) or 0x0c (DELTA_XY_HIGH) if 12-bit motion reporting is set. The burst read must continue until the last specified address in or der for the IO to be back to normal mode. After reading the MOTION_BURST address (0x63), the microcontroller must wait t SRAD before starting to read the continuous data bytes. All 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. Reset During power-up, the ADNS-2080 does not need a power on reset as there is an internal circuitry that performs power on reset in the sensor. However it can be reset by writing 0x5a to register 0x3a. A full reset will thus be executed and any register settings must be reloaded. Power Down The ADNS-2080 can be set to Power Down mode by writ - ing 0x02 to register 0x0d to disable the sensor. In addition, the SPI port should not be accessed during power down. 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 t WAKEUP before accessing the SPI port. Any register settings must then be reloaded. Pin During Power Down MOTION Undefined SCLK Functional* SDIO Functional* XY_LED Low current Notes: Reading of reg isters should only be performed after exiting from the power down mode. Any read operation during power down will not reflect the actual data of the registers. 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
The ADNS-2080 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 Name Register Description Read/Write Default Value 0x00 PROD_ID Product ID R 0x2A 0x01 REV_ID Revision ID R 0x00 0x02 MOTION_ST Motion Status R 0x00 0x03 DELTA_X Lower byte of Delta_X R 0x00 0x04 DELTA_Y Lower byte of Delta_Y R 0x00 0x05 SQUAL Squal Quality R 0x00 0x06 SHUT_HI Shutter Open Time (Upper 8-bit) R 0x00 0x07 SHUT_LO Shutter Open Time (Lower 8-bit) R 0x64 0x08 PIX_MAX Maximum Pixel Value R 0xD0 0x09 PIX_ACCUM Average Pixel Value R 0x80 0x0a PIX_MIN Minimum Pixel Value R 0x00 0x0b PIX_GRAB Pixel Grabber R/W 0x00 0x0c DELTA_XY_HIGH Upper 4 bits of Delta X and Y displacement R 0x00 0x0d MOUSE_CTRL Mouse Control R/W 0x01 0x0e RUN_DOWNSHIFT Run to Rest1 Time R/W 0x08 0x0f REST1_PERIOD Rest1 Period R/W 0x01 0x10 REST1_DOWNSHIFT Rest1 to Rest2 Time R/W 0x1f 0x11 REST2_PERIOD Rest2 Period R/W 0x09 0x12 REST2_DOWNSHIFT Rest2 to Rest3 Time R/W 0x2f 0x13 REST3_PERIOD Rest3 Period R/W 0x31 0x22 PERFORMANCE Performance R/W 0x00 0x3a RESET Reset W 0x00 0x3f NOT_REV_ID Inverted Revision ID R 0xff 0x40 LED_CTRL LED Control R/W 0x00 0x41 MOTION_CTRL Motion Control R/W 0x40 0x42 BURST_READ_FIRST Burst Read Starting Register R/W 0x03 0x44 BURST_READ_LAST Burst Read Ending Register R/W 0x09 0x45 REST_MODE_CONFIG Rest Mode Configuration R/W 0x00 0x63 MOTION_BURST Burst Read R 0x00 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
PROD_ID Address: 0x00 P roduct ID Register Access: Read Reset V alue: 0x2A Bit 7 6 5 4 3 2 1 0 Field PID7 PID6 PID5 PID4 PID3 PID2 PID1 PID0 Data Type: 8-Bit unsigned int eger USAGE: This r egister contains a unique identification assigned to the ADNS-2080. The value in this register does not change; it can be used to verify that the serial communications link is functional. REV_ID Address: 0x01 P roduct ID Register Access: Read Reset V alue: 0x00 Bit 7 6 5 4 3 2 1 0 Field RID7 RID6 RID5 RID4 RID3 RID2 RID1 RID0 Data Type: 8-Bit unsigned integer USAGE: This reg ister contains the IC revision. It is subject to change when new IC versions are released. MOTION_ST Address: 0x02 M otion Status Register Access: Read/Write Reset V alue: 0x00 Bit 7 6 5 4 3 2 1 0 Field MOTION_ST RSVD RSVD RSVD RSVD RSVD RSVD RSVD Data Type: Bit field. USAGE: Regist er 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 Field Name Description
7 MOTION_ST 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 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
DELTA_X Address: 0x03 X Displacemen t Register Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field X7 X6 X5 X4 X3 X2 X1 X0 Data Type: Eight bit 2’s complement number. USAGE: X-axis movemen t in counts since last report. Absolute value is determined by resolution. Reading this register clears the content of this register. 00 01 02 7E 7F +127+126+1 +2 FF FE82 81 0 -1 -2-126-127Motion Delta_X 00 01 02 7E 7F +127+126+1 +2 FF FE81 80 0 -1 -2-127-128Motion Delta_X NOTE: 1JY"SU RECOMMENDS that registers 0x03, 0x04 and 0x0C be read consecutively in 12-bit motion reporting. DELTA_Y Address: 0x04 Y Displacemen t Register Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 Data Type: Eight bit 2’s complement number. USAGE: Y-axis movemen t in counts since last report. Absolute value is determined by resolution. Reading this register clears the content of this register. 00 01 02 7E 7F +127+126+1 +2 FF FE82 81 0 -1 -2-126-127Motion Delta_Y 00 01 02 7E 7F +127+126+1 +2 FF FE81 80 0 -1 -2-127-128Motion Delta_Y NOTE: 1JY"SU RECOMMENDS that registers 0x03, 0x04 and 0x0C be read consecutively in 12-bit motion reporting. 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
SHUT_HI Address: 0x06 Shutt er Open Time (Upper 4-bits) Register Access: Read Reset V alue: 0x01 Bit 7 6 5 4 3 2 1 0 Field Reserved Reserved Reserved Reserved S11 S10 S9 S8 SHUT_LO Address: 0x07 Shutter Open Time (Lower 8-bits) Register Access: Read Reset V alue: 0x64 Bit 7 6 5 4 3 2 1 0 Field S7 S6 S5 S4 S3 S2 S1 S0 Data Type: Twelve bit unsigned integer. USAGE: Units are in clock cy cles. Read SHUT_HI first, 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. PIX_MAX Address: 0x08 M aximum Pixel Value Register Access: Read Reset V alue: 0x00 Bit 7 6 5 4 3 2 1 0 Field MP7 MP6 MP5 MP4 MP3 MP2 MP1 MP0 Data Type: Eight-bit number. USAGE: Store the highest pix el value in current frame. Minimum value = 0, maximum value = 254. The highest pixel value may vary with different frame. PIX_ACCUM Address: 0x09 A ccumulated Pixel Value Register Access: Read Reset V alue: 0x00 Bit 7 6 5 4 3 2 1 0 Field AP7 AP6 AP5 AP4 AP3 AP2 AP1 AP0 Data Type: High 8-bits of an unsigned 17-bit integer. USAGE: This reg ister stores the accumulated pixel value of the last image taken. This register can be used to find the average pixel value, where Average Pixel = (register value AP[7:0]) * 1.058. The maximum accumula ted value is 122936 but only bits [16:9] are reported, therefore the maximum register value is 240. The minimum is 0. The PIX_ACCUM value may vary with different frame.register value is 240. The minimum is 0. The PIX_ACCUM value may vary with different frame. 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
PIX_MIN Address: 0x0a M inimum Pixel Value Register Access: Read Reset V alue: 0x00 Bit 7 6 5 4 3 2 1 0 Field MP7 MP6 MP5 MP4 MP3 MP2 MP1 MP0 Data Type: Eight-bit number. USAGE: Store the lo west pixel value in current frame. Minimum value = 0, maximum value = 254. The minimum pixel value may vary with different frame. PIX_GRAB Address: 0x0b P ixel Grabber Register Access: Read Reset V alue: 0x00 Bit 7 6 5 4 3 2 1 0 Field PG_VALID PG6 PG5 PG4 PG3 PG2 PG1 PG0 Data Type: Eight bit word. USAGE: The pixel g rabber 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 22x22 pixel arrays, it will take 484 read operations to grab all the pixels to form the complete image. Bit(s) Field Name Description
7 PG_VALID Pixel Grabber Valid
6:0 PG[6:0] Pixel Data NOTE: Any write operation into this register will reset the grabber to origin (pixel 0 position). The sensor should not be mov ed before the 484 read operations are completed to ensure original data is grabbed to produce good (uncorrupted) image. 22X22 Pixel Array Address Map – (View from top of sensor) Positive Y Positive X Top X-ray View of Mouse Pin 1 Left Button Right Button LED 462 440 418 396 374 352 330 308 286 264 242 220 198 176 154 132 110 88 66 44 22 0 First 463 441 419 397 375 353 331 309 287 265 243 221 199 177 155 133 111 89 67 45 23 1 464 442 420 398 376 354 332 310 288 266 244 222 200 178 156 134 112 90 68 46 24 2 465 443 421 399 377 355 333 311 289 267 245 223 201 179 157 135 113 91 69 47 25 3 466 444 422 400 378 356 334 312 290 268 246 224 202 180 158 136 114 92 70 48 26 4 467 445 423 401 379 357 335 313 291 269 247 225 203 181 159 137 115 93 71 49 27 5 468 446 424 402 380 358 336 314 292 270 248 226 204 182 160 138 116 94 72 50 28 6 469 447 425 403 381 359 337 315 293 271 249 227 205 183 161 139 117 95 73 51 29 7 470 448 426 404 382 360 338 316 294 272 250 228 206 184 162 140 118 96 74 52 30 8 471 449 427 405 383 361 339 317 295 273 251 229 207 185 163 141 119 97 75 53 31 9 472 450 428 406 384 362 340 318 296 274 252 230 208 186 164 142 120 98 76 54 32 10 473 451 429 407 385 363 341 319 297 275 253 231 209 187 165 143 121 99 77 55 33 11 474 452 430 408 386 364 342 320 298 276 254 232 210 188 166 144 122 100 78 56 34 12 475 453 431 409 387 365 343 321 299 277 255 233 211 189 167 145 123 101 79 57 35 13 476 454 432 410 388 366 344 322 300 278 256 234 212 190 168 146 124 102 80 58 36 14 477 455 433 411 389 367 345 323 301 279 257 235 213 191 169 147 125 103 81 59 37 15 478 456 434 412 390 368 346 324 302 280 258 236 214 192 170 148 126 104 82 60 38 16 479 457 435 413 391 369 347 325 303 281 259 237 215 193 171 149 127 105 83 61 39 17 480 458 436 414 392 370 348 326 304 282 260 238 216 194 172 150 128 106 84 62 40 18 481 459 437 415 393 371 349 327 305 283 261 239 217 195 173 151 129 107 85 63 41 19 482 460 438 416 394 372 350 328 306 284 262 240 218 196 174 152 130 108 86 64 42 20 Last 483 461 439 417 395 373 351 329 307 285 263 241 219 197 175 153 131 109 87 65 43 21 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
DELTA_XY_HIGH Address: 0x0c Upper 4 bits Delta- X/Y Displacement Register Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field DELTA_X_ HI3 DELTA_X_ HI2 DELTA_X_ HI1 DELTA_X_ HI0 DELTA_Y_ HI3 DELTA_Y_ HI2 DELTA_Y_ HI1 DELTA_Y_ HI0 Data Type: Eight bit 2’s complement number. USAGE: Concatena te the values to have a 12-bit reporting for the motion. X motion = {DELTA_XY_HIGH[7:4], DEL TA_X} , Y motion = DELTA_XY_HIGH[3:0], DELTA_Y} Bit(s) Field Name Description 7:4 DELTA_X_HI Upper 4 bits of DELTA_X displacement for 12-bit reporting 3:0 DELTA_Y_HI Upper 4 bits of DELTA_Y displacement for 12-bit reporting NOTE: 1JY"SURECOMMENDS that registers 0x03, 0x04 and 0x0C be read consecutively in 12-bit motion reporting. MOUSE_CTRL Address: 0x0d Mouse C ontrol Register Access: Read/Write Reset Value: 0x01 Bit 7 6 5 4 3 2 1 0 Field BIT_ REPORTING RSVD RES_EN RES2 RES1 RES0 PD RES_D Data Type: Bit field. USAGE: Resolution and chip reset infor mation can be accessed or to be edited by this register. Bit(s) Field Name Description
7 BIT_REPORTING 0x0: 8-bit motion reporting
0x1: 12-bit motion reporting. Read register 0x03, 0x04 and 0x0c.
6 RSVD Reserved
5 RES_EN Enable resolution settings set on MOUSE_CTRL [4:2]
4:2 RES [2:0] Resolution 0x0: 1000 dpi (default) 0x1: 250 dpi 0x2: 500 dpi 0x3: 1250 dpi 0x4: 1500 dpi 0x5: 1750 dpi 0x6: 2000 dpi
1 PD Power Down
0 RES_D 0x0: 500 dpi
0x1: 1250 dpi (default) NOTE: Setting MOUSE_CTRL [5] bit to ‘1’ will supersede and ignore MOUSE_CTRL [0] setting. 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
RUN_DOWNSHIFT Address: 0x0e Run to R est1 Time Register Access: Read/Write Reset V alue: 0x08 Bit 7 6 5 4 3 2 1 0 Field RUD7 RUD6 RUD5 RUD4 RUD3 RUD2 RUD1 RUD0 Data Type: Eight bit number. USAGE: This reg ister sets the Run to Rest1 mode downshift time. The time is the value of this register multiply by 8 times of position mode period (default is 4ms). Default downshif t time = 8 * 8 * 4 = 256 ms NOTE: 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 40 -> writ e 0x40H into register 0x22H prior to writing into this register w 0e XX -> writing in to this register w 22 00 -> writ e 0x00H into register 0x22H after writing into this register REST1_PERIOD Address: 0x0f R est1 Period Register Access: Read/Write Reset V alue: 0x01 Bit 7 6 5 4 3 2 1 0 Field RIP7 RIP6 RIP5 RIP4 RIP3 RIP2 RIP1 RIP0 Data Type: Eight bit number. USAGE: This reg ister sets the Rest1 period. Period = (register value R1P [7:0] +1) x 10ms (typical slow clock period). Min value for this register is 0x01. Max value is 0xFD. NOTE: 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 40 -> writ e 0x40H into register 0x22H prior to writing into this register w 0f XX -> writing in to this register w 22 00 -> writ e 0x00H into register 0x22H after writing into this register 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
REST1_DOWNSHIFT Address: 0x10 Rest1 t o Rest2 Downshift Time Register Access: Read/Write Reset V alue: 0x1f Bit 7 6 5 4 3 2 1 0 Field R1D7 R1D6 R1D5 R1D4 R1D3 R1D2 R1D1 R1D0 Data Type: Eight bit number. USAGE: This reg ister 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 0x01. NOTE: 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 40 -> writ e 0x40H into register 0x22H prior to writing into this register w 10 XX -> writing in to this register w 22 00 -> writ e 0x00H into register 0x22H after writing into this register REST2_PERIOD Address: 0x11 R est2 Period Register Access: Read/Write Reset V alue: 0x09 Bit 7 6 5 4 3 2 1 0 Field R2P7 R2P6 R2P5 R2P4 R2P3 R2P2 R2P1 R2P0 Data Type: Eight bit number. USAGE: This reg ister sets the Rest2 period. Period = (register value R2P [7:0] +1) x 10ms (typical slow clock period). Min value for this register is 0x01. Max value is 0xFD. NOTE: 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 40 -> writ e 0x40H into register 0x22H prior to writing into this register w 11 XX -> writing in to this register w 22 00 -> writ e 0x00H into register 0x22H after writing into this register 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
REST2_DOWNSHIFT Address: 0x12 Rest2 t o Rest3 Downshift Time Register Access: Read/Write Reset V alue: 0x2f Bit 7 6 5 4 3 2 1 0 Field R2D7 R2D6 R2D5 R2D4 R2D3 R2D2 R2D1 R2D0 Data Type: Eight bit number. USAGE: This reg ister 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 0x01. NOTE: 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 40 -> writ e 0x40H into register 0x22H prior to writing into this register w 12 XX -> writing in to this register w 22 00 -> writ e 0x00H into register 0x22H after writing into this register REST3_PERIOD Address: 0x13 R est3 Period Register Access: Read/Write Reset V alue: 0x31 Bit 7 6 5 4 3 2 1 0 Field R3P7 R3P6 R3P5 R3P4 R3P3 R3P2 R3P1 R3P0 Data Type: Eight bit number. USAGE: This reg ister sets the Rest3 period. Period = (register value R3P [7:0] +1) x 10ms (typical slow clock period). Min value for this register is 0x01. Max value is 0xFD. NOTE: 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 40 -> writ e 0x40H into register 0x22H prior to writing into this register w 13 XX -> writing in to this register w 22 00 -> writ e 0x00H into register 0x22H after writing into this register 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
PERFORMANCE Address: 0x22 P erformance Register Access: Read/Write Reset V alue: 0x00 Bit 7 6 5 4 3 2 1 0 Field RSVD FORCE3 FORCE1 FORCE0 RSVD RSVD RSVD RSVD Bit(s) Field Name Description
7 RSVD Reserved
6:4 FORCE[2:0] force modes 0x0: Normal operation. 0x1: force mode rest 1. 0x2: force mode rest 2. 0x3: force mode rest 3. 0x4: force mode run 1. 0x5: force mode run 2. 0x6: force mode idle. 3:0 RSVD Reserved RESET Address: 0x3a R eset Register Access: Write Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field RST7 RST6 RST5 RST4 RST3 RST2 RST1 RST0 Data Type: Eight bit unsigned integer. USAGE: This reg ister is used as chip reset by writing 0x5a into this register. NOT_REV_ID Address: 0x3f I nverted Revision ID Register Access: Read Reset V alue: 0xff Bit 7 6 5 4 3 2 1 0 Field RRID7 RRID6 RRID5 RRID4 RRID3 RRID2 RRID1 RRID0 Data Type: Eight bit unsigned integer. USAGE: This reg ister contains the inverse of the revision ID which is located at register 0x01. 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
LED_CTRL Address: 0x40 LED C ontrol Register Access: Read/Write Reset V alue: 0x00 Bit 7 6 5 4 3 2 1 0 Field RSVD RSVD RSVD RSVD LCOF RSVD RSVD RSVD Data Type: Eight bit unsigned integer. USAGE: This reg ister is used to control the LED operating mode. Bit(s) Field Name Description 7:4 RSVD Reserved
3 LCOF 0 : Normal operation (default)
1 : LED Continuous Off 2:0 RSVD Reserved MOTION_CTRL Address: 0x41 M otion Control Register Access: Read/Write Reset V alue: 0x40 Bit 7 6 5 4 3 2 1 0 Field MOT_A MOT_S RSVD RSVD RSVD RSVD RSVD RSVD Data Type: Eight bit unsigned integer. USAGE: This reg ister 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 configuration, 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 MO TION 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 (~380ns) 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(s) Field Name Description
7 MOT_A MOTION Active
0 : LOW (default) 1 : HIGH
6 MOT_S MOTION Sensitivity
0 : Level sensitive 1 : Edge sensitive (default) 5:0 RSVD Reserved 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
BURST_READ_FIRST Address: 0x42 Burst Read Star ting Address Register Access: Read/Write Reset V alue: 0x03 Bit 7 6 5 4 3 2 1 0 Field BM7 BM6 BM5 BM4 BM3 BM2 BM1 BM0 Data Type: Eight bit unsigned integer. USAGE: This reg ister provides the starting register address the sensor will read during Burst Mode. For more information, refer to Burst Mode Operation. BURST_READ_LAST Address: 0x44 Burst Read Ending A ddress Register Access: Read/Write Reset V alue: 0x09 Bit 7 6 5 4 3 2 1 0 Field BM7 BM6 BM5 BM4 BM3 BM2 BM1 BM0 Data Type: Eight bit unsigned integer. USAGE: This r egister provides the ending register address the sensor will read during Burst Mode. For more information, refer to Burst Mode Operation. Note: The last address should be larger than the starting address. REST_MODE_CONFIG Address: 0x45 Rest M ode Configuration Register Access: Read/Write Reset V alue: 0x00 Bit 7 6 5 4 3 2 1 0 Field RM1 RM0 RSVD RSVD RSVD RSVD RSVD RSVD Data Type: Eight bit unsigned integer. USAGE: This reg ister is used to set the operating mode of the ADNS-2080. Bit(s) Field Name Description 7:6 RM[1:0] Sensor Operating Mode 0x00: Normal (default) 0x01: Rest 1 0x02: Rest 2 0x03: Rest 3 5:0 RSVD Reserved Read operation to REST_MODE_CONFIG indicates which mode the sensor is in. Write operation into this register will f orce 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. 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor
MOTION_BURST Address: 0x63 Burst R ead Register Access: Read Reset V alue: 0x00 Bit 7 6 5 4 3 2 1 0 Field MB7 MB6 MB5 MB4 MB3 MB2 MB1 MB0 Data Type: Various. USAGE: This reg ister 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 BURST_READ_LAST register. Burst read must read the exact number of addresses set in order to complete the burst operation. For more information refer to Burst Mode Operation section. 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 PixArt Imaging Inc. Low Power Optical Mouse Sensor