ADNS-7530 Integrated molded lead-frame DIP Sensor Data Sheet Theory of Operation Features The ADNS-7530 integrated molded lead-frame DIP sensor comprises of sensor and VCSEL in a single package. • Wide operating voltage: 2.7V-3.6V The advanced class of VCSEL was engineered by Avago Technologies to provide a laser diode with a single longitudinal and a single transverse mode. In contrast to most oxide-based single-mode VCSEL, this class of Avago VCSEL remains within single mode operation over a wide range of output power. It has significantly lower power consumption than a LED. It is an excellent choice for optical navigation applications. • Low power architecture 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. • Motion detect pin output • Small form factor, integrated molded lead frame DIP package • LaserStream™ technology • Self-adjusting power-saving modes for longest battery life • High speed motion detection up to 30 ips and 8g • Enhanced SmartSpeed self-adjusting frame rate for optimum performance • 12-bits motion data registers. • Internal oscillator – no clock input needed. • Selectable 400, 800, 1200, 1600, 2000 cpi resolution. • Four wire serial port • Minimal number of passive components • Laser fault detect circuitry on-chip for Eye Safety Compliance • Advanced Technology VCSEL chip • Single Mode Lasing operation • 832-865 nm wavelength Applications • Laser Mice • Optical trackballs • Integrated input devices • Battery-powered input devices Pinout of ADNS-7530 Optical Mouse Sensor Pin Name Description 1 VCSEL+VE Positive Terminal of VCSEL 2 LASER_NEN LASER Enable (Active LOW) 3 NCS Chip select (active low input) 4 MISO Serial data output (Master In/Slave Out) 5 SCLK Serial clock input 6 MOSI Serial data input (Master Out/Slave In) 7 MOTION Product Number 1 16 2 15 3 14 4 13 5 12 6 11 Motion Detect (active low output) 7 8 Date Code 10 8 XYLASER XYLASER 9 VDD3 3V Input 10 NC No Connection 11 GND Ground 12 VDD3 3V Input 13 RefA 1.8V regulator output Item Marking 14 DGND Digital Ground Product Number A7530 15 VDDIO IO Voltage input (1.65~3.6V) Date Code XYYWWZV 16 VCSEL-VE Negative Terminal of VCSEL VCSEL Binning KL Lot Code VVV 9 Lot Code Vcsel Binning Figure 1. Device pin-out for ADNS-7530 2 Remarks X = Subcon Code YYWW = Date Code Z = Sensor Die Source V = VCSEL Die Source Numeric Feature For Illustration Only 9.10 0.358 4.10 0.161 Section A-A 0.36 0.014 1.69 0.067 2.83 0.111 4.05 0.159 Pin 1 10.90 (At shoulder) 0.429 9.10 0.358 16.20 0.638 16X 0.50 0.020 1.52 0.060 0.20 0.008 3.18 0.125 0.78 0.031 2.41 0.095 A A 2X 0.50 0.020 0.89 0.035 1.78 0.070 Optical center 2X 0.50 0.020 VCSEL hole 10.90 ± 0.40 (At lead tip) 0.429 ± 0.016 Sensor hole Notes: 1. Dimensions in milimeter / inches. 2. Dimensional tolerance: ±0.1mm. 3. Coplanarity of lead: 0.1mm 4. Lead pitch tolerance: ±0.15mm. 5. Non-cumulative pitch tolerance: ±0.15mm. 6. Maximum flash: ±0.2mm. 7. Angular tolerance: 3q 8. Chamfer (25q x2) on the taper side of the lead. 9. Brackets () indicate reference dimension. 10. Document Number: LSR_INT_16A_Pkg_001 Figure 2. Package outline drawing 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 3 3.96 0.156 Protective kapton tape 10.10 0.398 5.05 0.199 0.50 0.020 Regulatory Requirements Laser Mouse Sensor • Passes FCC B and worldwide analogous emission limits when assembled into a mouse with shielded cable and following Avago recommendations. NCS Power and Control VDD3 RefA VDDIO Serial and Registers GND Image Array DSP • Passes IEC-1000-4-3 radiated susceptibility level when assembled into a mouse with shielded cable and following Avago recommendations. SCLK MOSI • Passes EN61000-4-4/IEC801-4 EFT tests when assembled into a mouse with shielded cable and following Avago recommendations. MISO MOTION DGND • Provides sufficient ESD creepage/clearance distance to avoid discharge up to 15kV when assembled into a mouse according to usage instructions above. Oscillator XYLASER LASER Drive LASER_NEN VCSEL-VE VCSEL VCSEL+VE Figure 3. Block diagram of ADNS-7530 integrated molded lead-frame DIP sensor Overview of Laser Mouse Sensor Assembly Guide post A Sensor Hole Sensor Guide Post A VCSEL Hole PCB Lens B B Guide post B PCB thickness Base Plate Foot Base Plate Navigation Surface DETAIL A Top of PCB to Surface Lens reference plane to Tracking surface (Z) 7.40 0.291 2.40 0.094 7.83 Die to Surface 0.308 DETAIL A Gap between PCB and base plate Top of sensor to surface Figure 4. 2D Assembly drawing of ADNS-7530 sensor coupled with the ADNS-6150 lens, PCB and base plate (top and cross-sectional view) 4 1.60 0.063 3.40 0.134 9.05 0.356 Assembly Recommendation 1. Insert the integrated molded lead-frame DIP sensor and all other electrical components into the application PCB. 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. 2. This sensor package is only qualified for wave-solder process. 8. Tune the laser output power from the VCSEL to meet the Eye Safe Class I Standard as detailed in the LASER Power Adjustment Procedure. 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. Design considerations for improving ESD Performance For improved electrostatic discharge performance, typical creepage and clearance distance are shown in the table below. Assumption: base plate construction as per the Avago supplied IGES file and ADNS-6150, ADNS6160-001 or ADNS-6170-002 lens: Lens ADNS-6150 ADNS-6160-001 ADNS-6170-002 Creepage 12.0 mm 13.50 mm 20.30 mm Clearance 2.1 mm 1.28 mm 1.28 mm Note that the lens material is polycarbonate and therefore, cyanoacrylate based adhesives or other adhesives that may damage the lens should NOT be used. Lens interference 3.18 0.125 7X 1.78 0.070 0 (2.78) 0.110 Pin #1 2.31 0.091 1.05 0.041 14.18 0.558 9. 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.65 0.380 10.70 0.421 0 5.35 0.211 3. Wave-solder the entire assembly in a no-wash solder 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. Optical center 0.89 0.035 ∅ 1.10 0.043 13.35 0.526 Figure 5. Recommended PCB mechanical cutouts and spacing 5 16X ∅ 0.70 0.028 Pad ring J2 J1 1R R4 1R R3 *1' C2 3.3uF/16V J3 *1' Q1 C3 10nF 9 $ 9&& % *1' MINI SOCKET 10-WAY CON1 R5 27k R2 1k 9&& 7$3 )'%. 9287 6(16 U2 L1 GRN 32.768KHz R20 10k *1' R19 10k 9&& X1 *1' R6 51k LP2951 (55 *1' 9,1 6+7'1 35;' 37;' ;287 ;,1 56710, 3 3 3 3 767 U1 5LJKW6: /HIW6: *1' 30,62 3&/. 3026, 3 3 3 3 3 3 3 3 3 3 3 3 3 *1' 9&& R7 100k *1'$ C6 100nF C4 100nF R8 100k 9'' 6 C7 4.7uF/10V *1' R13 51k R12 51k 9%$7 R9 100k 9&& R10 100k 9&& R11 4.7R *1' C5 10uF/10V %RWWRP6: 0LGGOH6: SW4 SW3 C18 10nF *1' J4 1R R14 C19 1nF 9&6(/9( 9&6(/9( /$6(5B1(1 ;</$6(5 1&6 9'',2 0,62 '*1' ADNS-7530 6&/. 5()$ 026, 9'' 027,21 *1' 1& 9'' U3 9'' C16 100nF C10 1uF/16V 0,62 C11 10nF C13 100nF 9'' BATTERY SW5 nRF24L01 C17 3.3uF/16V 026, 6&/. &61 &( C20 33nF BT1 C12 470pF 9'' *1' Q2 NTA4151P 9&& Figure 6. Schematic Diagram for 3-Button Scroll Wheel Cordless Mouse 9&& 9&& 9&& *1' C1 10nF R1 100k 9&& SW2 SW1 9'' MPS430F1222IPW 966 '9'' *1' C21 22pF 9%$7 ,5() *1' U4 966 9'' C22 22pF X2 16MHz *1' R16 1M 9''B3$ $17 $17 R15 22k C15 100nF 9&& *1' J5 C9 4.7uF/10V C14 3.3uF/16V C8 4.7uF/10V *1' C25 3.3uF/16V 9%$7 (1 9287 )% 6: 4.7uH L4 8.2nH U5 TPS61070DDC L2 *1' Application Circuit 966 ,54 9'' 966 9'' 966 ;& ;& C28 2.2nF *1' L5 2.7nH L3 3.9nH *1' C29 4.7pF C26 1.5pF R18 180k, 1% R17 900k, 1% 9 *1' 9'' E1 C24 4.7uF/10V C27 1.0pF 5HIHUWR1RWH ,03257$17 *1'$ C23 4.7uF/10V Figure 7. Schematic Diagram for 3-Button Scroll Wheel Cordless Mouse Dongle Notes 1. The supply and ground paths should be laid out using a star methodology. 2. Level shifting is required to interface a 5V micro-controller to the ADNS-7530. If a 3V micro-controller is used, the 74VHC125 component shown may be omitted 3. All grounds MUST be correctly separated into digital and analog grounds. The digital and analog ground lines MUST be reconnected as far away as possible at either the negative terminal of the battery or at the USB connector. 7 LASER Drive Mode The laser is driven in pulsed mode during normal operation. A calibration mode is provided which drives the laser in continuous (CW) operation. Eye Safety 7. Program registers 0x1c and 0x1d with increasing values to achieve an output power of not more than 506uW to meet class 1 Eye Safety over temperature. If this power is obtained, the calibration is complete, skip to step 11. The ADNS-7530 integrated molded lead-frame DIP sensor and the associated components in the schematic of Figure 6 are intended to comply with Class 1 Eye Safety Requirements of IEC 60825-1. Avago Technologies suggests that manufacturers perform testing to verify eye safety on each mouse. It is also recommended to review possible single fault mechanisms beyond those described below in the section “Single Fault Detection”. Under normal conditions, the sensor generates the drive current for the VCSEL. 8. If it was not possible to achieve the power target, set the laser current to the minimum value by writing 0x00 to register 0x1c, and the complementary value 0xff to register 0x1d. In order to stay below the Class 1 power requirements, LASER_CTRL0 (register 0x1a), LASER_CTRL1 (register 0x1f ), LSRPWR_CFG0 (register 0x1c) and LSRPWR_CFG1 (register 0x1d) must be programmed to appropriate values. The ADNS-7530 integrated molded lead-frame DIP sensor which comprised of the sensor and VCSEL; is designed to maintain the output beam power within Class 1 requirements over components manufacturing tolerances and the recommended temperature range when adjusted per the procedure below and implemented as shown in the recommended application circuit of Figure 6. For more information, please refer to Eye Safety Application Note 5361. 11. Save the value of registers 0x1a, 0x1c, 0x1d, and 0x1f in non-volatile memory in the mouse. These registers must be restored to these values every time the ADNS-7530 is reset. LASER Power Adjustment Procedure LASER Output Power 1. The ambient temperature should be 25C +/- 5C. The laser beam output power as measured at the navigation surface plane is specified below. The following conditions apply: 2. Set VDD3 to its permanent value. 3. Set the Range bits (bit 7 and 6 of register 0x1a) to b’01. 4. Set the Range_C complement bits (bit 7 and 6 of register 0x1f ) to b’10. 5. Enable the Calibration mode by writing to bits [3,2,1] of register 0x1A so the laser will be driven with 100% duty cycle. 6. Set the laser current to the minimum value by writing 0x00 to register 0x1c, and the complementary value 0xFF to register 0x1d. 9. Set the Range and Range_C bits in registers 0x1a and 0x1f, respectively, to choose to the higher laser current range. 10. Program registers 0x1c and 0x1d with increasing values to achieve an output power of not more than 506uW to meet class 1 Eye Safety over temperature. 12. Reset the mouse, reload the register values from non-volatile memory, enable Calibration mode, and measure the laser power to verify that the calibration is correct. Good engineering practices such as regular power meter calibration, random quality assurance retest of calibrated mice, etc. should be used to guarantee performance, reliability and safety for the product design. 1. The system is adjusted according to the above procedure. 2. The system is operated within the recommended operating temperature range. 3. The VDD3 value is no greater than 300mV above its value at the time of adjustment. 4. No allowance for optical power meter accuracy is assumed. LASER Output Power Parameter Symbol Laser output power LOP 8 Minimum Maximum Units Notes 716 uW Class 1 limit with recommended VCSEL and lens. Disabling the LASER LASER_NEN is connected to the gate of a P-channel MOSFET transistor which when ON connects VDD3 to the LASER. In normal operation, LASER_NEN is low. In the case of a fault condition (ground or VDD3 at XYLASER), LASER_NEN goes high to turn the transistor off and disconnect VDD3 from the LASER. Single Fault Detection ADNS-7530 is able to detect a short circuit or fault condition at the XYLASER pin, which could lead to excessive laser power output. A path to ground on this pin will trigger the fault detection circuit, which will turn off the laser drive current source and set the LASER_NEN output high. When used in combination with external components as shown in the block diagram below, the system will prevent excess laser power for a resistive path to ground at XYLASER by shutting off the laser. In addition to the ground path fault detection described above, the fault detection circuit is continuously checking for proper operation by internally generating a path to ground with the laser turned off via LASER_NEN. If the XYLASER pin is shorted to VDD3/RefA, this test will fail and will be reported as a fault. VDD3 ADNS-7530 Microcontroller LASER DRIVER LASER_NEN VDD3 VCSEL+VE VCSEL voltage sensor VCSEL-VE XYLASER current set GND Figure 8. Single Fault Detection and Eye-safety Feature Block Diagram 9 S D fault control block Serial port G Absolute Maximum Ratings Parameter Symbol Min Storage Temperature TS -40 Lead Soldering Temperature TSolder Supply Voltage VDD3 VDDIO ESD (Human-body model) VESD Input Voltage VIN Latchup Current IOUT Max 85 ºC ºC -0.5 3.7 V -0.5 3.7 V 2 kV All pins mA All pins Units Notes 20 Min For 10 seconds, 1.8mm below seating plane. See soldering reflow profile in Figure 10 VDDIO+0.5 V = A,V Symbol Notes 260 -0.5 VCSEL Die Source Marking Parameter (For VCSEL only) Units V=C Max Min Max DC Forward current IF 12 7.0 mA Peak Pulsing current IP 19 9 mA Power Dissipation P 24 24 mW Reverse voltage VR 5 8 V Laser Junction Temperature TJ 150 170 ºC Duration = 100ms, 10% duty cycle I = 10μA 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 maximum ratings do not reflect eye-safe operation. Eye safe operating conditions are listed in the power adjustment procedure section. 3. 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 Recommended Operating Conditions Parameter Symbol Minimum Typical Maximum Units Operating Temperature TA 0 Power supply voltage VDD3 2.7 VDDIO 1.65 3.6 Power supply rise time VRT3 1 100 Supply noise (Sinusoidal) VNA 2.8 Notes 40 ºC 3.6 Volts Including noise. ms 0 to 3.0V mVp- 10kHz-50MHz 100 Including noise. p Serial Port Clock Frequency fSCLK Distance from lens reference plane to surface Z Speed S 2.18 2.40 1 MHz Active drive, 50% duty cycle 2.62 mm Results in +/- 0.22 mm minimum DOF. See Figure 9 30 in/ sec Acceleration A 8 g Load Capacitance Cout 100 pF 10 MOTION, MISO Optical/Electrical Characteristics (at Tc = 5°C to 45°C): VCSEL Die Source Marking Parameter V = A,V V=C Symbol Min Typ Peak Wavelength λ 832 Maximum Radiant Power LOPmax 4.5 4.0 mW Wavelength Temperature Coefficient dλ/dT 0.065 0.065 nm/ ºC Wavelength Current Coefficient dλ/dI 0.21 0.3 nm/ mA Beam Divergence θFW@1/ e^2 15 16 deg Threshold Current Ith 4.2 3.0 mA Slope Efficiency SE 0.4 Forward Voltage VF 2.1 Max Min 865 832 Typ Max 865 0.35 2.4 2.1 Units Notes nm Maximum output power under any condition. This is not a recommended operating condition and does not meet eye safety requirements. W/A 2.4 V At 500uW output power Notes: 1. VCSELs are sorted into bins as specified in the power adjustment procedure. Appropriate binning register data values are used in the application circuit to achieve the target output power. The VCSEL binning is marked on the integrated molded lead-frame DIP sensor package. 2. When driven with current or temperature range greater than specified in the power adjustment procedure section, eye safety limits may be exceeded. The VCSEL should then be treated as a Class IIIb laser and as a potential eye hazard. 3. Over driving beyond LOPmax limit will cause the VCSEL to enter into an unstable region. Any LOP that exceeds this limit should not be taken as a valid reference point in the laser power calibration process. 11 Sensor Lens Navigation surface Lens to surface 2.40 Figure 9. Distance from lens reference plane to surface, Z Figure 10. Recommended Soldering Reflow Profile 12 AC Electrical Specifications Electrical Characteristics over recommended operating conditions. Typical values at 25 °C, VDD=2.8V. Parameter Symbol Minimum Typical Maximum Units Notes Motion delay after reset tMOT-RST 23 ms From SW_RESET register write to valid motion, assuming motion is present Shutdown tSTDWN 50 ms From Shutdown mode active to low current Wake from shutdown tWAKEUP ms From Shutdown mode inactive to valid motion. Notes: A RESET must be asserted after a shutdown. Refer to section “Notes on Shutdown and Forced Rest”, also note tMOT-RST Forced Rest enable tREST-EN 1 s From RESTEN bits set to low current Wake from Forced Rest tREST-DIS 1 s From RESTEN bits cleared to valid motion MISO rise time tr-MISO 150 300 ns CL = 100pF MISO fall time tf-MISO 150 300 ns CL = 100pF MISO delay after SCLK tDLY-MISO 120 ns From SCLK falling edge to MISO data valid, no load conditions MISO hold time thold-MISO 0.5 1/fSCLK us Data held until next falling SCLK edge MOSI hold time thold-MOSI 200 ns Amount of time data is valid after SCLK rising edge MOSI setup time tsetupMOSI 120 ns From data valid to SCLK rising edge SPI time between write commands tSWW 30 μs From rising SCLK for last bit of the first data byte, to rising SCLK for last bit of the second data byte. SPI time between write and read commands tSWR 20 μs From rising SCLK for last bit of the first data byte, to rising SCLK for last bit of the second address byte. SPI time between read and subsequent commands tSRW tSRR 500 ns From rising SCLK for last bit of the first data byte, to rising SCLK for last bit of the second address byte. SPI read addressdata delay tSRAD 4 μs From rising SCLK for last bit of the address byte, to falling SCLK for first bit of data being read. NCS inactive after motion burst tBEXIT 500 ns Minimum NCS inactive time after motion burst before next SPI usage NCS to SCLK active tNCS-SCLK 120 ns From NCS falling edge to first SCLK rising edge SCLK to NCS inactive (for read operation) tSCLK-NCS 120 ns From last SCLK rising edge to NCS rising edge, for valid MISO data transfer SCLK to NCS inactive (for write operation) tSCLK-NCS 20 us From last SCLK rising edge to NCS rising edge, for valid MOSI data transfer 25 NCS to MISO high-Z tNCS-MISO 500 ns From NCS rising edge to MISO high-Z state MOTION rise time tr-MOTION 150 300 ns CL = 100pF MOTION fall time tf-MOTION 150 300 ns CL = 100pF Transient Supply Current IDDT 45 mA Max supply current during a VDD ramp from 0 to 2.8V 13 DC Electrical Specifications Electrical Characteristics over recommended operating conditions. (Typical values at 25 °C, VDD=2.8V, VDDIO= 2.8V) Parameter Symbol DC Supply Current in various modes IDD_RUN IDD_REST1 IDD_REST2 IDD_REST3 Minimum Typical Maximum Units Notes 2.50 0.35 0.09 0.05 3.3 0.55 0.14 0.085 mA Average current, including LASER current. No load on MISO, MOTION. 40 mA 60 μA NCS, SCLK, MOSI = VDDIO MISO, MOTION = Hi-Z 0.2*VDDIO V SCLK, MOSI, NCS V SCLK, MOSI, NCS mV SCLK, MOSI, NCS μA Vin = 0.7*VDDIO , SCLK, MOSI, NCS mA VXY_LASER >=0.3V LSRPWR_CFG0 = 0xFF LSRPWR_CFG 1 = 0x00 Run Mode Peak Supply Current Shutdown Supply Current 45 IDDSTDWN Input Low Voltage VIL Input High Voltage VIH Input Hysteresis VI_HYS 100 Input Leakage Current Ileak ±1 XY_LASER Current ILAS 0.8 Laser Current (fault mode) ILAS_FAULT 300 uA XY_LASER Rleakage < 75kOhms to Gnd Output Low Voltage, MISO, MOTION VOL 0.2*VDDIO V Iout=1mA, MISO, MOTION Output High Voltage, MISO, MOTION VOH V Iout=-1mA, MISO, MOTION Output Low Voltage, LASER_NEN VOL V Iout= 1mA, LASER_NEN Output High Voltage, LASER_NEN VOH V Iout= -0.5mA, LASER_NEN Input Capacitance Cin pF MOSI, NCS, SCLK 14 0.8*VDDIO ±10 0.8*VDDIO 0.2*VDD3 0.8*VDD3 10 Resolution(DPI) Resolution vs Z-Height on General Surfaces (A7530) 1200 White Paper 1000 Black Formica 800 Photo Paper 600 White Formica 400 Manila 200 White Delrin Spruce Wood 0 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 Z-Height(mm) Figure 11. Mean Resolution vs. Z at 800cpi Typical Path Deviation Largest Single Perpendicular Deviation Mouse Count From A Straight Line At 45 Degrees Path Length = 4 inches; Speed = 6 ips ; Resolution = 800 cpi 50 White Paper 40 Black Formica Photo Paper 30 White Formica 20 Manila 10 White Delrin 0 Spruce Wood -0.3 -0.2 -0.1 0 Z-Height(mm) Figure 12. Average Error vs. Distance at 800cpi (mm) 15 0.1 0.2 0.3 VCSEL’s Typical Characteristics 50 V=C V=C 2.0 Temperature Rise (°C) Forward Voltage, VF (V) 2.5 V = A,V 1.5 1.0 0.5 0.0 0 2 4 6 Forward Current, IF (mA) 8 10 40 V = A,V 30 20 10 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Forward Current, IF (mA) Figure 13. Forward Voltage vs. Forward Current for VCSEL Figure 14. Junction Temperature Rise vs. Forward Current for VCSEL Motion Pin Timing Chip Select Operation The motion pin is a level-sensitive output that signals the micro-controller when motion has occurred. The motion pin is lowered whenever the motion bit is set; in other words, whenever there is data in the Delta_X or Delta_Y registers. Clearing the motion bit (by reading Delta_X and Delta_Y, or writing to the Motion register) will put the motion pin high. The serial port is activated after NCS goes low. If NCS is raised during a transaction, the entire transaction is aborted and the serial port will be reset. This is true for all transactions. After a transaction is aborted, the normal address-to-data or transaction-to-transaction delay is still required before beginning the next transaction. To improve communication reliability, all serial transactions should be framed by NCS. In other words, the port should not remain enabled during periods of non-use because ESD and EFT/B events could be interpreted as serial communication and put the chip into an unknown state. In addition, NCS must be raised after each burstmode transaction is complete to terminate burst-mode. The port is not available for further use until burst-mode is terminated. LASER Mode For power savings, the VCSEL will not be continuously on. ADNS-7530 will flash the VCSEL only when needed. Synchronous Serial Port The synchronous serial port is used to set and read parameters in the ADNS-7530, and to read out the motion information. The port is a four-wire port. The host micro-controller always initiates communication; the ADNS-7530 never initiates data transfers. SCLK, MOSI, and NCS may be driven directly by a micro-controller. The port pins may be shared with other SPI slave devices. When the NCS pin is high, the inputs are ignored and the output is tri-stated. The lines that comprise the SPI port: SCLK: Clock input. It is always generated by the master (the micro-controller). MOSI: Input data. (Master Out/Slave In) MISO: Output data. (Master In/Slave Out) NCS: Chip select input (active low). NCS needs to be low to activate the serial port; otherwise, MISO will be high Z, and MOSI & SCLK will be ignored. NCS can also be used to reset the serial port in case of an error. 16 Write Operation Write operation, defined as data going from the micro-controller to the ADNS-7530, is always initiated by the microcontroller 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-7530 reads MOSI on rising edges of SCLK. NCS SCLK M OSI 1 2 1 A 3 A 6 4 A 5 5 A 4 6 3 A 7 2 A 8 1 A 9 D 0 10 7 D 6 11 12 13 14 15 16 1 2 D D D D D D 1 A 5 4 3 2 1 0 6 M ISO M O S I D riv e n b y M ic r o -C o n tro lle r Figure 15. Write Operation SCLK MOSI t Hold,MOSI t setup , MOSI Figure 16. MOSI Setup and Hold Time Read Operation A read operation, defined as data going from the ADNS-7530 to the micro-controller, is always initiated by the microcontroller 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-7530 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 # 1 2 3 4 5 6 7 A6 A5 A4 A3 A2 A1 8 9 10 11 12 13 14 D7 D6 D5 D4 D3 D2 15 16 SCLK MOSI 0 MISO A0 D1 D0 t SRAD delay Figure 17. Read Operation SCLK t HOLD-MISO t DLY-MISO MISO D0 Figure 18. MISO Delay and Hold Time Note: The 0.5/fSCLK minimums high state of SCLK is also the minimum MISO data hold time of the ADNS-7530. Since the falling edge of SCLK is actually the start of the next read or write command, the ADNS-7530 will hold the state of data on MISO until the falling edge of SCLK. 17 Required timing between Read and Write Commands There are minimum timing requirements between read and write commands on the serial port. t SWW SCLK Address Data Address Write Operation Data Write Operation Figure 19. 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. tSWR SCLK Address Data Address Write Operation Next Read Operation Figure 20. 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. tSRW & t SRR tSRAD SCLK Address Data Address Figure 21. 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 ADNS7530 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. Burst Mode Operation 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 continuous data clocking to or from multiple registers without the need to specify the register address, and by not requiring the normal delay period between data bytes. Burst mode is activated by reading the Motion_Burst register. The ADNS-7530 will respond with the contents of the Motion, Delta_X_L, Delta_Y_L, Delta_XY_H, SQUAL, Shutter_Upper, Shutter_Lower and Maximum_Pixel registers in that order. The burst transaction can be terminated anywhere in the sequence after the Delta_X value by bringing the NCS pin high. After sending the register address, the micro-controller must wait tSRAD and then begin reading data. 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. After the burst transmission is complete, the micro-controller must raise the NCS line for at least tBEXIT to terminate burst mode. The serial port is not available for use until it is reset with NCS, even for a second burst transmission. tSRAD SCLK Motion_Burst Register Address Read First Byte First Read Operation Figure 22. Motion Burst Timing 18 Read Second Byte Read Third Byte Notes on Power-up Notes on Shutdown The ADNS-7530 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: The ADNS-7530 can be set in Shutdown mode by writing 0xe7 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 sensor’s NCS pin is not asserted.) The table below shows the state of various pins during shutdown. To deassert Shutdown mode: i. Apply power to VDD3 and VDDIO in any order, with the delay of no more than 100ms in between each supply. Ensure all supplies are stable. ii. Drive NCS high, then low to reset the SPI port. iii. Write 0x5a to register 0x3a. iv. Wait for at least one frame. v. i. Write 0x5a to register 0x3a ii. Wait for at least one frame. iii. Clear observation register. Clear observation register. vi. Wait at least one frame and check observation register, all bits 0-3 must be set. iv. Wait at least one frame. v. Check observation register, all bits 0-3 must be set to 1. vii. Read from registers 0x02, 0x03, 0x04 and 0x05 (or read these same 4 bytes from burst motion register 0x42) one time regardless of the motion pin state. vi. Write 0x27 to register 0x3C viii. Write 0x27 to register 0x3C viii. Write 0x01 to register 0x21 ix. Write 0x0a to register 0x22 ix. Write 0x32 to register 0x3C x. x. Write 0x01 to register 0x21 vii. Write 0x0a to register 0x22 Write 0x20 to register 0x23 xi. Write 0x32 to register 0x3C xi. Write 0x05 to register 0x3C xii. Write 0x20 to register 0x23 xii. Write 0xB9 to register 0x37 xiii. Write 0x05 to register 0x3C xiii. Any register settings must then be reloaded. xiv. Write 0xB9 to register 0x37 Pin Status when Shutdown Mode 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. NCS Functional[1] MISO Undefined[2] SCLK Ignore if NCS = 1 [3] MOSI Ignore if NCS = 1 [4] XYLASER High(off ) LASER_NEN High(off ) MOTION Undefined [2] State of Signal Pins After VDD is Valid Pin On Power-Up NCS Functional MISO Undefined SCLK Ignored MOSI Ignored MOTION LASER_NEN 19 Before Reset NCS High NCS Low After Reset Hi Low Functional Undefined Functional Depends on NCS Ignored Functional Depends on NCS Ignored Functional Depends on NCS Undefined Undefined Undefined Functional Undefined Undefined Undefined Functional 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. Depend on last state 3. SCLK is ignore if NCS is 1 (high). It is functional if NCS is 0 (low). 4. MOSI is ignore 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). Note: There are long wakeup times from shutdown and forced Rest. These features should not be used for power management during normal mouse motion. Registers The ADNS-7530 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 Product_ID R 0x31 0x01 Revision_ID R 0x03 0x02 Motion R/W 0x00 0x03 Delta_X_L R 0x00 0x04 Delta_Y_L R 0x00 0x05 Delta_XY_H R 0x00 0x06 SQUAL R 0x00 0x07 Shutter_Upper R 0x00 0x08 Shutter_Lower R 0x64 0x09 Maximum_Pixel R 0xd0 0x0a Pixel_Sum R 0x80 0x0b Minimum_Pixel R 0x00 0x0c CRC0 R 0x00 0x0d CRC1 R 0x00 0x0e CRC2 R 0x00 0x0f CRC3 R 0x00 0x10 Self_Test W NA 0x11 Reserved 0x12 Configuration2_Bits R/W 0x26 0x13 Run_Downshift R/W 0x04 0x14 Rest1_Rate R/W 0x01 0x15 Rest1_Downshift R/W 0x1f 0x16 Rest2_Rate R/W 0x09 0x17 Rest2_Downshift R/W 0x2f 0x18 Rest3_Rate R/W 0x31 0x19 Reserved 0x1a LASER_CTRL0 R/W 0x00 0x1b Reserved 0x1c LSRPWR_CFG0 R/W 0x00 0x1d LSRPWR_CFG1 R/W 0x00 R/W 0x00 R/W 0x00 0x1e Reserved 0x1f LASER_CTRL1 0x20-2d Reserved 0x2e Observation 0x2f-0x34 Reserved 0x35 Pixel_Grab R/W 0x00 0x36 0x37-0x39 H_RESOLUTION Reserved R/W 0x04 0x3a POWER_UP_RESET W NA 0x3b Shutdown W NA 0x3c Reserved 0x3d Shut_thr R/W 0x56 0x3e Inverse_Revision_ID R 0xfc 0x3f Inverse_Product_ID R 0xce 0x42 Motion_Burst R 0x00 20 Product_ID Address: 0x00 Access: Read Reset Value: 0x31 Bit 7 6 5 4 3 2 1 0 Field PID7 PID6 PID5 PID4 PID3 PID2 PID1 PID0 Data Type: 8-Bit unsigned integer USAGE: This register contains a unique identification assigned to the ADNS-7530. The value in this register does not change; it can be used to verify that the serial communications link is functional. Revision_ID Address: 0x01 Access: Read Reset Value: 0x03 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 register contains the IC revision. It is subject to change when new IC versions are released. 21 Motion Address: 0x02 Access: Read/Write Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field MOT PIXRDY PIXFIRST OVF LP_VALID FAULT Reserved Reserved Data Type: Bit field. USAGE: Register 0x02 allows the user to determine if motion has occurred since the last time it was read. If the MOT bit is set, then the user should read registers 0x03 and 0x04 to get the accumulated motion. Read this register before reading the Delta_X_L, Delta_Y_L and Delta_XY_H registers. Writing anything to this register clears the MOT and OVF bits, Delta_X_L, Delta_Y_L and Delta_XY_H registers. The written data byte is not saved. If one of the 12 bits motion registers overflows, then absolute path data is lost and the OVF bit is set. Once OVF bit set, Sensor will stop accumulating motion data. Motion registers and OVF bit will be clear after data been read out. The PIXRDY bit will be set whenever a valid pixel data byte is available in the Pixel_Grab register. Check that this bit is set before reading from Pixel_Grab. To ensure that the Pixel_Grab pointer has been reset to pixel 0,0 on the initial write to Pixel_Grab, check to see if PIXFIRST is set to high. Field Name Description MOT Motion since last report 0 = No motion 1 = Motion occurred, data ready for reading in Delta_X_L, Delta_Y_L and Delta_XY_H registers PIXRDY Pixel_Grab data byte is available in Pixel_Grab register 0 = data not available 1 = data available PIXFIRST This bit is set when the Pixel_Grab register is written to or when a complete pixel array has been read, initiating an increment to pixel 0,0. 0 = Pixel_Grab data not from pixel 0,0 1 = Pixel_Grab data is from pixel 0,0 OVF Motion overflow, ΔY and/or ΔX buffer has overflowed since last report 0 = no overflow 1 = Overflow has occurred LP_VALID Laser Power Settings 0 = register 0x1a and register 0x1f or register 0x1c and register 0x1d do not have complementary values 1 = laser power is valid FAULT Indicates that –VCSEL is shorted to GND or VDD 0 = no fault detected 1 = fault detected. Note: Avago recommends that registers 0x02, 0x03, 0x04and 0x05 be read sequentially. 22 Delta_X_L Address: 0x03 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 movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Note: Avago recommends that registers 0x02, 0x03, 0x04 and 0x05 be read sequentially. Delta_Y_L Address: 0x04 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 movement is counts since last report. Absolute value is determined by resolution. Reading clears the register. Note: Avago recommends that registers 0x02, 0x03, 0x04 and 0x05 be read sequentially. Delta_XY_H Address: 0x05 Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field X11 X10 X9 X8 Y11 Y10 Y9 Y8 Data Type: 2’s complement number, upper 4 bits of Delta_X and Delta_Y. USAGE: Delta_XY_H must be read after Delta_X_L and Delta_Y_L to have the full motion data. Reading clears the register. Note: Avago recommends that registers 0x02, 0x03, 0x04 and 0x05 be read sequentially. 23 SQUAL Address: 0x06 Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field SQ7 SQ6 SQ5 SQ4 SQ3 SQ2 SQ1 SQ0 Data Type: Upper 8 bits of a 9-bit unsigned integer. USAGE: 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 242. 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). SQUAL Value (White Paper) At Z = 0 mm, [email protected]" diameter, Speed-6ips Squal value 200 150 100 50 0 1 56 111 166 221 276 331 386 441 496 551 606 661 716 771 826 881 Count Figure 23. SQUAL Values at 800cpi (White Paper) Mean SQUAL vs. Z (White Paper) 800dpi, [email protected]" diameter, Speed-6ips Squal count 200 Avg-3sigma 150 Avg 100 Avg+3sigma 50 0 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 Distance of Lens Reference Plane to Surface, Z (mm) Fig ure 24. Mean SQUAL vs. Z (White Paper) 24 3.2 Shutter_Upper Address: 0x07 Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field S15 S14 S13 S12 S11 S10 S9 S8 Shutter_Lower Address: 0x08 Access: Read Reset Value: 0x64 Bit 7 6 5 4 3 2 1 0 Field S7 S6 S5 S4 S3 S2 S1 S0 Data Type: Sixteen bit unsigned integer. USAGE: Units are clock cycles. Read Shutter_Upper first, then Shutter_Lower. 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. Shutter Value (white Paper) At Z = 0 mm, [email protected]" diameter, Speed-6ips 70 Shutter value 60 50 40 30 20 10 0 1 47 93 139 185 231 277 323 369 415 461 507 553 599 645 691 737 783 829 875 Count Figure 25. Shutter Values at 800cpi (White Paper) Shutter value (Count) Mean Shutter vs. Z (White paper) 800dpi, [email protected]" diameter, Speed-6ips 450 400 350 300 250 200 150 100 50 0 Avg-3sigma Avg Avg+3sigma 1.6 1.8 2.0 2.2 2.4 2.6 2.8 Distance of Lens Reference Plane to Surface, Z (mm) Figure 26. Mean Shutter vs. Z (White Paper) 25 3.0 3.2 Maximum_Pixel Address: 0x09 Access: Read Reset Value: 0xd0 Bit 7 6 5 4 3 2 1 0 Field MP7 MP6 MP5 MP4 MP3 MP2 MP1 MP0 Data Type: Eight-bit number. USAGE: Maximum Pixel value in current frame. Minimum value = 0, maximum value = 254. The maximum pixel value can vary with every frame. Pixel_Sum Address: 0x0a Access: Read Reset Value: 0x80 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 18-bit integer. USAGE: This register is used to find the average pixel value. It reports the upper eight bits of a 18-bit counter, which sums all pixels in the current frame. It may be described as the full sum divided by 1024. To find the average pixel value, use the following formula: Average Pixel = Register Value * 1024/676 = Register Value * 1.515 The maximum register value is 167. The minimum is 0. The pixel sum value can change on every frame. Minimum_Pixel Address: 0x0b Access: Read Reset Value: 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 : Minimum Pixel value in current frame. Minimum value = 0, maximum value = 254. The minimum pixel value can vary with every frame. 26 CRC0 Address: 0x0c Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field CRC07 CRC06 CRC05 CRC04 CRC03 CRC02 CRC01 CRC00 Data Type : Eight-bit number USAGE : Register 0x0c reports the first byte of the system self test results. Value = 0x18. CRC1 Address: 0x0d Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field CRC17 CRC16 CRC15 CRC14 CRC13 CRC12 CRC11 CRC10 Data Type : Eight bit number USAGE : Register 0x0d reports the second byte of the system self test results. Value = 0x44. CRC2 Address: 0x0e Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field CRC27 CRC26 CRC25 CRC24 CRC23 CRC22 CRC21 CRC20 Data Type : Eight-bit number USAGE : Register 0x0e reports the third byte of the system self test results. Value = 0x62. CRC3 Address: 0x0f Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field CRC37 CRC36 CRC35 CRC34 CRC33 CRC32 CRC31 CRC30 Data Type : Eight-bit number USAGE : Register 0x0f reports the fourth byte of the system self test results. Value =0x47. 27 Self_Test Address: 0x10 Access: Write Reset Value: NA Bit 7 6 5 4 3 2 1 0 Field Reserved Reserved Reserved Reserved Reserved Reserved Reserved TESTEN Data Type: Bit field USAGE : Before performing system self test, reset the chip. Then, set the TESTEN bit in register 0x10 to start the system self test. The test takes 250ms. During this time, do not write or read through the SPI port. Results are available in the CRC0-3 registers. After self-test, reset the chip again to start normal operation. Field Name Description TESTEN Enable System Self Test 0 = Disabled 1 = Enable Reserved Address: 0x11 Configuration2_bits Address: 0x12 Access: Read/Write Reset Value: 0x26 Bit 7 6 5 4 3 2 1 0 Field 0 RES1 RES0 Reserved AWAKE RUN_Rate2 RUN_Rate1 RUN_Rate0 Data Type: Bit field USAGE: Register 0x12 allows the user to change the configuration of the sensor. The RES bit allows selection between 400, 800, 1200 and 1600 cpi resolution. Field Name Description RES[1:0] Sets resolution 00 = 400 01 = 800 10 = 1200 11 = 1600 AWAKE 0 = Normal operation with REST mode enable. 1 = Force Awake RUN_Rate[2:0] 000 = 2ms 001 = 3ms 010 = 4ms 011 = 5ms 100 = 6ms 101 = 7ms 110 = 8ms Above timing calculated base on 25MHz system clock, they may change after actual measurement. 28 Run_Downshift Address: 0x13 Access: Read/Write Reset Value: 0x04 Bit 7 6 5 4 3 2 1 0 Field RD7 RD6 RD5 RD4 RD3 RD2 RD1 RD0 This register set the Run to Rest 1 downshift time. Run Downshift time = RD[7:0] x 8 x Run_rate. Default value: 4 x 8 x 8ms = 256ms Min: 2 x 8 x 8ms = 128ms Max: 242 x 8 x 8ms = 15,488ms = 15.49s All the above values are calculated based on 25MHz System clock, which expected to have 20% tolerance. Rest1_Rate Address: 0x14 Access: Read/Write Reset Value: 0x01 Bit 7 6 5 4 3 2 1 0 Field R1R7 R1R6 R1R5 R1R4 R1R3 R1R2 R1R1 R1R0 This register set the Rest 1 frame rate. Rest1 frame rate = (R1R[7:0] + 1) x 10ms. Default value: 2 x 10ms = 20ms Min: 2 x 10ms = 20ms Max: 241 x 10ms = 2,410ms = 2.41s All the above values are calculated based on 100Hz Hibernate clock, which expected to have 40% tolerance. Rest1_Downshift Address: 0x15 Access: Read/Write Reset Value: 0x1f Bit 7 6 5 4 3 2 1 0 Field R1D7 R1D6 R1D5 R1D4 R1D3 R1D2 R1D1 R1D0 This register set the Rest 1 to Rest 2 downshift time. Rest1 Downshift time = R1D[7:0] x 16 x Rest1_Rate. Default value: 31 x 16 x 20ms (Rest1_Rate default) = 9,920ms = 9.92s Min: 1 x 16 x 20ms (Rest1_Rate min) = 320ms Max: 242 x 16 x 2.56s (Rest1_Rate max) = 9,912s = 165min = 2.75hr All the above values are calculated based on 100Hz Hibernate clock, which expected to have 40% tolerance. 29 Rest2_Rate Address: 0x16 Access: Read / Write Reset Value: 0x09 Bit 7 6 5 4 3 2 1 0 Field R2R7 R2R6 R2R5 R2R4 R2R3 R2R2 R2R1 R2R0 This register set the Rest 2 frame rate. Rest2 frame rate = (R2R[7:0] + 1) x 10ms. Default value: 10 x 10ms = 100ms Min: 2 x 10ms = 20ms Max: 241 x 10ms = 2,410ms = 2.41s All the above values are calculated based on 100Hz Hibernate clock, which expected to have 40% tolerance. Rest2_Downshift Address: 0x17 Access: Read / Write Reset Value: 0x2f Bit 7 6 5 4 3 2 1 0 Field R2D7 R2D6 R2D5 R2D4 R2D3 R2D2 R2D1 R2D0 This register set the Rest 2 to Rest 3 downshift time. Rest2 Downshift time = R2D[7:0] x 128 x Rest2_Rate. Default value: 47 x 128 x 100ms (Rest2_Rate default) = 601.6s = 10min Min: 1 x 128 x 20ms (Rest2_Rate min) = 2560ms = 2.56s Max: 242 x 128 x 2.56s (Resr2_Rate max) = 79,298s = 1,321min = 22hrs All the above values are calculated based on 100Hz Hibernate clock, which expected to have 40% tolerance. Rest3_Rate Address: 0x18 Access: Read / Write Reset Value: 0x31 Bit 7 6 5 4 3 2 1 0 Field R3R7 R3R6 R3R5 R3R4 R3R3 R3R2 R3R1 R3R0 This register set the Rest 3 frame rate. Rest3 frame rate = (R3R[7:0] + 1) x 10ms. Default value: 50 x 10ms = 500ms Min: 2 x 10ms = 20ms Max: 241 x 10ms = 2,410ms = 2.41s All the above values are calculated based on 100Hz Hibernate clock, which expected to have 40% tolerance. Reserved 30 Address: 0x19 LASER_CTRL0 Address: 0x1a Access: Read/Write Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field Range1 Range0 Reserved Reserved CAL2 CAL1 CAL0 Force_ Disable Data Type : Bit field USAGE : This register is used to control the laser drive. Bits 7 and 6 require complement values in register 0x1F. If the registers do not contain complementary values for these bits, the laser is turned off and the LP_VALID bit in the MOTION register is set to 0. The registers may be written in any order after the power ON reset. Field Name Description Range RBIN Settings 00= Laser current range from approximately 0.9mA to 3mA 01= Laser current range from approximately 2mA to 5mA 11 = Laser current range from approximately 4mA to 10mA 10 = Invalid setting, LPVALID will be set and laser will off. CAL2-0 Laser calibration mode Write 101b to bits [3, 2, 1] to set the laser to continuous ON (CW) mode. Write 000b to exit laser calibration mode, all other values are not recommended. Reading the Motion register (0x02 or 0x42) will reset the value to 000b and exit calibration mode. Force_Disable LASER force disabled 0 = LASER_NEN functions as normal 1 = LASER_NEN output is high. Reserved 31 Address: 0x1b LSRPWR_CFG0 Address: 0x1c Access: Read/Write Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field LP7 LP6 LP5 LP4 LP3 LP2 LP1 LP0 Data Type: 8 Bit unsigned USAGE: This register is used to set the laser current. It is to be used together with register 0x1D, where register 0x1D contains the complement of register 0x1C. If the registers do not contain complementary values, the laser is turned off and the LP_VALID bit in the MOTION register is set to 0. The registers may be written in any order after the power ON reset. Field Name Description LP7 – LP0 Controls the 8-bit DAC for adjusting laser current. One step is equivalent to (1/384)*100% = 0.26% drop of relative laser current. Refer to the table below for examples of relative laser current settings. LP7 - LP3 LP2 LP1 LP0 Relative Laser Current 00000 0 0 0 33.59% 00000 0 0 1 33.85% 00000 0 1 0 34.11% : : : : : : : 11111 1 0 1 99.48% 11111 1 1 0 99.74% 11111 1 1 1 100% LSRPWR_CFG1 Address: 0x1d Access: Read/Write Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field LPC7 LPC6 LPC5 LPC4 LPC3 LPC2 LPC1 LPC0 Data Type: 8 Bit unsigned USAGE: The value in this register must be a complement of register 0x1C for laser current to be as programmed, otherwise the laser is turned off and the LP_VALID bit in the MOTION register is set to 0. Registers 0x1C and 0x1D may be written in any order after power ON reset. Reserved 32 Address: 0x1e LASER_CTRL1 Address: 0x1f Access: Read/Write Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field Range_C1 Range_C0 Reserved Reserved Reserved Reserved Reserved Reserved Data Type : 8 Bit unsigned USAGE: Bits 7 and 6 of this register must be the complement of the corresponding bits in register 0x1A for the VCSEL control to be as programmed, otherwise the laser turned is off and the LP_VALID bit in the MOTION register is set to 0. Registers 0x1A and 0x1F may be written in any order after power ON reset. Reserved Address: 0x20-0x2d Observation Address: 0x2e Access: Read/Write Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field MODE1 MODE0 Reserved OBS4 OBS3 OBS2 OBS1 OBS0 Data Type : Bit field USAGE: Register 0x2e provides bits that are set every frame. It can be used during EFT/B testing to check that the chip is running correctly. Writing anything to this register will clear the bits. Wait for at least one frame before reading the register. Field Name Description MODE1-0 Mode Status: Reports which mode the sensor is in. 00 = Run 01 = Rest 1 10 = Rest 2 11 = Rest 3 OBS4-0 Set every frame Reserved 33 Address: 0x2f-0x34, 0x36-0x39 Pixel_Grab Address: 0x35 Access: Read/Write Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field PD7 PD6 PD5 PD4 PD3 PD2 PD1 PD0 Data Type : Eight-bit word. USAGE : For test purposes, the sensor will read out the contents of the pixel array, one pixel per frame. To start a pixel grab, write anything to this register to reset the pointer to pixel 0,0. Then read the PIXRDY bit in the Motion register. When the PIXRDY bit is set, there is valid data in this register to read out. After the data in this register is read, the pointer will automatically increment to the next pixel. Reading may continue indefinitely; once a complete frame’s worth of pixels has been read, PIXFIRST will be set to high to indicate the start of the first pixel and the address pointer will start at the beginning location again. Last Pixel 25 51 77 103 129 155 181 207 233 259 285 311 337 363 389 415 441 467 493 519 545 571 597 623 649 675 24 50 76 102 128 154 180 206 232 258 284 310 336 362 388 414 440 466 492 518 544 570 596 622 648 674 23 49 75 101 127 153 179 205 231 257 283 309 335 361 387 413 439 465 491 517 543 569 595 621 647 673 Top X-ray View of Mouse 22 48 74 100 126 152 178 204 230 256 282 308 334 360 386 412 438 464 490 516 542 568 594 620 646 672 21 47 73 99 125 151 177 203 229 255 281 307 333 359 385 411 437 463 489 515 541 567 593 619 645 671 20 46 72 98 124 150 176 202 228 254 280 306 332 358 384 410 436 462 488 514 540 566 592 618 644 670 19 45 71 97 123 149 175 201 227 253 279 305 331 357 383 409 435 461 487 513 539 565 591 617 643 669 18 44 70 96 122 148 174 200 226 252 278 304 330 356 382 408 434 460 486 512 538 564 590 616 642 668 17 43 69 95 121 147 173 199 225 251 277 303 329 355 381 407 433 459 485 511 537 563 589 615 641 667 16 42 68 94 120 146 172 198 224 250 276 302 328 354 380 406 432 458 484 510 536 562 588 614 640 666 15 41 67 93 119 145 171 197 223 249 275 301 327 353 379 405 431 457 483 509 535 561 587 613 639 665 14 40 66 92 118 144 170 196 222 248 274 300 326 352 378 404 430 456 482 508 534 560 586 612 638 664 P O S I T I V E LB RB 1 16 2 13 39 65 91 117 143 169 195 221 247 273 299 325 351 377 403 429 455 481 507 533 559 585 611 637 663 12 38 64 90 116 142 168 194 220 246 272 298 324 350 376 402 428 454 480 506 532 558 584 610 636 662 11 37 63 89 115 141 167 193 219 245 271 297 323 349 375 401 427 453 479 505 531 557 583 609 635 661 15 Y 3 14 4 13 5 12 6 11 7 10 36 62 88 114 140 166 192 218 244 270 296 322 348 374 400 426 452 478 504 530 556 582 608 634 660 10 8 9 9 35 61 87 113 139 165 191 217 243 269 295 321 347 373 399 425 451 477 503 529 555 581 607 633 659 8 34 60 86 112 138 164 190 216 242 268 294 320 346 372 398 424 450 476 502 528 554 580 606 632 658 7 33 59 85 111 137 163 189 215 241 267 293 319 345 371 397 423 449 475 501 527 553 579 605 631 657 6 32 58 84 110 136 162 188 214 240 266 292 318 344 370 396 422 448 474 500 526 552 578 604 630 656 5 31 57 83 109 135 161 187 213 239 265 291 317 343 369 395 421 447 473 499 525 551 577 603 629 655 4 30 56 82 108 134 160 186 212 238 264 290 316 342 368 394 420 446 472 498 524 550 576 602 628 654 3 29 55 81 107 133 159 185 211 237 263 289 315 341 367 393 419 445 471 497 523 549 575 601 627 653 2 28 54 80 106 132 158 184 210 236 262 288 314 340 366 392 418 444 470 496 522 548 574 600 626 652 1 27 53 79 105 131 157 183 209 235 261 287 313 339 365 391 417 443 469 495 521 547 573 599 625 651 0 26 52 78 104 130 156 182 208 234 260 286 312 338 364 390 416 442 468 494 520 546 572 598 624 650 First Pixel Figure 27. Pixel Address Map (sensor looking on the navigation surface through the lens) 34 POSITIVE X H_RESOLUTION Address: 0x36 Access: Read/Write Reset Value: 0x04 Bit 7 6 5 4 3 2 1 0 Field Reserved Reserved Reserved H_RES_EN H_RES2 H_RES1 H_RES0 0 Data Type : Bit field USAGE : This register is used to set the resolution configuration of sensor up to 2000cpi. For resolution setting at 1600cpi and below, configuration via Configuration_Bits register, 0x12 is still effective when H_RES_EN bit is set to zero. Field Name Description H_RES_EN 0 = Resolution setting will follow the value as per configuration in Configuration_Bits register, 0x12 1 = Enabled high resolution up to 2000cpi. Resolution setting will follow the configuration as per H_RES2-0 bits in this register and setting in register 0x12 will be ignored. H_RES2-0 Resolution in count per inch (cpi) 001 = 400 010 = 800 011 = 1200 100 = 1600 101 = 2000 Bit-0 Must be zero value POWER_UP_RESET Address: 0x3a Access: Write Reset Value: NA Bit 7 6 5 4 3 2 1 0 Field RST7 RST6 RST5 RST4 RST3 RST2 RST1 RST0 Data Type : 8-bit integer USAGE: Write 0x5a to this register to reset the chip. All settings will revert to default values. Reset is required after recovering from shutdown mode. SHUTDOWN Address: 0x3b Access: Write Only Reset Value: NA Bit 7 6 5 4 3 2 1 0 Field SD7 SD6 SD5 SD4 SD3 SD2 SD1 SD0 Data Type: 8-bit integer USAGE: Write 0xe7 to set the chip to shutdown mode, use POWER_UP_RESET register (address 0x3a) to power up the chip. Reserved 35 Address: 0x3c Shut_thr Address: 0x3d Access: Read and Write Reset Value: 0x56 Bit 7 6 5 4 3 2 1 0 Field Shut_thr7 Shut_thr6 Shut_thr5 Shut_thr4 Shut_thr3 Shut_thr2 Shut_thr1 Reserved Data Type: 7-bit number USAGE: Threshold defines the Shutter value when lifted runaway happens. Sensor will suspect lifted runaway happens and suppress motion if (Shutter > Shut_thr[7:1]*32). Inverse_Revision_ID Address: 0x3e Access: Read Reset Value: 0xfc Bit 7 6 5 4 3 2 1 0 Field NRID7 NRID6 NRID5 NRID4 NRID3 NRID2 NRID1 NRID0 Data Type: Inverse 8-Bit unsigned integer USAGE: This value is the inverse of the Revision_ID. It can be used to test the SPI port. Inverse_Product_ID Address: 0x3f Access: Read Reset Value: 0xce Bit 7 6 5 4 3 2 1 0 Field NPID7 NPID6 NPID5 NPID4 NPID3 NPID2 NPID1 NPID0 Data Type: Inverse 8-Bit unsigned integer USAGE: This value is the inverse of the Product_ID. It can be used to test the SPI port. Motion_Burst Address: 0x42 Access: Read Reset Value: 0x00 Bit 7 6 5 4 3 2 1 0 Field MB7 MB6 MB5 MB4 MB3 MB2 MB1 MB0 Data Type: Various. USAGE: Read from this register to activate burst mode. The sensor will return the data in the Motion register, Delta_X_L, Delta_Y_L, Delta_XY_H, Squal, Shutter_Upper, Shutter_Lower and Maximum_Pixel. Reading the first 3 bytes clears the motion data. The read may be terminated anytime after Delta_X is read. 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-2011 Avago Technologies. All rights reserved. AV02-0684EN - October 11, 2011