ADNS-7550 Integrated molded lead-frame DIP Sensor Data Sheet Theory of Operation Features The ADNS-7550 integrated molded lead-frame DIP sensor comprises of sensor and VCSEL in a single package. • Wide operating voltage: 4.0V-5.25V. The advanced class of VCSEL was engineered by PixArt Imaging 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 PixArt 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. • Laser Technology The sensor is based on Laser 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. • Small form factor, integrated molded lead-frame chipon-board package • High speed motion detection up to 30 ips and 8g • Enhanced SmartSpeed self-adjusting frame rate for optimum performance • Motion detect pin output • 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 molded lead-frame 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: [email protected] PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Pinout of ADNS-7550 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) Product Number 1 16 2 15 3 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 Motion Detect (active low output) 8 XYLASER XYLASER 6 9 VDD5 5V Input 7 10 NC No Connection 11 GND Ground 12 RefB 3V output 13 RefA 1.8V regulator output 14 DGND Digital Ground 15 VDDIO IO Voltage input (1.65~3.6V) 16 VCSEL-VE Negative Terminal of VCSEL 14 4 13 5 12 11 Date Code 10 8 9 Lot Code Vcsel Binning Item Marking Product Number A7550 Date Code XYYWWZV VCSEL Binning KL Lot Code VVV Remarks X = Subcon Code YYWW = Date Code Z = Sensor Die Source V = VCSEL Die Source Numeric Figure 1. Device pin-out for ADNS-7550 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: [email protected] 2 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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.78 0.031 0.20 0.008 3.18 0.125 A A 2X 0.50 0.020 2X 0.50 0.020 VCSEL hole 0.89 0.035 1.78 0.070 Optical center 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 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 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: [email protected] 3 3.96 0.156 10.90 ± 0.40 (At lead tip) 0.429 ± 0.016 Figure 2. Package outline drawing 2.41 0.095 Protective kapton tape 10.10 0.398 5.05 0.199 0.50 0.020 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Regulatory Requirements • Passes FCC B and worldwide analogous emission limits when assembled into a mouse with shielded cable and following PixArt recommendations. Laser Mouse Sensor NCS Power and Control GND RefB RefA VDDIO Serial and Registers VDD5 Image Array DSP • Passes IEC-1000-4-3 radiated susceptibility level when assembled into a mouse with shielded cable and following PixArt recommendations. SCLK MOSI • Passes EN61000-4-4/IEC801-4 EFT tests when assembled into a mouse with shielded cable and following PixArt 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 VCSEL-VE VCSEL LASER_NEN VCSEL+VE Figure 3. Block diagram of ADNS-7550 integrated molded lead-frame DIP sensor 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-7550 sensor coupled with the ADNS-6150 lens, PCB and base plate (top and cross-sectional view) 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: [email protected] 4 1.60 0.063 3.40 0.134 9.05 0.356 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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 PixArt 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 Pad ring 16X ∅ 0.70 0.028 Figure 5. Recommended PCB mechanical cutouts and spacing All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. 5 PixArt Imaging Inc. E-mail: [email protected] 1 2 3 4 5 HEADER 5 H1 VCC GND D+ DSHLD IMPORTANT Refer to Note 3 R2 R3 VCC2 20R 20R C12 20pF C A B Z-Encoder Z1 1 2 3 6MHz X1 NOT ASSEMBLY C13 20pF R1 1k5 VCC1 12 11 2 3 19 18 17 PA4 PA5 XI/PC6 XO/EXCLK/PC7 DP_CK DM_DA PC0/VPP SPCP868A VCC1 U1 PA0/CKO PA1 PA2 PA3 PB0/SS PB1/SDI PB2/SCK PB3/SDO PA6 PA7 16 15 14 13 7 8 9 10 5 6 C1 100nF 1 1 1 SW3 SW2 SW1 2 3 2 3 2 3 25LC040P CS SCK SI SO U2 Middle Click Right Click Left Click 1 6 5 2 VCC WP HOLD VSS 8 3 7 4 C3 100nF 5 4 3 6 7 VCC2 C2 100nF SCLK MISO NCS MOSI MOTION U3 C4 4.7uF/16V A7550 VCSEL-VE VCSEL+VE LASER_NEN XYLASER REFA C8 100nF 16 1 2 8 13 C9 3.3uF/16V C7 470pF/50V C10 100nF 1 C11 3.3uF/16V Q1 NTA4151P C5 1uF/16V C6 10nF/25V 6 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-7550. 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. Figure 6. Schematic Diagram for 3-Button Scroll Wheel Corded Mouse ORANGE BLUE GREEN WHITE VCC1 VDD-3.3V 20 VC 1 VCC 100k 10 NC R4 VDD-3.3V 15 VDDIO Application Circuit 9 VDD5 GND 11 GND 4 12 REF B DGND 14 2 3 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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. 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. 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. 9. Set the Range and Range_C bits in registers 0x1a and 0x1f, respectively, to choose to the higher laser current range. Eye Safety The ADNS-7550 integrated molded lead-frame DIP sensor and the associated components in the schematic of Figure 5 are intended to comply with Class 1 Eye Safety Requirements of IEC 60825-1. PixArt Imaging 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. 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-7550 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 AN 5361. 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. 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-7550 is reset. 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. LASER Power Adjustment Procedure LASER Output Power 1. The ambient temperature should be 25C +/- 5C. 2. Set VDD5 to its permanent value. 3. Set the Range bits (bit 7 and 6 of register 0x1f ) to b’01. The laser beam output power as measured at the navigation surface plane is specified below. The following conditions apply: 4. 5. 6. Set the Range_C1 and Range_C0 complement bits (bit 7 and 6 of register 0x1f ) to b’10. Enable the Calibration mode by writing to bits [3, 2, 1] of register 0x1A so the laser will be driven with 100% duty cycle. 1. The system is adjusted according to the above procedure. 2. The system is operated within the recommended operating temperature range. 3. No allowance for optical power meter accuracy is assumed. Set the laser current to the minimum value by writing 0x00 to register 0x1c, and the complementary value 0xFF to register 0x1d. 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: [email protected] 7 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Disabling the LASER LASER_NEN is connected to the gate of a P-channel MOSFET transistor which when ON connects RefB to the LASER. In normal operation, LASER_NEN is low. In the case of a fault condition (ground or RefB at XYLASER), LASER_NEN goes high to turn the transistor off and disconnect RefB from the LASER. Single Fault Detection ADNS-7550 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 VDD5/RefA/RefB, this test will fail and will be reported as a fault. Ref B ADNS-7550 Microcontroller LASER_NEN LASER DRIVER G D VDD3 fault control block VCSEL+VE VCSEL Serial port voltage sensor VCSEL-VE XYLASER current set GND Figure 7. Single Fault Detection and Eye-safety Feature Block Diagram 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: [email protected] 8 S PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Absolute Maximum Ratings Parameter Symbol Min -40 Storage Temperature TS Lead Soldering Temperature TSolder Supply Voltage VDD3 VDDIO ESD (Human-body model) VESD Input Voltage VIN Latchup Current IOUT Max Units 85 ºC 260 ºC -0.5 3.7 V -0.5 3.7 V 2 kV All pins mA All pins Max Units Notes -0.5 V = A,V Min For 10 seconds, 1.8mm below seating plane. See soldering reflow profile in Figure 9 VDDIO+0.5 20 VCSEL Die Source Marking Notes V=C Parameter (For VCSEL only) Symbol Max Min 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 Operating Temperature TA 0 Power supply voltage VDD5 4.0 Power supply rise time VRT5 1 Supply noise (Sinusoidal) Typical Maximum Units Notes 40 °C 5.25 Volts Including noise. 100 ms 0 to 5.0V VNA 100 mVp-p 10kHz-50MHz Serial Port Clock Frequency fSCLK 1 MHz Active drive, 50% duty cycle Distance from lens reference plane to surface Z 2.62 mm Results in +/- 0.22 mm minimum DOF. See Figure 8. Speed S 30 in/sec Acceleration A 8 g Load Capacitance Cout 100 pF 2.18 5.0 2.40 MOTION, MISO 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: [email protected] 9 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Optical/Electrical Characteristics (at Tc = 5°C to 45°C): VCSEL Die Source Marking V = A,V V=C Parameter Symbol Min 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 0.35 W/A Forward Voltage VF 2.1 Typ Max Min 865 832 2.4 Typ Max 865 2.1 2.4 Units Notes nm V Maximum output power under any condition. This is not a recommended operating condition and does not meet eye safety requirements. At 500uW output power Comments: 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 VSCEL to enter into on unstable region. Any LOP reference point in the laser power calibration process. Sensor Lens Lens to Surface 2.40 Navigation Surface Figure 8. Distance from lens reference plane to surface, Z 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: [email protected] 10 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Figure 9. Recommended Soldering Reflow Profile DC Electrical Specifications Electrical Characteristics over recommended operating conditions. (Typical values at 25 °C, VDD=5.0 V, VDDIO= 2.8V) Parameter Symbol DC Supply Current in various modes IDD_RUN Minimum Typical Maximum Units 2.8 Peak Supply Current 150 Shutdown Supply Current 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 Notes 3.5 mA 40 mA 200 μA NCS, SCLK = VDDIO MOSI, MISO = Hi-Z 0.2VDDIO V SCLK, MOSI, NCS 0.8VDDIO ±10 Average current, including LASER current. No load on MISO, MOTION. 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 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 0.8*VDDIO 0.2*VREFB 0.8*VREFB 10 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: [email protected] 11 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor AC Electrical Specifications Electrical Characteristics over recommended operating conditions. (Typical values at 25 °C, VDD=5.0V, VDDIO= 2.8V) Parameter Symbol Maximum Units Notes Motion delay after reset tMOT-RST Minimum Typical 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 also note tMOT-RST 23 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 tsetup-MOSI 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 falling SCLK for the first bit of the address byte of the next command. SPI read address -data 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 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 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: [email protected] 12 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Resolution(DPI) Resolution vs Z- Height on General Surfaces (A7550) 1200 White Paper 1000 Black Formica 800 Photo Paper 600 White Formica Manila 400 200 White Delrin Spruce Wood 0 -0.3 -0.2 -0.1 0 Z-Height(mm) 0.1 0.2 0.3 Figure 10. Mean Resolution vs. Z at 800cpi Typical Path Deviation Largest Single Perpendicular Deviation From A Straight Line at 45 Degrees Path Length = 4 inches; Speed = 6 ips; Resolution = 800cpi Mouse Count 45 White Paper Black Formica Photo Paper White Formica Manila White Delrin Spruce Wood 35 25 15 5 -5 -0.3 -0.2 -0.1 0 Z - Height(mm) 0.1 0.2 0.3 Figure 11. Average Error vs. Distance at 800cpi (mm) 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: [email protected] 13 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Motion Pin Timing VCSEL’s Typical Characteristics 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. Forward Voltage, VF (V) 2.5 V=C 2.0 V = A,V 1.5 1.0 LASER Mode 0.5 For power savings, the VCSEL will not be continuously on. ADNS-7550 will flash the VCSEL only when needed. 0.0 0 2 4 6 Forward Current, IF (mA) 8 10 Figure 12. Forward Voltage vs. Forward Current for VCSEL 50 Temperature Rise (°C) V=C V = A,V 40 30 Synchronous Serial Port The synchronous serial port is used to set and read parameters in the ADNS-7550, and to read out the motion information. The port is a four-wire port. The host micro-controller always initiates communication; the ADNS-7550 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: 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. Junction Temperature Rise vs. Forward Current for VCSEL 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. Chip Select Operation 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. 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: [email protected] 14 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Write Operation Read Operation Write operation, defined as data going from the microcontroller to the ADNS-7550, is always initiated by the micro-controller and consists of two bytes. The first byte contains the address (seven bits) and has a “1” as its MSB to indicate data direction. The second byte contains the data. The ADNS-7550 reads MOSI on rising edges of SCLK. A read operation, defined as data going from the ADNS-7550 to the micro-controller, is always initiated by the micro-controller and consists of two bytes. The first byte contains the address, is sent by the microcontroller 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-7550 over MISO. The sensor outputs MISO bits on falling edges of SCLK and samples MOSI bits on every rising edge of SCLK. NCS 1 2 1 A 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 2 D D D D D D 1 A SC L K M O SI A 6 A 5 A 4 3 A 2 A 1 A D 0 7 D 6 5 4 3 2 1 0 M I SO M O S I D rive n by M icro -C o ntro lle r Figure 14. Write Operation SCLK SCLK MOSI tHOLD-MISO tDLY-MISO tHold,MOSI MISO tsetup , MOSI Fig ure 15. MOSI Setup and Hold Time D0 Figure 17. MISO Delay and Hold Time 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 A0 MISO Figure 16. Read Operation tSRAD delay Note: The 0.5/fSCLK minimums high state of SCLK is also the minimum MISO data hold time of the ADNS-7550. Since the falling edge of SCLK is actually the start of the next read or write command, the ADNS-7550 will hold the state of data on MISO 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: [email protected] 15 D1 D0 6 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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 18. 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 19. 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 Read Operation Address Next Read or Write Operation Figure 20. 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 ADNS7550 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-7550 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 Read Second Byte Read Third Byte Figure 21. Motion Burst Timing 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: [email protected] 16 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Notes on Power-up Notes on Shutdown The ADNS-7550 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-7550 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 VDD5 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. Clear observation register. vi. Wait at least one frame and check observation register, all bits 0-3 must be set. i. Write 0x5a to register 0x3a ii. Wait for at least one frame. iii. Clear observation register. 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. Write 0x01 to register 0x21 x. 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. vii. Write 0x0a to register 0x22 Write 0x20 to register 0x23 xiv. Write 0xB9 to register 0x37 During power-up there will be a period of time after the power supply is high but before any clocks are available. The table below shows the state of the various pins during power-up and reset. State of Signal Pins After VDD is Valid Before Reset Pin On Power-Up NCS Functional MISO Undefined Undefined Depends on Functional NCS SCLK Ignored Ignored Depends on Functional NCS MOSI Ignored Ignored Depends on Functional NCS MOTION Undefined Undefined Undefined Functional LASER_ NEN Undefined Undefined Undefined Functional NCS High NCS Low After Reset Hi Low Functional Pin Status when Shutdown Mode NCS Functional [1] MISO Undefined [2] SCLK Ignore if NCS = 1 [3] MOSI Ignore if NCS = 1 [4] LASER_NEN High(off ) MOTION Undefined [2] 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. These features should not be used for power management during normal mouse motion. 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: [email protected] 17 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Registers The ADNS-7550 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 0x32 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 0x28 0x13-0x19 Reserved 0x1a LASER_CTRL0 R/W 0x00 0x1b Reserved 0x1c LSRPWR_CFG0 R/W 0x00 0x1d LSRPWR_CFG1 R/W 0x00 0x1e Reserved 0x1f LASER_CTRL1 R/W 0x00 0x20-0x2d Reserved 0x2e Observation R/W 0x00 0x2f-0x34 Reserved 0x35 Pixel_Grab R/W 0x00 0x36 H_RESOLUTION R/W 0x04 0x37-0x39 Reserved 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 0xcd 0x42 Motion_Burst R 0x00 18 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Product_ID Address: 0x00 Access: Read Reset Value: 0x32 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-7550. 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. 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: [email protected] 19 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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: PixArt recommends that registers 0x02, 0x03, 0x04and 0x05 be read sequentially. 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: [email protected] 20 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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. Motion -2048 -2047 -2 -1 0 +1 +2 Delta_X 800 801 FE FF 00 01 02 +2046 +2047 7FE 7FF NOTE: PixArt 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. Motion -2048 Delta_Y 800 -2047 -2 -1 0 +1 +2 801 FE FF 00 01 02 +2046 +2047 7FE 7FF NOTE: PixArt 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 clear the registers. NOTE: PixArt recommends that registers 0x02, 0x03, 0x04 and 0x05 be read sequentially. 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: [email protected] 21 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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=0mm; Circle = 7.5" 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 Count Figure 22. SQUAL Values at 800cpi (White Paper) Mean SQUAL vs Z (White Paper) At Z=0mm; Circle = 7.5" diameter; Speed=6ips Squal count 200 Avg-3sigma Avg 150 Avg+3sigma 100 50 0 1.6 1.8 2.0 2.2 2.4 2.6 2.8 3.0 3.2 Delta from Nominal Focus (mm) Figure 23. Mean SQUAL vs. Z (White Paper) 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: [email protected] 22 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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 Shutter Value (White Paper) At Z=0mm; Circle Diameter=7.5"; Speed=6ips 80 70 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 24. Shutter Values at 800cpi (White Paper) Shutter value (Count) Mean Shutter vs Z (White paper) At Z=0mm; Circles Diameter=7.5"; Speed=6ips 600 550 500 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 3.0 3.2 Delta from Nominal Focus (mm) Figure 25. Mean Shutter vs. Z (White Paper) 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: [email protected] 23 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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 16-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. 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: [email protected] 24 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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 = F4. 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 = 54. 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 = 6D. 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 = EB. 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: [email protected] 25 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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: 0x28 Bit 7 6 5 4 3 2 1 0 Field 0 RES1 RES0 Reserved Reserved Reserved Reserved Reserved 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 Reserved Address: 0x1b 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: [email protected] 26 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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[1:0] 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. 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: [email protected] 27 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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 LP 2 LP 1 LP 0 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 Address: 0x1e 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: [email protected] 28 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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 Reserved Reserved 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 OBS4-0 Set every frame Reserved Address: 0x2f-0x34, 0x36-0x39 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: [email protected] 29 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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: 8 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. Top X-ray View of Mouse LB P O S I T I V E RB 1 16 Y 2 15 3 14 4 13 5 12 6 11 7 10 8 9 POSITIVE X Figure 26. Pixel Address Map (sensor looking on the navigation surface through the lens) 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: [email protected] 30 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor 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 Address: 0x3c 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: [email protected] 31 PixArt Imaging Inc. ADNS-7550 Integrated Molded Lead-Frame DIP Sensor Shut_thr Address: 0x3d Access: Read/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: Write Only Reset Value: 0xcd 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. 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: [email protected]