DATASHEET SEARCH SITE | WWW.ALLDATASHEET.COM

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 39

Technical content

Features

 One chip USB mouse sensor  USB 2.0 Low Speed Compliance  12 bits USB motion data reporting  Meets HID Revision 1.11  Single 5.0 volts power supply  High speed motion detection at 30 inches per second (ips) and acceleration up to 8 g  Input buttons: 3 buttons  Z-Wheel interface for vertical scroll  Integrated oscillator  Integrated USB D- pull-up resistor  Product string is set to “USB Optical Mouse”  On-chip OTP memory for device confi guration fl exibility without any external software driver: – Programmable resolution from 500 to 1250 counts per inch (cpi) with 250 cpi step. – Programmable sensor orientation – Programmable VID and PID.

Applications

 Corded optical mice  Trackballs  Integrated input devices NOTE: ADNS-2700 will be referred to as "sensor" , ADNS-5100- 001 as " trim lens" and HLMP-EG3E as "LED" hereafter. ADNS-2700 Single Chip USB Optical Mouse Sensor Data Sheet All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. Pi xArt Imaging Inc. E-mail: fae_service@pixart.com.tw

Table 1. Pin Name Description The sensor is based on Optical Navigation Technology. Signal Processor (DSP) and USB stream output. which are converted to USB motion data. Figure 1. Package outline drawing (top view) All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

Figure 2. Package Outline Drawing of this component to prevent damage and/or degradation which may be induced by ESD.

  1. Dimensions in millimeter / inches.
  2. Dimensional tolerance: ± 0.1mm.
  3. Coplanarity of leads: 0.1mm.
  4. Lead pitch tolerance: ± 0.15mm.
  5. Non-cumulative pitch tolerance: ± 0.15mm.
  6. Brackets () indicate reference dimension.
  7. Document Number: LED_DIFF_8B_PKG_002

All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

prior to loading on the PCB. Figure 3. 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.

Figure 5. Distance from lens reference plane to tracking surface (Z) Figure 4. 2D Assembly drawing of sensor (Top and Side View)

0.293 TOP PCB to SURFACE

All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

  1. Insert the sensor and all other electrical components
  2. Insert the LED into the assembly clip and bend the
  3. Insert the LED clip assembly into PCB.
  4. This sensor package is only qualifi ed for wave-solder
  5. Wave solder the entire assembly in a no-wash solder

needed to protect the sensor during the solder process. lead shoulders do not normally rest on the PCB surface.

  1. Place the lens onto the base plate.
  2. Remove the protective Kapton tape from optical

vertically for the Kapton removal process.

  1. Insert PCB assembly over the lens onto the base plate

aperture ring should self-align to the lens.

  1. The optical position reference for the PCB is set by the
  2. Install mouse top case. There MUST be a feature in

IMPORTANT NOTE: P-bin LED or better is recommended. Figure 6. Exploded View of Assembly All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

Figure 7. Block diagram of optical mouse

5 VOLT

All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

Figure 8. Application Circuit with sensor

12 SW3

1 ZBPAD11 ZAPAD11 VDDPAD1

2 Don’t use jumper wire. Use resistor to jump instead. Keep the trace wide. Keep (pin 5) away from noisy traces, GND plane and Power plane. The 3 button trace for SW pin need to be same width, length.

Lead Solder Temperature 260 C For 10 seconds, 1.6 mm below seating plane. following Pixart recommendations.  UL fl ammability level UL94 V-0. with trim lens according to usage instructions above. Figure 9. Distance from lens reference plane to object surface All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

Parameter Symbol Minimum Typical Maximum Units Notes Wakeup Delay from Rest Mode Due to Motion TWUPP 12m s Power Up Delay TPUP 50 ms Debounce Delay on Button Inputs T DBB ms “Maximum” specifi ed at 8 ms polling rate. Scroll Wheel Sampling Period T SW 150 200 300 s ZA PIN Transient Supply Current I DDT 60 mA Max. supply current during a VDDA5 ramp from 0 to 5.0 V with > 500 s rise time. Does not include charging currents for bypass capacitors. Electrical Characteristics over recommended operating conditions. Parameter Symbol Minimum Maximum Units Notes Output Signal Crossover Voltage V CRS 1.5 2.0 V C L = 200 to 600 pF (see Figure 10) Input Signal Crossover Voltage V ICRS 1.2 2.1 V C L = 200 to 600 pF (see Figure 10) Output High V OH 2.8 3.6 V with 15 k to Ground and 7.5 k to VBUS on D- (see Figure 11) Output Low VOL 0.0 0.3 V with 15 k to Ground and 7.5 k to VBUS on D- (see Figure 11) Single Ended Input V SEI 0.8 V Input High (Driven) V IH 2.0 V Input High (Floating) VIHZ 2.7 3.6 V Input Low V IL 0.8 V 7.5 k to VDDA5 Diff erential Input Sensitivity V DI 0.2 V |(D+)-(D-)| See Figure 12 Diff erential Input Common Mode Range VCM 0.8 2.5 V Includes V DI, See Figure 12 Single Ended Receiver Threshold V SE 0.8 2.0 V Transceiver Input Capacitance C IN 12 pF D+ to V BUS, D- to VBUS PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

Timing Specifi cations over recommended operating conditions. Figure 10. Data Signal Rise and Fall Times All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

Parameter Symbol Minimum Typical Maximum Units Notes System Current, Mouse Moving I DD5 35 50 mA Includes XY_LED current System Current, Mouse Not Moving IDD5N 15 30 mA Includes XY_LED current System Current, USB Suspend Mode, Remote Wakeup Enabled I DD5S 500 A Includes XY_LED current and D- pullup resistor. Supply Current (Sensor only), Mouse Moving I DDS 4.5 8 mA No load on SW, XY-LED, ZA, ZB, D+, D- Supply Current (Sensor only), Mouse Not Moving I DDSN 3.9 7.5 mA No load on SW, XY-LED, ZA, ZB, D+, D- Sensor Supply Current, USB Suspend Mode I DDSS 320 A No load on SW, XY-LED, ZA, ZB, D+,D- XY_LED Current I LED 30 mA XY_LED Output Low Voltage V OL 1.1 V Input Low Voltage V IL 0.5 V Pins: ZA, ZB VIL max of 0.5 VDC is at VDDA5 min of 4 V DC, with a typical of 0.8 VDC at VDDA5 of 5 VDC Input High Voltage VIH 0.6*VDDA5 V Pins: ZA, ZB PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

to save the OTP programming time. Figure 16. OTP Byte Write Flow Chart OTP write operation fl ow chart is shown in Figure 16.

  1. Set OTP Clock enable bit in OTP_CLOCK register, 0x42:
  2. Set OTP enable bit in OTP_CONFIG register, 0x51: OTP_
  3. Write the OTP register address byte to OTP_ADDR
  4. Write the OTP data byte to OTP_DATA register, 0x53.
  5. Set write enable bit in OTP_CTRL register, 0x54 to

enable write command to OTP: WR = 1.

  1. Read the write enable bit status in OTP_CTRL register,
  2. Read the write status bit in OTP_CTRLSTAT register,

a. If WR_OK = 1, OTP write operation is completed. Repeat Step 2 for more OTP byte write operations. b. If WR_OK = 0, repeat Step 5.

  1. If Step 6b is repeated up to 10 times, OTP write operation

is failed and the chip is confi rmed as defective unit. All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

Figure 19. Button connections  Button inputs B1, B2, and B3 are sampled every 6ms. All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

USB_RESET D+/D- low > 18.7 s Device Resets; Address=0 USB_SUSPEND Idle state > 3 mS Device enters USB low-power mode USB_RESUME Non-idle state Device exits USB low-power mode Get_Status_Device 80 00 00 00 00 00 02 00 Normally returns 00 00, Self powered 00 00, Remote wakeup 02 00 Get_Status_Interface 81 00 00 00 00 00 02 00 Normally returns 00 00 Get_Status_Endpt0 82 00 00 00 xx 00 02 00 OUT: xx=00, IN: xx=80 Normally returns 00 00 Get_Status_Endpt1 82 00 00 00 81 00 02 00 Normally returns 00 00, Halt 00 01 Get_Confi guration 80 08 00 00 00 00 01 00 Return: 00=not confi g., 01=confi gured Get_Interface 81 0A 00 00 00 00 01 00 Normally returns 00 Get_Protocol A1 03 00 00 00 00 01 00 Normally returns 01, Boot protocol 00 Get_Desc_Device 80 06 00 01 00 00 nn 00 See USB command details Get_Desc_Confi g 80 06 00 02 00 00 nn 00 See USB command details Get_Desc_String 80 06 xx 03 00 00 nn 00 See USB command details Get_Desc_HID 81 06 00 21 00 00 09 00 See USB command details Get_Desc_HID_Report 81 06 00 22 00 00 nn 00 See USB command details Get_HID_Input A1 01 00 01 00 00 nn 00 Return depends on motion & confi g Get_Idle A1 02 00 00 00 00 01 00 Returns rate in multiples of 4 ms Get_Vendor_Test C0 01 00 00 xx 00 01 00 Read register xx Set_Address 00 05 xx 00 00 00 00 00 xx = address Set_Confi guration 00 09 xx 00 00 00 00 00 Not confi gured: xx=00 Confi gured: xx=01 Set_Interface 01 0B 00 00 00 00 00 00 Only one interface supported Set_Protocol 21 0B xx 00 00 00 00 00 Boot: xx=00, Report: xx=01 Set_Feature_Device 00 03 01 00 00 00 00 00 Enable remote wakeup Set_Feature_Endpt0 02 03 00 00 xx 00 00 00 Halt. OUT: xx=00, IN: xx=80 Set_Feature_Endpt1 02 03 00 00 81 00 00 00 Halt Clear_Feature_Device 00 01 01 00 00 00 00 00 Disable Remote wakeup Clear_Feature_Endpt0 02 01 00 00 xx 00 00 00 Clear Halt; OUT: xx=00, IN: xx=80 Clear_Feature_Endpt1 02 01 00 00 81 00 00 00 Clear Halt Set_Idle 21 0A 00 rr 00 00 00 00 rr = report rate in multiples of 4 ms Set_Vendor_Test 40 01 00 00 xx yy 00 00 Write yy to address xx Poll_Endpt1 Read buttons, motion, & Z-wheel Note: The last two bytes in a command shown as “nn 00” specify the 16-bit data size in the order of “LowByte HighByte. ” For example a two-byte data size would be specifi ed as “02 00. ” The sensor will not provide more bytes than the number requested in the command, but it will only supply up to a maximum of 8 bytes at a time. The sensor will re-send the last packet if the transfer is not acknowledged properly. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

USB_RESET USB Spec: Notes: D+/D- low for an extended period A device may reset after seeing an SE0 for more than 18.7 uS, and defi nitely after 10 mS. After power up and prior to Reset, the device will not respond to any USB commands. After the device has been given a USB Reset, the device’s address will be reset to zero and the device will be in the Default state. The chip will default to Report protocol and any pending output will be fl ushed. All registers will be reset to a state that matches power-on-reset with the following exceptions: USB State register will be “Default” instead of “Attached” . USB_SUSPEND USB Spec: Notes: Idle state for an extended period A device may suspend after seeing an idle for more than 3 mS, and defi nitely after 10 mS. The chip will take a minimum of 5 mS to start Suspend, though will defi nitely start after 6 mS. The chip may fi nish the current frame if necessary before stopping the clock. Thus, an additional frame time may be used to reach Suspend mode. USB_RESUME USB Spec: Notes: Non-idle state Remote Resume signalling from a device must be between 1 mS and 15 mS. The host is required to send Resume signaling for 20 mS plus 10 mS of resume recovery time in which it does not access any devices. This allows devices enough time to wake back up. The chip can cause a Resume if Remote Wakeup is enabled and a button has been pressed. Remote resume signalling from the chip will last 11.45 mS to 12.45 mS. Get_Status_Device Returns: Default: Addressed: Confi gured: Notes: 80 00 00 00 00 00 02 00 xx yy xx[0] = Self Powered xx[1] = Remote Wakeup xx[7:2] = 0 yy = 00 (Reserved) Accept (undefi ned in USB Spec) Accept Accept Use Set_Feature_Device/Clear_Feature_Device to set/clear remote wakeup. Get_Status_Interface Returns: Default: Addressed: Confi gured: Notes: 81 00 00 00 00 00 02 00 00 00 Stall (undefi ned in USB Spec) Stall Accept Both return bytes are reserved and currently 00. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

Get_Status_Endpt0 Returns: Default: Addressed: Confi gured: Notes: 82 00 00 00 xx 00 02 00 82 00 00 00 00 00 02 00 82 00 00 00 80 00 02 00 xx = 00 = Endpt0 OUT xx = 80 = Endpt0 IN xx yy xx[0] = Halt xx[7:1] = 0 yy = 00 (Reserved) Accept (undefi ned in USB Spec) Accept Accept Use Set_Feature_Endpt0/Clear_Feature_Endpt0 to (try to) set/clear Halt bit. According to USB, “It is neither required or recommended that the Halt feature be implemented for the Default Control Pipe. ” Since a new SETUP command will clear any Endpt0 halt bit, it is impossible to tell if there really is a halt bit. Get_Status_Endpt1 Returns: Default: Addressed: Confi gured: Notes: 82 00 00 00 81 00 02 00 xx yy xx[0] = Halt xx[7:1] = 0 yy = 00 (Reserved) Stall (undefi ned in USB Spec) Stall Accept Use Set_Feature_Endpt1/Clear_Feature_Endpt1 to set/clear Halt bit. Get_Confi guration Returns: Default: Addressed: Confi gured: Notes: 80 08 00 00 00 00 01 00 xx xx = confi g value Accept (undefi ned in USB Spec) – returns 00 Accept – returns 00 Accept – returns 01 Use Set_Confi guration to change. Get_Interface Returns: Default: Addressed: Confi gured: Notes: 81 0A 00 00 00 00 01 00 Stall (undefi ned in USB Spec) Stall Accept – returns 00 Command has no alternate interfaces, so only valid value is 00 PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

Get_Protocol Returns: Default: Addressed: Confi gured: Notes: A1 03 00 00 00 00 01 00 xx xx = 00 = Boot protocol xx = 01 = Report protocol Accept Accept Accept Defaults to Report protocol after USB Reset. Use Set_Protocol to change. Get_Desc_Device Returns: Example: Example for Multi-button: Default: Addressed: Confi gured: 80 06 00 01 00 00 nn 00 80 06 00 01 00 00 12 00 12 01 00 02 00 00 00 08 vv vv pp pp dd dd mm PP ss 01 vv vv = vendor id pp pp = product id (vendor specifi ed) dd dd = device id (vendor specifi ed) (bcd rev_id byte) mm = iManufacturer PP = iProduct ss = iSerialNumber (00 – no string) 12 01 00 02 00 00 00 08 6D 04 pp pp 00 54 01 02 00 01 // Device Descriptor | 12 // bLength (18 decimal) | 01 // bDescriptorType | 00 // bcdUSB (Release ##.## = 02.00) | 02 | 00 // bDeviceClass | 00 // bDeviceSubClass | 00 // bDeviceProtocol | 08 // bMaxPacketSize0 | 2F // idVendor | 19 // idVendor | 16 // idProduct // based on #buttons & wheel | 09 // idProduct | 00 // bcdDevice (Dev Rel 54.00) | 54 | 00 // iManufacturer | 02 // iProduct | 00 // iSerialNumber | 01 // bNumConfi gurations Accept Accept Accept Get_Desc_String will return “stall” if Manufacturer string is queried when iManufacturer = 0x00. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

Get_Desc_Confi g Returns: Default: Addressed: Confi gured: Notes: 80 06 00 02 00 00 nn 00 80 06 00 02 00 00 22 00 09 02 22 00 01 01 00 A0 32 09 04 00 00 01 03 01 02 00 09 21 11 01 00 01 22 rr 00 07 05 81 03 05 00 0A rr = HID Report descriptor length 47 = 12 bit motion reporting Accept Accept Accept This is the concatenation of 4 descriptors: Confi guration Interface HID Endpt Get_Desc_String Command Option: Returns: For xx = 00: For xx = 01: 80 06 xx 03 00 00 nnl nnh xx= 00 Language String

01 Manufacturer String

02 Product String

xx= 00 => Language String 01 => Manufacturer String 02 => Product String Nnl nnh = varies with the string length ss 03 “unicode string” ss = String descriptor length 04 03 09 04 // Language ID default: stall Product String (xx=02) Product String Returns USB Optical Mouse 24 03 55 00 53 00 42 00 20 00 4f 00 70 00 74 00 69 00 63 00 61 00 6c 00 20 00 4d 00 6f 00 75 00 73 00 65 00 Synopsys cmd: No Default: Accept Addressed: Accept Confi gured: Accept Notes: 1. A request for any other string will STALL. 2. Returned string depends on the manufacturer string section via OTP . PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

Get_Desc_HID Returns: 81 06 00 21 00 00 09 00 09 21 11 01 00 01 22 rr 00 rr = HID Report descriptor length 40 = 12bit reporting Get_Desc_HID_Report Returns: 12 bit reporting: Default: Addressed: Confi gured: Notes: 81 06 00 22 00 00 nn 00 This returns a report descriptor that describes how many buttons and x, y, z data. 05 01 09 02 A1 01 09 01 A1 00 05 09 19 01 29 03 15 00 25 01 75 01 95 03 81 02 75 05 95 01 81 01 05 01 09 30 09 31 16 01 F8 26 FF 07 75 0C 95 02 81 06 09 38 15 81 25 7F 75 08 95 01 81 06 C0 C0 // HID Report | 05 01 // USAGE_PAGE (Generic Desktop) | 09 02 // USAGE (Mouse) | A1 01 // COLLECTION (Application) | 09 01 // USAGE (Pointer) | A1 00 // COLLECTION (Physical) | 05 09 // USAGE_PAGE (Button) | 19 01 // USAGE_MINIMUM (Button 1) | 29 03 // USAGE_MAXIMUM (Button #3) | 15 00 // LOGICAL_MINIMUM (0) | 25 01 // LOGICAL_MAXIMUM (1) | 75 01 // REPORT_SIZE (1) | 95 03 // REPORT_COUNT (3) | 81 02 // INPUT (Data,Var,Abs) | 75 05 // USAGE PAGE | 95 01 // REPORT COUNT(1) | 81 01 // INPUT (CNST,ARR,ABS) | 05 01 // USAGE PAGE (Generic Desktop) | 09 30 // USAGE (X) | 09 31 // USAGE (Y) | 16 01 F8 // LOGICAL MINIMUM (-127) | 26 FF 07 // LOGICAL MAXUMUN (128) | 75 0C // REPORT_SIZE (12) | 95 02 // REPORT_COUNT (2) | 81 06 // INPUT (Data,Var,Rel) | 09 38 // USAGE (Zwheel) | 15 81 // LOGICAL MINIMUM(-127) | 25 7F // LOGICAL MAXIMUM(127) | 75 08 // REPORT_SIZE(8) | 95 01 // REPORT_COUNT(1) | 81 06 // INPUT(Data,Var,Rel) | C0 // END_COLLECTION | C0 // END_COLLECTION Accept Accept Accept The length of this report is needed in the HID descriptor. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

Get_HID_Input Returns: Default: Addressed: Confi gured: Notes: A1 01 00 01 00 00 nn 00 nn = 06 (12 bit reporting) bb xx yx yy zz bb = button byte xx = X motion byte yx = XY motion byte yy = Y motion byte zz = Z motion byte Stall Stall Accept If the device is confi gured, it will always respond with a report for this command, even if no motion or button changes have occurred. In this case, it would report 00 for motion and simply report the current button state. If a report is pending on endpt1, the data there will be reported and the report on endpt1 cleared. The mouse will only create new button/motion packets when it is in the Confi gured state USB Data Packet Format Bit 76543210 Byte 1 00000B3(MB) B2(RB) B1(LB) Byte 2 X7 X6 X5 X4 X3 X2 X1 X0 Byte 3 Y3 Y2 Y1 Y0 X11 X10 X9 X8 Byte 4 Y11 Y10 Y9 Y8 Y7 X6 X5 X4 Byte 5 Z7 Z6 Z5 Z4 Z3 Z2 Z1 Z0 Byte 6 00000000 Get_Idle Returns: Default: Addressed: Confi gured: Notes: A1 02 00 00 00 00 01 00 rr rr = rate in multiples of 4 mS Accept Accept Accept The third byte of the command is to select the Report ID. There is only one for the mouse – so, using 00 or 01 will work. See also Set_Idle. Get_Vendor_Test Returns: Default: Addressed: Confi gured: Notes: C0 01 00 00 xx 00 01 00 ii = ignore xx = address of register to read rr (depends on register read) Accept Accept Accept Address range (xx) is datasheet register range PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

Set_Address Default: Addressed: Confi gured: Notes: 00 05 xx 00 00 00 00 00 xx = new device address, from 00 to 7F Accept Accept Accept (undefi ned in USB Spec) Chip gets new address, but stays in “Confi gured” mode. If device is not confi gured, the device will be given the new address and put in the addressed state (or default if new address = 00). If the device is already confi gured, the device will be given the new address state and remain confi gured. Set_Confi guration Default: Addressed: Confi gured: Notes: 00 09 xx 00 00 00 00 00 xx = 00 = not confi gured xx = 01 = confi gured Accept (undefi ned in USB Spec) Accept Accept Invalid confi g values will cause stall. Chip will stall invalid value in confi gured mode, and leave device in old (confi gured) mode. Set_Interface Default: Addressed: Confi gured: Notes: 01 0B 00 00 00 00 00 00 Stall (undefi ned in USB Spec) Stall Accept Mouse has only one valid interface (00) and alternate setting (00). Invalid values will cause stall. Chip retains previous (valid) interface state after executing this command in confi gured mode even if invalid values are given and command was stalled. Set_Protocol Default: Addressed: Confi gured: Notes: 21 0B xx 00 00 00 00 00 xx = 00 = Boot protocol xx = 01 = Report protocol Accept (Not in USB Spec) Accept (Not in USB Spec) Accept 3 byte data packets will be reported in boot mode. These bytes are button, XX data, and YY data. Set_Feature_Device Default: Addressed: Confi gured: Notes: 00 03 01 00 00 00 00 00 Accept (undefi ned in USB Spec) Accept Accept This sets the remote wakeup bit. Set_Feature_Endpt0 Default: Addressed: Confi gured: Notes: 02 03 00 00 xx 00 00 00 02 03 00 00 00 00 00 00 02 03 00 00 80 00 00 00 xx = 00 = Endpt0 OUT xx = 80 = Endpt0 IN Stall (undefi ned in USB Spec) Stall Stall This (tries to) sets the halt bit. The chip always stalls the status stage for this command. The chip never reports the halt bit set for Endpt0 with the Get_Status_Endpt0 command, as any new SETUP command will clear Endpt0 stall. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

Set_Feature_Endpt1 Default: Addressed: Confi gured: Notes: 02 03 00 00 81 00 00 00 Stall (undefi ned in USB Spec) Stall Accept Sets the halt bit for Endpt1. Clear_Feature_Device Default: Addressed: Confi gured: Notes: 00 01 01 00 00 00 00 00 Accept (undefi ned in USB Spec) Accept Accept This clears the remote wakeup bit. Clear_Feature_Endpt0 Default: Addressed: Confi gured: Notes: 02 01 00 00 xx 00 00 00 02 01 00 00 00 00 00 00 02 01 00 00 80 00 00 00 xx = 00 = Endpt0 OUT xx = 80 = Endpt0 IN Accept (undefi ned in USB Spec) Accept Accept The chip does NOT stall like it does for Set_Feature_Endpt0. Clear_Feature_Endpt1 Default: Addressed: Confi gured: Notes: 02 01 00 00 81 00 00 00 Stall (undefi ned in USB Spec) Stall Accept See Set_Feature_Endpt1. Set_Idle Default: Addressed: Confi gured: Notes: 21 0A 00 rr 00 00 00 00 rr = rate in multiples of 4 mS Accept Accept Accept The third byte of the command is to select the Report ID. There is only one for the mouse – so, using either 00 or 01 will work. The fourth byte of the command sets the rate in multiples of 4 mS. The initial value for mice will be x00 which means “infi nite” – that is packets only come out when there is a change in data. Data will only be allowed to come out when the device is confi gured. However, the chip will accept the command in Default or Addressed mode and use that value when the device is later confi gured. Set_Vendor_Test Default: Addressed: Confi gured: Notes: 40 01 00 00 xx yy 00 00 xx = address yy = data Accept Accept Accept Address range for “xx” should be 0x00 to 0x3F. Addresses above this are reserved for possible future use. See also Get_Vendor_Test. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

Poll_Endpt1 Returns: Default: Addressed: Confi gured: Notes: bb xx yx yy zz bb = button byte xx = X motion byte yx = XY motion byte yy = Y motion byte zz = Z motion byte (if Z-Wheel) Ignore request Ignore request Accept (NAK if no data; Send packet if available) See also Get_HID_Input. Endpt will only stall if halt bit is set by Set_Feature_Endpt1. Details of data packet are below. Endpt1 should be polled at least every 10 frames (mS). It is typically polled every 8 frames on Windows machines. For internal testing, Endpt1 can be continuously polled if desired. The chip will not generate any report packets unless in the Confi gured state. If Endpt1 is currently empty, any motion or button change will be loaded into the Endpt1 buff ers. Once the Endpt1 buff ers are full, any further motion events will get accumulated. When the Endpt1 buff ers are later polled and emptied, the current accumulated X/Y/Z values will be loaded into the Endpt1 buff ers. After transferring their data, the accumulation registers are reset so they are ready to start ac- cumulating new motion events. Button information is handled a bit diff erently. If the Endpt1 buff ers are empty, and a button change event occurs, the new button state is put into the Endpt1 buff ers. At the same time, the button state that is put in Endpt1 is copied for later use. While Endpt1 is full, changes in button state are essentially ignored. When Endpt1 is emptied, if the current button state is diff erent than that which was last loaded into Endpt1, then the new state will be loaded and a new copy saved. Basically, the button state that is loaded into Endpt1 is always the current button state at that point in time. It should also be noted that there is hardware on the chip to help de-bounce the buttons. Special note on wLength: The wLength paramater in commands specifi es the maximum number of bytes a device should send back. The commands listed below are not able to handle a wLength of 0 correctly. Get_Status_Device Get_Status_Interface Get_Status_Endpt0 Get_Status_Endpt1 Get_Confi guration Get_Interface This chip will send one byte of data rather than none when wLength = 0 is requested for the above commands. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

The sensor can be programmed through registers, via the USB port, and confi guration and motion data can be read from these registers. The registers will be “disabled” by VDDA5 going low or sending a USB reset command. Address Register Name Register Type Access Reset Value 0x00 PROD_ID Device Read only 0x2b 0x01 REV_ID Device Read only 0x01 0x02 MOUSE_STAT Device Read only Undefi ned 0x03 DELTA_X_L Device Read only 0x00 0x04 DELTA_Y_L Device Read only 0x00 0x05 DELTA_XY_H Device Read only 0x00 0x06 DZ Device Read only 0x00 0x07 SQUAL Device Read only 0x00 0x08 SHUT_HI Device Read only 0x00 0x09 SHUT_LO Device Read only 0x32 0x0A PIX_MAX Device Read only 0x00 0x0B PIX_ACCUM Device Read only 0x00 0x0C PIX_MIN Device Read only 0x00 0x0D PIX_GRAB Device Read only 0x00 0x40 INV_REV_ID Device Read only 0xFE 0x42 OTP_CLOCK Device Read/Write 0x00 0x51 OTP_CONFIG Device Read/Write 0x00 0x52 OTP_ADDR Device Read/Write 0x00 0x53 OTP_DATA Device Read/Write 0x00 0x54 OTP_CTRL Device Read/Write 0x00 0x56 OTP_RUNSTAT Device Read only Undefi ned 0x58 OTP_CTRLSTAT Device Read only Undefi ned 0xDF L1_USE_OTP OTP Read/Write 0x00 0xE0 DPI OTP Read/Write 0x04 0xE2 : 0xE3 PID1 : PID0 OTP Read/Write 0x0916 0xE4 : 0xE5 VID1 : VID0 OTP Read/Write 0x192F 0xE8 OTPLOCK1 OTP Read/Write 0x00 PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

PROD_ID Address: 0x00 Type: Device Access: Read only Reset Value: 0x2b Bit 76543210 Field PID 7 PID6 PID5 PID4 PID3 PID2 PID1 PID0 Data Type: 8-bit number with the product identifi er. USAGE: The value in this register does not change; it can be used to verify that the sensor communications link is OK. REV_ID Address: 0x01 Type: Device Access: Read only Reset Value: 0x01 Bit 76543210 Field RID 7 RID6 RID5 RID4 RID3 RID2 RID1 RID0 Data Type: 8-bit number with current revision of the IC. USAGE: This register contains the IC revision. It is subject to change when new IC versions are released. BUT_STAT Address: 0x02 Type: Device Access: Read only Reset Value: Undefi ned Bit 7 6543210 Field Reserved Reserved Reserved Reserved Reserved BUT 3 BUT2 BUT1 Data Type: Bit fi eld. USAGE: This register is included for test purposes only. For navigation use, use the USB HID defi ned commands. The button status bits reported are for the debounce signals. Field Name Description BUT3 Reports the status of B3 0 = Open 1 = Button Pressed BUT

2 Reports the status of B2

0 = Open 1 = Button Pressed BUT

1 Reports the status of B1

0 = Open 1 = Button Pressed PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

DELTA_X_L Address: 0x03 Access: Read Reset Value: 0x00 Bit 76543210 Field X 7 X6 X5 X4 X3 X2 X1 X0 Data Type: Bit fi eld. USAGE: The value in this register refl ects the last USB delta X (lower 8 bits) data output or data queued for output. This register is included for test purposes only . For navigation use, use the HID defi ned commands. Data is 2’s complement. Absolute value is determined by the currently set resolution. Register 0x03 must be read before register 0x04 (Delta_Y_L) and 0x05 (Delta_XY_H) DELTA_Y_L Address: 0x04 Access: Read Reset Value: 0x00 Bit 76543210 Field Y 7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 Data Type: Bit fi eld. USAGE: The value in this register refl ects the last USB delta Y (lower 8 bits) data output or data queued for output. This register is included for test purposes only . Register 0x03 should be read before register 0x04 (Delta_Y_L) and 0x05 (Delta_XY_H), else Delta_Y_L will return 0. For navigation use, use the HID defi ned commands. Data is 2’s complement. Absolute value is determined by the currently set resolution. DELTA_XY_H Address: 0x05 Access: Read Reset Value: 0x00 Bit 76543210 Field X 11 X10 X9 X8 Y11 Y10 Y9 Y8 Data Type: Bit fi eld. USAGE: The value in this register refl ects the last USB delta X and Y (upper 4 bits) data output or data queued for output. This register is included for test purposes only . Register 0x03 should be read before register 0x04 (Delta_Y_L) and 0x05 (Delta_XY_H), else Delta_XY_H will return 0. For navigation use, use the HID defi ned commands. Data is 2’s complement. Absolute value is determined by the currently set resolution. DZ Address: 0x06 Access: Read Reset Value: 0x00 Bit 76543210 Field Z 7 Z6 Z5 Z4 Z3 Z2 Z1 Z0 Data Type: Bit fi eld. USAGE: This register contains the Z-wheel count. Range is from -127 to 127 decimal. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

SQUAL Address: 0x07 Access: Read Reset Value: 0x00 Bit 76543210 Field SQ 7 SQ6 SQ5 SQ4 SQ3 SQ2 SQ1 SQ0 Data Type: Eight bit number. USAGE: SQUAL is a measure of the number of features visible by the sensor in the current frame. The maximum value is 128. Since small changes in the current frame can result in changes in SQUAL, slight variations in SQUAL on one surface is expected. SHUT_HI Address: 0x08 Type: Device Access: Read only Reset Value: 0x00 Bit 76543210 Field S 15 S14 S13 S12 S11 S10 S9 S8 SHUT_LO Address: 0x09 Type: Device Access: Read only Reset Value: 0x64 Bit 76543210 Field S 7 S6 S5 S4 S3 S2 S1 S0 Data Type: 16-bit number. USAGE: The combination of SHUT_HI and SHUT_LO is a 16-bit number. This is the number of clocks the shutter was open for the last image taken. The unit is in main clock count (nominally 12MHz). To avoid split read issues, read SHUT_Hi fi rst. PIX_MAX Address: 0x0A Type: Device Access: Read only Reset Value: 0x00 Bit 76543210 Field 0 MX6 MX5 MX4 MX3 MX2 MX1 MX0 Data Type: Eight bit number. USAGE: This is the maximum pixel value from the last image taken. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

PIX_ACCUM Address: 0x0B Type: Device Access: Read only Reset Value: 0x00 Bit 76543210 Field AC 7 AC6 AC5 AC4 AC3 AC2 AC1 AC0 Data Type: High 8bits of 17-bit unsigned integer. USAGE: This is the accumulated pixel value from the last image taken. For the 19x19 pixels, only the 8 most prominent bits are reported ([15:8]). To get the true average pixel value, divide this register value by 1.41. PIX_MIN Address: 0x0C Type: Device Access: Read only Reset Value: 0x00 Bit 76543210 Field 0 MN6 MN5 MN4 MN3 MN2 MN1 MN0 Data Type: 8-bit number. USAGE: This is the minimum pixel value from the last image taken. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

the next pixel. It will take 361 reads to upload the completed image. Figure 20. Pixel Map. Sensor looking at the navigation surface through the lens from top of mouse. Data Type: Eight bit number. USAGE: Contains the inverse of the revision ID which is located in register 0x01. All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission.

OTP_CONFIG Address: 0x51 Type: Device Access: Read/Write Reset Value: 0x00 Bit 7 6543210 Field Reserved Reserved Reserved Reserved Reserved Reserved Reserved OTP_EN Data Type: Bit fi eld. USAGE: OTP commands enable/disable. Refer to OTP programming section. Field Name Description OTP_EN OTP commands 1 = Enabled 0 = Disabled OTP_ADDR Address: 0x52 Type: Device Access: Read/Write Reset Value: 0x00 Bit 76543210 Field OTP_ ADDR7 OTP_ ADDR OTP_ ADDR OTP_ ADDR OTP_ ADDR OTP_ ADDR OTP_ ADDR OTP_ ADDR Data Type: 8-bit number. USAGE: This register is the container of OTP address in OTP read/write command. Refer to OTP programming section. OTP_DATA Address: 0x53 Type: Device Access: Read/Write Reset Value: 0x00 Bit 76543210 Field OTP_ DATA7 OTP_ DATA6 OTP_ DATA OTP_ DATA OTP_ DATA OTP_ DATA OTP_ DATA OTP_ DATA Data Type: 8-bit number. USAGE: This register is the container of OTP data value in OTP read/write command. Refer to OTP programming section. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

OTP_CRTL Address: 0x54 Type: Device Access: Read/Write Reset Value: 0x00 Bit 7 6543210 Field Reserved Reserved Reserved Reserved LOCK_L1 Reserved RD WR Data Type: Bit fi eld. USAGE: This register controls the read, write and lock commands of OTP . The commands are auto clear for status check. Refer to OTP programming section. Field Name Description WR Enable write command to OTP 1 = Write to OTP 0 = Write command is completed RD Enable read command to OTP 1 = Read from OTP 0 = Data is ready to be read from OTP_DATA register LOCK_L1 Enable OTP lock command 1 = Lock OTP space 0 = Lock command is completed OTP_RUNSTAT Address: 0x56 Type: Device Access: Read only Reset Value: Undefi ned Bit 7 6543210 Field Reserved Reserved Reserved Reserved Reserved L1_ CHECKED L1_ LOCKED L1_USED Data Type: Bit fi eld. USAGE: This register shows the OTP run status. Refer to OTP programming section. Field Name Description L1_USED OTP space status 1 = Used 0 = Unused L1_LOCKED OTP space locking status 1 = Locked 0 = Open L1_CHECKED OTP status check 1 = Checked 0 = Unchecked PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

OTP_CTRLSTAT Address: 0x58 Type: Device Access: Read only Reset Value: Undefi ned Bit 7 6543210 Field Reserved Reserved L1_CRC_ OK L1_LOCK_ OK DEVICE_ DONE DEVICE_ RDY WR_ DENIED WR_OK Data Type: Bit fi eld. USAGE: This register shows the OTP control status. Refer to OTP programming section. Field Name Description WR_OK OTP write status 1 = OK 0 = Failed WR_DENIED OTP write access status 1 = Denied 0 = OK L1_LOCK_OK OTP lock status 1 = OK 0 = Failed L1_CRC_OK CRC test status 1 = OK 0 = Failed L1_USE_OTP Address: 0xDF Type: OTP Access: Read/Write Reset Value: 0x00 Bit 7 6543210 Field L1_USE_ OTP7 L1_USE_ OTP L1_USE_ OTP L1_USE_ OTP L1_USE_ OTP L1_USE_ OTP L1_USE_ OTP L1_USE_ OTP Data Type: 8-bit fi eld. USAGE: Bypass OTP confi guration if all bits are zero. MUST write non-zero value to this register to enable OTP operation. Once enabled, all OTP registers must be written as the default values are zero value. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

DPI Address: 0xE0 Type: OTP Access: Read/Write Reset Value: 0x54 Bit 7 6543210 Field Reserved SwapXY INV_X INV_Y Reserved DPI 2 DPI1 DPI0 Data Type: Bit fi eld. USAGE: These registers are used to customize the device’s DPI. Field Name Description SwapXY To swap x and y 0 = no swap 1 = swap INV_X To invert x direction 0 = not inverted 1 = inverted INV_Y To invert y direction 0 = not inverted 1 = inverted DPI Device status 010 = 500 dpi 011 = 750 dpi 100 = 1000 dpi (default) 101 = 1250 dpi Note: Sensor orientation setting by changing bit 6,5 and 4. The SwapXY operation is always performed before INV_X and INV_Y inversion operations. Rotation 0° 90° 180° 270° Bit[6:4] 101 000 110 011 Motion Reporting Direction PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw

VID0 Address: 0xE4 Type: OTP Access: Read/Write Reset Value: 0x2F Bit 7 6543210 Field VID 7 VID6 VID5 VID4 VID3 VID2 VID1 VID0 VID1 Address: 0xE5 Type: OTP Access: Read/Write Reset Value: 0x19 Bit 76543210 Field VID 15 VID14 VID13 VID12 VID11 VID10 VID9 VID8 Data Type: 16-Bit number. USAGE: These registers are used to customize device VID. Default Pixart's VID = 0x192F. OTPLOCK1 Address: 0xE8 Type: OTP Access: Read/Write Reset Value: 0x00 Bit 76543210 Field OTPLOCK1 7 OTPLOCK16 OTPLOCK15 OTPLOCK14 OTPLOCK13 OTPLOCK12 OTPLOCK11 OTPLOCK10 Data Type: 8-bit fi eld. USAGE: Must write 0xFF in this register to lock the OTP confi guration. PID0 Address: 0xE2 Type: OTP Access: Read/Write Reset Value: 0x16 Bit 7 6543210 Field PID 7 PID6 PID5 PID4 PID3 PID2 PID1 PID0 PID1 Address: 0xE3 Type: OTP Access: Read/Write Reset Value: 0x09 Bit 76543210 Field PID 15 PID14 PID13 PID12 PID11 PID10 PID9 PID8 Data Type: 16-Bit number. USAGE: These registers are used to customize device USB PID. Default Pixart's PID = 0x0916. PixArt Imaging Inc. ADNS-2700 Single Chip USB Optical Mouse Sensor All rights strictly reserved any portion in this paper shall not be reproduced, copied or transformed to any other forms without permission. PixArt Imaging Inc. E-mail: fae_service@pixart.com.tw