Part Number Hot Search : 
T533N HCT20 IRFIZ 78L06A SRSKIRT3 20D10 BR2222S 1N1202A
Product Description
Full Text Search
 

To Download ADNS-3040 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  agilent ADNS-3040 ultra low-power mouse sensor data sheet description the ADNS-3040 is an ultra low-power optical navigation sensor. it has a new, low- power architecture and automatic power management modes, making it ideal for battery-and power-sensitive applications such as cordless input devices. the ADNS-3040 is capable of high-speed motion detection C up to 20 ips and 8g. in addition, it has an on-chip oscillator and led driver to minimize external components. the ADNS-3040 along with the adns-3120-001 lens, adns- 2220 clip and hlmp-ed80- ps000 led form a complete and compact mouse tracking system. there are no moving parts, which means high reliability and less maintenance for the end user. in addition, precision optical alignment is not required, facilitating high volume assembly. the sensor is programmed via registers through a four-wire serial port. it is packaged in a 20-pin dip. theory of operation the ADNS-3040 is based on optical navigation technology, which measures changes in position by optically acquiring sequential surface images (frames) and mathematically determining the direction and magnitude of movement. the ADNS-3040 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. features ? ? ? ? ? low power architecture ? ? ? ? ? self-adjusting power-saving modes for longest battery life ? ? ? ? ? high speed motion detection up to 20 ips and 8g ? ? ? ? ? smartspeed self-adjusting frame rate for optimum performance ? ? ? ? ? motion detect pin output ? ? ? ? ? internal oscillator ? no clock input needed ? ? ? ? ? selectable 400 and 800 cpi resolution ? ? ? ? ? wide operating voltage: 2.5v-3.6v nominal ? ? ? ? ? four wire serial port ? ? ? ? ? minimal number of passive components applications ? ? ? ? ? optical mice ? ? ? ? ? optical trackballs ? ? ? ? ? integrated input devices ? ? ? ? ? battery-powered input devices
2 pinout of ADNS-3040 optical mouse sensor figure 1. package outline drawing (top view) 1 3 4 2 5 6 7 8 9 10 agnd nc ncs miso sclk vdd led gnd gnd agnd gnd gnd xy_led nc motion nc mosi shtdwn nc 20 18 17 19 16 15 14 13 12 11 top view pinout a3040 xyywwz avdd agnd figure 2. package outline drawing 22.30 0.878 2.00 0.079 lead pitch lead width 0.50 0.020 0.039 1.00 lead offset pin #1 a3040 xyywwz 12.85 0.506 (at shoulder) 5.43 0.214 0.278 7.05 90? ?3? 0.25 0.010 12.85 ?0.65 0.506 ?0.26 (at lead tip) 9.10 0.358 6.025 0.2372 4.55 0.179 1.05 0.041 13.38 0.527 pin #1 5.0 0.197 protective kapton tape 5.60 0.220 notes: 1. dimension in millimeters(inches). 2. dimension tolerence of ?0.1mm. 3. coplanarity of leads: 0.01mm. 4. lead pitch toleronce: ?0.15mm. 5. cummulative pitch tolerance: ?.15mm. 6. angular tolerance: ?.0?. 7. maximum flash + 0.2mm 8. chamfer (25? x 2) on the taper side of the lead. 9. * these dimension are for references only and should not be used to mechanically reference the sensor. pin name description 1 ncs chip select (active low input) 2 miso serial data output (master in/slave out) 3 sclk serial clock input 4 mosi serial data input (master out/slave in) 5 motion motion detect (active low output) 6 xy_led led control 7led_gndground for led current 8 nc no connection 9 agnd analog ground 10 shtdwn shutdown (active high input) 11 avdd analog supply voltage 12 gnd ground 13 gnd ground 14 agnd analog ground 15 vdd supply voltage 16 gnd ground 17 nc no connection 18 nc no connection 19 agnd analog ground 20 nc no connection
3 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 agilent technologies provides an iges file drawing describing the base plate molding features for lens and pcb alignment. the components interlock as they are mounted onto defined features on the base plate. the ADNS-3040 sensor is designed for mounting on a through-hole pcb, looking down. there is an aperture stop and features on the package that align to the lens. the adns-3120-001 lens provides optics for the imaging of the surface as well as illumination of the surface at the optimum angle. features on the lens align it to the sensor, base plate, and clip with the led. the adns-2220 clip holds the led in relation to the lens. the led must be inserted into the clip and the leds leads formed prior to loading on the pcb. the clip interlocks the sensor to the lens, and through the lens to the alignment features on the base plate. the hlmp-ed80-ps000 led is recommended for illumination. 43.13 1.698 42.53 1.674 39.06 1.538 29.50 1.161 28.13 1.107 0.039 1.00 1.50 0.059 2 x 3.55 0.140 1.22 0.048 3.22 0.127 clear zone recommended 20x 0.80 0.031 0.050 1.28 11.38 0.448 0.496 12.60 0 0 0.199 5.06 7.60 0.299 0.546 13.88 0.625 15.88 dimensions in millimeters / inches figure 3. recommended pcb mechanical cutouts and spacing overview of optical mouse sensor assembly
4 lens 43.96 1.731 base plate 19.10 0.752 top of pcb to top of lens gate 3.00 0.118 15.90 0.626 clip plastic spring base plate alignment post sensor pcb surface 1.98 0.078 bottom of sensor to top of pcb 16.61 0.654 12.61 0.496 0.293 7.45 top of pcb to top of lens flange gap between sensor lead and lens gate 3.75 0.148 0.119 0.005 dimension in millimeters / inches figure 4. 2d assembly drawing of ADNS-3040 (top and side view) figure 5. exploded view hlmp-ed80-ps000 (led) adns-2220 (clip) ADNS-3040 (sensor) customer supplied pcb adns-3120-001 (lens) customer supplied base plate with recommended alignment features per iges drawing
5 sensor clip lens / light pipe base plate surface led pcb figure 7. sectional view of pcb assembly highlighting optical mouse components ADNS-3040 serial port and registers ncs sclk mosi miso power and control motion vdd oscillator led drive xy_led gnd dsp shtdwn image array avdd agnd figure 6. block diagram of ADNS-3040 optical mouse sensor pcb assembly considerations 1. insert the sensor and all other electrical components into pcb. 2. insert the led into the assembly clip and bend the leads 90 degrees. 3. insert the led/clip assembly into pcb. 4. wave solder the entire assembly in a no-wash solder process utilizing solder fixture. the solder fixture is needed to protect the sensor during the solder process. it also sets the correct sensor-to-pcb distance as the lead note that the lens material is polycarbonate and therefore, cyanoacrylate based adhesives or other adhesives that may damage the len s should not be used. typical distance millimeters creepage 16.0 clearance 2.1 shoulders do not normally rest on the pcb surface. the fixture should be designed to expose the sensor leads to solder while shielding the optical aperture from direct solder contact. 5. place the lens onto the base plate. 6. remove the protective kapton tape from optical aperture of the sensor. care must be taken to keep contaminants from entering the aperture. recommend not to place the pcb facing up during the entire mouse assembly process. recommend to hold the pcb first vertically for the kapton removal process. 7. insert pcb assembly over the lens onto the base plate aligning post to retain pcb assembly. the sensor aperture ring should self- align to the lens. 8. the optical position reference for the pcb is set by the base plate and lens. note that the pcb motion due to button presses must be minimized to maintain optical alignment. 9. install mouse top case. there must be a feature in the top case to press down onto the clip to ensure all components are interlocked to the correct vertical height. design considerations for improved 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 agilent supplied iges file and adns-3120-001 lens.
6 2 1 3 lb max1722 batt gnd fb lx out r7 1.1m 4 5 1 2 3 r6 1m c9 100uf c10 100nf r8 10 vdda l1 22uh c11 100uf bat+1 bat-1 r9 10 r10 10 r11 10 r12 10 mvdd vdd lvdd avdd u3 ADNS-3040 1 2 3 4 5 6 7 8 9 10 20 19 18 17 16 15 13 12 11 ncs miso motion xy_led mosi sclk shtdwn led_gnd nc agnd nc agdn nc nc gnd vdd agnd gnd gnd avdd c3 1uf c4 10nf avdd 14 c1 1uf c2 10nf vdd d1 hlmp-ed80 c5 1uf c6 10nf lvdd vdd z2 z1 8 2 1 3 mb 2 1 3 rb 3 2 g1 g2 5 4 z-wheel r1 0 r4 open mvdd 9 12 2 3 16 15 7 6 11 14 13 10 4 mvdd c7 10uf c8 100nf 5 r5 1m 1 r2 100k r3 100k rf_off rf_data u1 vdda u2 mc68hc908qy4 vss ptb0 ptb1 pta3 pta4 pta5 pta1 ptb2 ptb3 ptb4 ptb7 ptb6 pta2 ptb5 vdd pta0 gnd d+ d- vdd l2 r17 27 r18 27 l3 c11 47pf r19 open c12 47pf r21 open r20 1k5 vreg pte3 pte4 usb bus vdd r22 10k c15 47uf c16 100nf r23 10k q1 mmbt3906 rf_off r25 10m x1 12mhz c17 30pf c18 30pf osc1 osc2 r24 10 c13 47uf c14 100nf c13 47uf c14 100nf vss rf_data u4 mc68hc908jb12 4 8 9 5 15 pta4 1 pte1 2 3 7 irq ptc0 q2 mmbt3904 r26 1m c19 47nf r27 1m 11 10 vdda c19 10nf 20 rst rf transmitter circuitry rf receiver circuitry id button vdda notes the supply and ground paths should be laid out using a star topology. figure 8. schematic diagram for interface between ADNS-3040 and microcontroller
7 absolute maximum ratings regulatory requirements ? passes fcc b and worldwide analogous emission limits when assembled into a mouse with shielded cable and following agilent recommendations. ? passes iec-1000-4-3 radiated susceptibility level when assembled into a mouse with shielded cable and following agilent recommendations. ? passes en61000-4-4/iec801- 4 eft tests when assembled into a mouse with shielded cable and following agilent recommendations. ? ul flammability level ul94 v-0. ? provides sufficient esd creepage/clearance distance to avoid discharge up to 15kv when assembled into a mouse according to usage instructions above. recommended operating conditions * please note that for hsdl-4261 ir led, the min power supply is 2.5v. object surface 2.40 0.094 sensor lens figure 9. distance from lens reference plane to surface parameter symbol minimum maximum units notes storage temperature t s -40 85 c lead solder temp 260 c for 10 seconds, 1.6mm below seating plane. supply voltage v dd -0.5 3.7 v esd 2 kv all pins, human body model mil 883 method 3015 input voltage v in -0.5 v dd +0.5 v all pins latchup current i out 20 ma all pins parameter symbol minimum typical maximum units notes operating temperature t a 040c power supply voltage - for hlmp-ed80-ps000 led * v dd 2.6 3.6 volts including noise. power supply rise time v rt 0.001 100 ms 0 to 2.6v supply noise(sinusoidal) v na 100 mv p-p 10khz-50mhz serial port clock frequency f sclk 1 mhz active drive, 50% duty cycle. distance from lens reference plane to surface z 2.3 2.4 2.5 mm results in 0.2 mm dof, see drawing below speed s 20 in/sec acceleration a 8 g load capacitance c out 100 pf motion, miso
8 ac electrical specifications electrical characteristics over recommended operating conditions. typical values at 25 ?, v dd3 =2.6v. parameter symbol minimum typical maximum units notes motion delay after reset t mot-rst 23 ms from sw_reset register write to valid motion, assuming motion is present shutdown t stdwn 50 ms from stdwn pin active to low current wake from shutdown t wakeup 1s from stdwn pin inactive to valid motion. notes: a reset must be asserted after a shutdown. refer to section "notes on shutdown and forced rest", also note t mot-rst forced rest enable t rest-en 1s from resten bits set to low current wake from forced rest t rest-dis 1s from resten bits cleared to valid motion miso rise time t r-miso 150 300 ns c l = 100pf miso fall time t f-miso 150 300 ns c l = 100pf miso delay after sclk t dly-miso 120 ns from sclk falling edge to miso data valid, no load conditions miso hold time t hold-miso 0.5 1/f sclk ? data held until next falling sclk edge mosi hold time t hold-mosi 200 ns amount of time data is valid after sclk rising edge mosi setup time t setup-mosi 120 ns from data valid to sclk rising edge spi time between write commands t sww 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 t swr 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 t srw t srr 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 t srad 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 t bexit 500 ns minimum ncs inactive time after motion burst before next spi usage ncs to sclk active t ncs-sclk 120 ns from ncs falling edge to first sclk rising edge sclk to ncs inactive (for read operation) t sclk-ncs 120 ns from last sclk rising edge to ncs rising edge, for valid miso data transfer sclk to ncs inactive (for write operation) t sclk-ncs 20 us from last sclk rising edge to ncs rising edge, for valid mosi data transfer ncs to miso high-z t ncs-miso 500 ns from ncs rising edge to miso high-z state motion rise time t r-motion 150 300 ns c l = 100pf motion fall time t f -motion 150 300 ns c l = 100pf shtdwn pulse width t p-stdwn 1s transient supply current i ddt 45 ma max supply current during a v dd ramp from 0 to 2.6v
9 dc electrical specifications electrical characteristics over recommended operating conditions. typical values at 25 ?, v dd =2.6 v. parameter symbol minimum typical maximum units notes dc supply current in various modes i dd_run i dd_rest1 i dd_rest2 i dd_rest3 2.9 0.5 0.1 0.03 10 1.8 0.4 0.15 ma average current, including led current. no load on miso, motion. peak supply current 40 ma peak current in 100khz bandwidth, including led current. shutdown supply current i ddstdwn 112 a sclk, mosi and ncs must be within 300mv of gnd or v dd . stdwn must be within 300mv of v dd . input low voltage v il 0.6 v sclk, mosi, ncs, stdwn input high voltage v ih vdd - 0.6 v sclk, mosi, ncs, stdwn input hysteresis v i_hys 100 mv sclk, mosi, ncs, stdwn input leakage current i leak ? 10 a vin=vdd-0.6v, sclk, mosi, ncs, stdwn xy_led current i las 13 25 ma xy_led pin voltage should be greater than 0.15v and less than 1.4v. xy_led current is pulsed, so average value is much lower output low voltage v ol 0.7 v i out =1ma, miso, motion output high voltage v oh vdd-0.7 v i out =-1ma, miso, motion input capacitance c in 10 pf mosi, ncs, sclk, stdwn
10 typical performance characteristics figure 10. mean resolution vs. z (white paper). mean resolution vs z 0 100 200 300 400 500 600 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 distance from lens reference plane to surface, z (mm) resolution (counts/inch) black formica white melamine bookshelf manila white paper typical path deviation largest single perpendicular deviation from a straight line at 45 degrees path length = 4 inches; speed = 6 ips ; resolution = 400 cpi 0 10 20 30 40 50 60 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 distance from lens reference plane to navigation surface (mm) maximum distance (mouse count) black formica white melamine bookshelf manila white paper figure 11. average error vs. distance (mm) relative responsivity for ADNS-3040 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 400 500 600 700 800 900 1000 wavelength (nm) relative responsivity figure 12. relative responsivity
11 power management modes the ADNS-3040 has three power-saving modes. each mode has a different motion detection period, affecting response time to mouse motion (response time). the sensor automatically changes to the appropriate mode, depending on the time since the last reported motion (downshift time). the parameters of each mode are shown in the following table. motion pin timing 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_y and delta_x, or writing to the motion register) will put the motion pin high. led mode for power savings, the led will not be continuously on. ADNS-3040 will flash the led only when needed. 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 burst- mode transaction is complete to terminate burst-mode. the port is not available for further use until burst-mode is terminated. synchronous serial port the synchronous serial port is used to set and read parameters in the ADNS-3040, and to read out the motion information. the port is a four wire serial port. the host micro- controller always initiates communication; the adns- 3040 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. mode response time (nominal) downshift time (nominal) rest 1 16.5 ms 237 ms rest 2 82 ms 8.4 s rest 3 410 ms 504 s
12 a 6 a 5 a 2 a 3 a 4 a 0 a 1 d 7 d 4 d 5 d 6 d 0 d 1 d 2 d 3 15 789 10 11 12 13 14 16 2 3456 1 sclk mosi mosi driven by micro controller 1 1 1 a 6 2 ncs miso figure 13. write operation figure 14. mosi setup and hold time read operation a read operation, defined as data going from the adns- 3040 to the micro-controller, is always initiated by the micro- controller and consists of two bytes. the first byte contains the address, is sent by the micro-controller over mosi, and has a 0 as its msb to indicate data direction. the second byte contains the data and is driven by the adns- 3040 over miso. the sensor outputs miso bits on falling edges of sclk and samples mosi bits on every rising edge of sclk. 1 2 3 4 5 6 7 8 sclk cycle # sclk mosi 0 a 6 a 5 a 4 a 3 a 2 a 1 a 0 9 10 11 12 13 14 15 16 miso d 6 d 5 d 4 d 3 d 2 d 1 d 0 d 7 ncs t srad delay figure 15. read operation figure 16. miso delay and hold time note: the 0.5/f sclk minimum high state of sclk is also the minimum miso data hold time of the ADNS-3040. since the falling edge of sclk is actually the start of the next read or write command, the ADNS-3040 will hold the state of data on miso until the falling edge of sclk. sclk mosi t setup,mosi t hold,mosi sclk miso d 0 t hold miso t dly - miso write operation write operation, defined as data going from the micro- controller to the ADNS-3040, 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-3040 reads mosi on rising edges of sclk.
13 register. the ADNS-3040 will respond with the contents of the motion, delta_y, delta_x, squal, shutter_upper, shutter_lower and maximum_pixel registers in that order. the burst transaction can be terminated after the first 3 bytes of the sequence are read by bringing the ncs pin high. after sending the register address, the micro-controller must wait t srad and then begin reading data. all data bits can be sclk address data t sww write operation address data write operation figure 17. timing between two write commands address data write operation address next read operation sclk t swr figure 18. timing between write and read commands next read or write operation data t srad read operation address t srw & t srr address sclk figure 19. timing between read and either write or subsequent read commands motion_burst register address read first byte first read operation read second byte sclk t srad read third byte figure 20. motion burst timing required timing between read and write commands there are minimum timing requirements between read and write commands on the serial port. if the rising edge of the sclk for the last data bit of the second write command occurs before the required delay (t sww ), then the first write command may not complete correctly. if the rising edge of sclk for the last address bit of the read command occurs before the required delay (t swr ), the write command may not complete correctly. during a read operation sclk should be delayed at least t srad after the last address data bit to ensure that the ADNS-3040 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 t srr or t srw 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 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 read with no delay between bytes by driving sclk at the normal rate. the data is 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 t bexit to terminate burst mode. the serial port is not available for use until it is reset with ncs, even for a second burst transmission.
14 notes on shutdown and forced rest the ADNS-3040 can be set in rest mode through the configuration_bits register (0x11). this is to allow for further power savings in applications where the sensor does not need to operate all the time. the ADNS-3040 can be set in shutdown mode by asserting the shtdwn pin. for proper operation, shtdwn pulse width must be at least t stdwn . shorter pulse widths may cause the chip to enter an undefined state. in addition, the spi port should not be accessed when shtdwn is asserted. (other ics on the same spi bus can be accessed, as long as the sensors ncs pin is not asserted.) the table below shows the state of various pins during shutdown. after deasserting shtdwn, a full reset must be initiated. wait t wakeup before accessing the spi port, then write 0x5a to the power_up_reset register. any register settings must then be reloaded. * ncs pin must be held to 1 (high) if spi bus is shared with other devices. it can be in either state if the sensor is the only device in addition to the microcontroller. note: there are long wakeup times from shutdown and forced rest. these features should not be used for power management during normal mouse motion. notes on power-up the ADNS-3040 does not perform an internal power up self-reset; the power_up_reset register must be written every time power is applied. the appropriate sequence is as follows: 1. apply power 2. drive ncs high, then low to reset the spi port 3. write 0x5a to register 0x3a 4. read from registers 0x02, 0x03 and 0x04 (or read these same 3 bytes from burst motion register 0x42) one time regardless the state of the motion pin. 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. pin on power-up ncs high before reset ncs low before reset after reset ncs functional high low functional miso undefined undefined functional depends on ncs sclk ignored ignored functional depends on ncs mosi ignored ignored functional depends on ncs xy_led undefined undefined undefined functional motion undefined undefined undefined functional shtdwn must be low must be low must be low functional state of signal pins after v dd is valid pin shtdwn active ncs functional* miso undefined sclk undefined mosi undefined xy_led low current motion undefined
15 registers the ADNS-3040 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 0x0d 0x01 revision_id r 0x02 0x02 motion r/w 0x00 0x03 delta_y r any 0x04 delta_x r any 0x05 squal r any 0x06 shutter_upper r any 0x07 shutter_lower r any 0x08 maximum_pixel r any 0x09 pixel_sum r any 0x0a minimum_pixel r any 0x0b pixel_grab r/w any 0x0c crc0 r any 0x0d crc1 r any 0x0e crc2 r any 0x0f crc3 r any 0x10 self_test w 0x11 configuration_bits r/w 0x03 0x12-0x2d reserved 0x2e observation r/w any 0x2f-0x38 reserved 0x3a power_up_reset w 0x3b-0x3d reserved 0x3e inverse_revision_id r 0xfd 0x3f inverse_product_id r 0xf2 0x42 motion_burst r any
16 product id address: 0x00 access: read reset value: 0x0d bit7654321 0 field pid 7 pid 6 pid 5 pid 4 pid 3 pid 2 pid 1 pid 0 data type: 8-bit unsigned integer usage: this register contains a unique identification assigned to the ADNS-3040. 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: 0x02 bit76543210 field rid 7 rid 6 rid 5 rid 4 rid 3 rid 2 rid 1 rid 0 data type: 8-bit unsigned integer usage: this register contains the ic revision. it is subject to change when new ic versions are released.
17 motion address: 0x02 access: read/write reset value: 0x00 bit76543210 field mot pixrdy pixfirst ovf reserved reserved 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_y and delta_x registers. writing anything to this register clears the mot and ovf bits, delta_y and delta_x registers. the written data byte is not saved. internal buffers can accumulate more than eight bits of motion for x or y. if either one of the internal buffers overflows, then absolute path data is lost and the ovf bit is set. this bit is cleared once some motion has been read from the delta_x and delta_y registers, and if the buffers are not at full scale. since more data is present in the buffers, the cycle of reading the motion, delta_x and delta_y registers should be repeated until the motion bit (mot) is cleared. until mot is cleared, either the delta_x or delta_y registers will read either positive or negative full scale. if the motion register has not been read for long time, at 400 cpi it may take up to 16 read cycles to clear the buffers, at 800 cpi, up to 32 cycles. to clear an overflow, write anything to this register. the pixrdy bit will be set whenever a valid pixel data byte is available in the pixel_dump register. check that this bit is set before reading from pixel_dump. 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 and delta_y registers pixrdy pixel dump data byte is available in pixel_dump register 0 = data not available 1 = data available pixfirst this bit is set when the pixel_grab register is written to or when the 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
18 delta y address: 0x03 access: read reset value: undefined bit 7 6 5 4 3 2 1 0 field x 7 x 6 x 5 x 4 x 3 x 2 x 1 x 0 data type: eight bit 2s complement number. usage: y movement is counts since last report. absolute value is determined by resolution. reading clears the register. 00 01 02 7e 7f +127 +126 +1 +2 ff fe 81 80 0 -1 -2 -127 -128 motion delta_y notes: agilent recommends that registers 0x03 and 0x04 be read sequentially. delta x address: 0x04 access: read reset values: undefined bit 7 6 5 4 3 2 1 0 field y 7 y 6 y 5 y 4 y 3 y 2 y 1 y 0 data type: eight bit 2s complement number. usage: x movement is counts since last report. absolute value is determined by resolution. reading clears the register. 00 01 02 7e 7f +127 +126 +1 +2 ff fe 81 80 0 -1 -2 -127 -128 motion delta_x notes: agilent recommends that registers 0x03 and 0x04 be read sequentially.
19 squal address: 0x05 access: read reset value: undefined bit76543210 field sq 7 sq 6 sq 5 sq 4 sq 3 sq 2 sq 1 sq 0 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 tbd. 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 500 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). figure 21. squal values (white paper) mean squal vs z (white paper) 0 10 20 30 40 50 60 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 delta from nominal focus (mm) squal value (count) figure 22. mean squal vs. z (white paper) squal value (white paper) 0 10 20 30 40 50 60 70 80 90 100 1 25 49 73 97 121 145 169 193 217 241 265 289 313 337 361 385 409 433 457 481 count squal value
20 shutter_upper address: 0x06 access: read reset value: undefined bit765432 10 field s 15 s 14 s 13 s 12 s 11 s 10 s 9 s 8 shutter_lower address: 0x07 access: read reset value: undefined bit76543210 field s 7 s 6 s 5 s 4 s 3 s 2 s 1 s 0 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 20 30 40 50 60 70 80 90 100 110 120 1 25 49 73 97 121 145 169 193 217 241 265 289 313 337 361 385 409 433 457 481 count shutter value figure 23. shutter values (white paper) mean shutter vs z (white paper) 0 50 100 150 200 -0.8 -0.6 -0.4 -0.2 0 0.2 0.4 0.6 0.8 delta from nominal focus (mm) shutter value (count) figure 24. mea n shutter vs. z (white paper)
21 maximum pixel address: 0x08 access: read reset value: underfined bit76543210 field mp 7 mp 6 mp 5 mp 4 mp 3 mp 2 mp 1 mp 0 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: 0x09 access: read reset value: undefined bit76543210 field ap 7 ap 6 ap 5 ap 4 ap 3 ap 2 ap 1 ap 0 data type: high 8 bits of an unsigned 17-bit integer. usage: this register is used to find the average pixel value. it reports the seven bits of a 16- bit counter, which sums all pixels in the current frame. it may be described as the full sum divided by 512. to find the average pixel value, use the following formula: average pixel = register value * 128/121 = register value * 1.06 the maximum register value is 240. the minimum is 0. the pixel sum value can change on every frame. minimum_pixel address: 0x0a access: read reset value: undefined bit76543210 field mp 7 mp 6 mp 5 mp 4 mp 3 mp 2 mp 1 mp 0 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.
22 crc0 address: 0x0c access: read reset value: undefined bit76543210 field crc0 7 crc0 6 crc0 5 crc0 4 crc0 3 crc0 2 crc0 1 crc0 0 data type: eight-bit number usage: register 0x0c reports the first byte of the system self test results. value = 0xaf. see self test register 0x10. pixel_grab address: 0x0b access: read/write reset value: undefined bit76543210 field pd 7 pd 6 pd 5 pd 4 pd 3 pd 2 pd 1 pd 0 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 frames 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. pixel address map (looking through the adns-3120-001 lens) first pixel 0 22 44 66 88 110 132 154 176 198 220 242 264 286 308 330 352 374 396 418 440 462 1 23 45 67 89 111 133 155 177 199 221 243 265 287 309 331 353 375 397 419 441 463 2 24 46 68 90 112 134 156 178 200 222 244 266 288 310 332 354 376 398 420 442 464 3 25 47 69 91 113 135 157 179 201 223 245 267 289 311 333 355 377 399 421 443 465 4 26 48 70 92 114 136 158 180 202 224 246 268 290 312 334 356 378 400 422 444 466 5 27 49 71 93 115 137 159 181 203 225 247 269 291 313 335 357 379 401 423 445 467 6 28 50 72 94 116 138 160 182 204 226 248 270 292 314 336 358 380 402 424 446 468 7 29 51 73 95 117 139 161 183 205 227 249 271 293 315 337 359 381 403 425 447 469 8 30 52 74 96 118 140 162 184 206 228 250 272 294 316 338 360 382 404 426 448 470 9 31 53 75 97 119 141 163 185 207 229 251 273 295 317 339 361 383 405 427 449 471 10 32 54 76 98 120 142 164 186 208 230 252 274 296 318 340 362 384 406 428 450 472 11 33 55 77 99 121 143 165 187 209 231 253 275 297 319 341 363 385 407 429 451 473 12 34 56 78 100 122 144 166 188 210 232 254 276 298 320 342 364 386 408 430 452 474 13 35 57 79 101 123 145 167 189 211 233 255 277 299 321 343 365 387 409 431 453 475 14 36 58 80 102 124 146 168 190 212 234 256 278 300 322 344 366 388 410 432 454 476 15 37 59 81 103 125 147 169 191 213 235 257 279 301 323 345 367 389 411 433 455 477 16 38 60 82 104 126 148 170 192 214 236 258 280 302 324 346 368 390 412 434 456 478 17 39 61 83 105 127 149 171 193 215 237 259 281 303 325 347 369 391 413 435 457 479 18 40 62 84 106 128 150 172 194 216 238 260 282 304 326 348 370 392 414 436 458 480 19 41 63 85 107 129 151 173 195 217 239 261 283 305 327 349 371 393 415 437 459 481 20 42 64 86 108 130 152 174 196 218 240 262 284 306 328 350 372 394 416 438 460 482 21 43 65 87 109 131 153 175 197 219 241 263 285 307 329 351 373 395 417 439 461 483 last pixel rb lb top xray view of mouse positive x 20 1 11 a3040 yyww 10 p o s i t i v e y
23 crc3 address: 0x0f access: read reset value: undefined bit76543210 field crc3 7 crc3 6 crc3 5 crc3 4 crc3 3 crc3 2 crc3 1 crc3 0 data type: eight-bit number usage: register 0x0f reports the fourth byte of the system self test results. value = 0x22. see self test register 0x10. crc2 address: 0x0e access: read reset value: undefined bit76543210 field crc2 7 crc2 6 crc2 5 crc2 4 crc2 3 crc2 2 crc2 1 crc2 0 data type: eight-bit number usage: register 0x0e reports the third byte of the system self test results. value = 0x31. see self test register 0x10. crc1 address: 0x0d access: read reset value: undefined bit76543210 field crc1 7 crc1 6 crc1 5 crc1 4 crc1 3 crc1 2 crc1 1 crc1 0 data type: eight bit number usage: register 0x0c reports the second byte of the system self test results. value = 0x4e. see self test register 0x10.
24 reserved address: 0x12-0x2d configuration_bits address: 0x11 access: read/write reset value: 0x03 bit76543210 field res reserved resten 1 resten 0 reserved reserved reserved reserved data type: bit field usage: register 0x11 allows the user to change the configuration of the sensor. setting the resten bit forces the sensor into rest mode, as described in the power modes section above. the res bit allows selection between 400 and 800 cpi resolution. note: forced rest has a long wakeup time and should not be used for power management during normal mouse motion. field name description resten1-0 puts chip into rest mode 00 = normal operation 01 = force rest1 10 = force rest2 11 = force rest3 res sets resolution 0 = 400 1 = 800 self_test address: 0x10 access: write reset value: na bit76543210 field reserved reserved reserved reserved reserved reserved reserved testen data type: bit field usage: 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 to start normal operation. field name description testen enable system self test 0 = disable 1 = enable
25 observation address: 0x2e access: read/write reset value: undefined bit76543210 field mode 1 mode 0 reserved reserved obs 3 obs 2 obs 1 obs 0 data type: bit field usage: register 0x2e provides bits that are set every frame. it can be used during eftb testing to check that the chip is running correctly. writing anything to this register will clear the bits. reserved address: 0x2f-0x39 power_up_reset address: 0x3a access: write reset value: undefined bit76543210 field rst 7 rst 6 rst 5 rst 4 rst 3 rst 2 rst 1 rst 0 data type: 8-bit integer usage: write 0x5a to this register to reset the chip. all settings will revert to default values. field name description mode 1-0 mode status: reports which mode the sensor is in. 00 = run 01 = rest1 10 = rest2 11 = rest3 obs 3-0 set every frame inverse_revision_id address: 0x3e access: read reset value: 0xfd bit76543210 field nrid 7 nrid 6 nrid 5 nrid 4 nrid 3 nrid 2 nrid 1 nrid 0 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.
www.agilent.com/ semiconductors for product information and a complete list of distributors, please go to our web site. for technical assistance call: americas/canada: +1 (800) 235-0312 or (916) 788-6763 europe: +49 (0) 6441 92460 china: 10800 650 0017 hong kong: (+65) 6756 2394 india, australia, new zealand: (+65) 6755 1939 japan: (+81 3) 3335-8152(domestic/inter- national), or 0120-61-1280(domestic only) korea: (+65) 6755 1989 singapore, malaysia, vietnam, thailand, philippines, indonesia: (+65) 6755 2044 taiwan: (+65) 6755 1843 data subject to change. copyright ?2005 agilent technologies, inc. august 23, 2005 5989-3540en motion_burst address: 0x42 access: read reset value: any bit76543210 field mb 7 mb 6 mb 5 mb 4 mb 3 mb 2 mb 1 mb 0 data type: various. usage: read from this register to activate burst mode. the sensor will return the data in the motion register, delta_y, delta_x, squal, shutter_upper, shutter_lower, and maximum_pixel. a minimum of 3 bytes should be read during a burst read. reading the first 3 bytes clears the motion data. inverse_product_id address: 0x3f access: read reset value: 0xf2 bit76543210 field npid 7 npid 6 npid 5 npid 4 npid 3 npid 2 npid 1 npid 0 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.


▲Up To Search▲   

 
Price & Availability of ADNS-3040

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X