PAW3504 PAW3504 PURE USB OPTICAL MOUSE SINGLE CHIP General Description The PAW3504 is a CMOS process optical mouse sensor single chip with USB interface that serves as a nonmechanical motion estimation engine for implementing a computer mouse. Features Key Specification USB interface Single power supply Optical motion estimation technology Complete 2-D motion sensor Accurate motion estimation over a wide range of surfaces High speed motion detection up to 28 inches/sec Power saving movement mode during times of Power Supply Wide operating supply range 4.25V ~ 5.5V Interface USB Optical Lens 1:1 System Clock 24.000 MHz no Speed Acceleration Supports three buttons (R, M, L) and three axes (X, Y, Z) output Resolution Z-axis support mechanical input (Z/2) Frame Rate Reduce jiggle happen 28 inches/sec 20g 800 CPI 3000 frames/sec 10mA @Mouse moving (Normal) USB spec. Operating Current 5mA @Mouse not moving (Sleep) 480uA @USB suspend (Suspend) ¾ Complete Universal Serial Bus specs V1.1 compatibility Package Shrunk DIP14 ¾ Complete USB HID specs V1.11 compatibility ¾ Integrated USB transceiver and 1.5Mbps USB serial interface engine Ordering Information Part Number CPI PAW3504DLY 800 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] 1 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 1. Pin Configuration 1.1 Pin Description Pin # Name Type Definition 1 OSCIN IN Oscillator input, connected to resonator or resistor 2 BL IN Button left key input, normal pull-high (50k), press connect to low 3 LED OUT LED control 4 VDDQ BYPASS I/O voltage reference 5 VSS GND Chip ground 6 VDD5V PWR Chip power VDD, 5.0V 7 VDDA BYPASS Analog voltage reference 8 D+ I/O USB D+ 9 D- I/O USB D- 10 BR IN Button right key input, normal pull-high (50k), press connect to low 11 BM IN Button middle key input, normal pull-high (50k), press connect to low 12 Z2 IN Z axis, support mechanical scroller input 13 Z1 IN Z axis, support mechanical scroller input 14 OSCOUT OUT Oscillator output, connected to resonator 1.2 Pin Assignment 1 14 2 13 3 12 4 11 5 10 6 9 7 8 LB RB 1 14 7 8 +Y +X Figure 1. Top View Pinout Figure 2. Top View of Mouse 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 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 2. Block Diagram and Operation POWER ON RESET VOLTAGE REGULATOR AND POWER CONTROL LED LED DRIVE CMOS IMAGE SENSOR Z1 WHEEL Z2 Z-AXIS COUNTER BL BUTTON BM DEBOUNCE DIGITAL SIGNAL PROCESSOR BR USB INTERFACE D+ D- VDD5V VSS VDDA VDDQ OSCIN OSCILLATOR USB MOUSE CONTROLLER 5V POWER VOLTAGE REFERENCE 24 MHZ RESONATOR OSCOUT Figure 3. Block Diagram The PAW3504 supports X, Y, Z three axes, and L, R, M three buttons under USB mode. It is a CMOS process optical mouse sensor single chip with USB interface that serves as a non-mechanical motion estimation engine for implementing a computer mouse. The PAW3504 is in a 14-pin optical package and comes with the resolution of 800 counts per inch (CPI) and the rate of motion up to 28 inches per second. It includes USB interface so that no mouse controller is needed to interface through USB. The PAW3504 can receive command and echo status or data format, both complete Universal Serial Bus® spec V1.1 and USB HID spec V1.11 compatibility. It is also a cost effective solution to support USB Mouse. 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 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 3. Specifications 3.1 Absolute Maximum Ratings Exposure to absolute maximum rating may affect device reliability. Symbol Parameter Min. Max. Unit Notes TSTG Storage Temperature -40 85 °C TA Operating Temperature -15 55 °C 260 °C For 10 seconds, 1.6 mm below seating plane. 2 kV All pins, human body model MIL 883 Method 3015 -0.5 5.5 V -0.5 5.5 V Z1, Z2 -0.5 4.0 V BL, BR, BM Lead Solder Temp ESD VDC DC Supply Voltage VIN DC Input Voltage 3.2 Recommend Operating Condition Symbol Parameter Min. Typ. TA Operating Temperature 0 VDD Power Supply Voltage 4.25 VN Supply Noise Z Distance from Lens Reference Plane to Surface 2.3 2.4 R Resolution 400 800 A Acceleration FCLK Clock Frequency FR Frame Rate S Speed 5.0 Max. Unit 40 °C 5.5 V 100 mV Peak to peak within 0 - 80 MHz 2.5 mm Refer to Figure 4. CPI 20 0 Notes g 24 MHz 3000 frames/sec 20 28 inches/sec 28 inches/sec @400CPI 20 inches/sec @800CPI 3.3 AC Electrical Characteristics Electrical characteristics over recommended operating conditions. Typical values at 25 °C, VDD = 5.0 V, FCLK = 24 MHz Symbol Parameters Tb Tz Mouse Button Debounce Time Mouse Z Debounce Time Min. Typ. Max. Unit - 10.24 1.024 - ms ms 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] Notes 4 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 3.4 DC Electrical Characteristics Electrical characteristics over recommended operating conditions. Typical values at 25 °C, VDD =5.0 V, FCLK=24 MHz. Symbol Parameter Type: USB Mouse PWR Supply Current IDD Mouse moving (Normal) Supply Current IDD Mouse not moving (Sleep) Supply Current IDD USB suspend current Type: BL, BM, BR Min. Typ. Max. Unit - 10 - mA - 5 - mA - - 480 uA - 50 - Kohm RPH Internal Pull Up Resistance VIH Input High Voltage 2.0 - - V VIL Input Low Voltage - - 0.8 V Notes Type: Z1, Z2 RPD Internal Pull Down Resistance - 50 - Kohm VIH Input High Voltage 2.0 - - V VIL Input Low Voltage - - 0.8 V -20% 1.5 2.1 - - 0.5 V V - 3.3 - V Type: USB DP, DN Internal Pull Up Resistance RPH (USB Spec 5%) Type: OSCIN VIH Input High Voltage VIL Input Low Voltage +20% Kohm When driving from an external source When driving from an external source Type: VDDQ VDDQ I/O Voltage Reference 3.5 Button and Z-Wheel Debounce Timing Buttons and Z wheel of PAW3504DLY include detect and debounce function which are hardware implement. When press button input signals need keeping low level up to 9.216ms. Button function just can catch data otherwise debounce function will judge it is bounce issue. When scroll Z wheel input signals need keeping turning level up to 0.896ms. Z wheel function just can catch data otherwise debounce function will judge it is bounce issue. And the hardware sample rate is 2us so if bounce time is less than 2us the debounce function will ignore it. Following the below specifications Buttons and Z wheel will work normally. 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] 5 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 4. Z and 2D/3D Assembly Package Lid Lens Z OBJECT SURFACE Figure 4. Distance from Lens Reference Plane to Surface Figure 5. 2D Assembly 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] 6 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip Figure 6. 3D Assembly for Mounting Instructions 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 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 5. USB Interface 5.1 USB Command Set Description (USB Descriptor) The USB HOST detects USB mouse device plug-in and assigns a new unique address to the USB mouse device, then asking USB mouse device for information about the device description, configuration description, and assigning a configuration value for USB mouse device during enumeration period. After enumeration, the USB mouse device is able to transfer motion and button value to the USB host. Descriptor Type Device Descriptor (18 bytes) Configuration Descriptor (9 bytes) Interface Descriptor (9 bytes) Human Interface Device Descriptor (9 bytes) Endpoint Descriptor (7 bytes) Human Interface Device Report Descriptor (62 bytes, 3D3B) Language String Descriptor (4 bytes) Manufacture String Descriptor Product String Descriptor Configuration String Descriptor Byte Byte Byte 12 01 10 3A 09 10 00 01 09 02 22 32 09 04 00 00 09 21 10 00 07 05 81 05 01 09 19 01 29 95 03 75 75 05 81 A1 00 09 25 7F 75 C0 09 38 08 95 01 04 03 09 PIXART USB OPTICAL MOUSE HID-compliant MOUSE Byte 01 25 Byte 00 00 Byte 00 01 Byte 00 01 Byte 08 02 00 01 01 04 A0 00 01 03 01 02 01 00 01 22 3E 03 02 03 01 03 30 08 15 81 04 04 A1 15 81 05 09 95 81 06 00 01 00 02 01 31 02 25 C0 0A 05 25 95 09 15 81 7F 09 01 01 01 81 06 75 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 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 5.2 USB Data Report Format The USB report has two data formats, depending on boot or report protocol is selected. One kind of data format is the boot protocol used in legacy environment as 5.2.1. The other kind of data format is USB report protocol format which includes Z-wheel movement data in the fourth byte as 5.2.2. The Z-wheel is moved forward the fourth byte data is 01H, the Z-wheel is moved backward the fourth byte data is FFH, and the Z-wheel is idle the fourth byte data is 00H. 5.2.1 USB Boot Protocol for Legacy Operation Byte 1 Bit 0 1 2 3~7 2 0-7 3 0-7 Symbol BL BR BM NC Description 1 = Left button pressed 1 = Right button pressed 1 = Middle button pressed Reserved X data (D0 - D7). A positive value indicates motion to the right; a negative value X0 ~ X7 indicates motion to the left. Bit 0 = LSB. Y data (D0 - D7). A positive value indicates device motion upward; a negative Y0 ~ Y7 value indicates motion downward. Bit 0 = LSB. 5.2.2 USB Report Protocol Byte 1 Bit 0 1 2 3 4 5~7 2 0-7 3 0-7 4 0-7 Symbol BL BR BM B4 B5 NC Description 1 = Left button pressed 1 = Right button pressed 1 = Middle button pressed Reserved Reserved Reserved X data (D0 - D7). A positive value indicates motion to the right; a negative value X0 ~ X7 indicates motion to the left. Bit 0 = LSB. Y data (D0 - D7). A positive value indicates device motion upward; a negative Y0 ~ Y7 value indicates motion downward. Bit 0 = LSB. Z-wheel motion data (D0 - D7). A positive value indicates device motion Z0 ~ Z7 downward; a negative value indicates motion upward. The Z0 - Z7 limit value is ±7. Bit 0 = LSB. 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 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 6. Referencing Application Circuit Y1 24Mhz VDD_5V_10R U1 *R3 OPEN VDD_5V R1 1 BL D1 LED *R2 VDD_5V R6 3 OPEN + C4 2 4 1uF 5 VDD_5V_10R 6 10 ohm 7 C1 ENSW1 OSCIN OSCOUT BL Z1 LED Z2 VDDQ BM VSS BR VDD5V D- VDDA D+ 14 + Z1 13 Z2 COM C5 0.1uF 12 11 BM 10 BR C2 10uF 33 ohm 8 R5 33 ohm C7 PAW3504 1uF 27pF JP1 VBUS Shield R4 C6 + GND 9 C3 0.1uF VDD_5V DD+ USB CABLE 27pF Note: 1. 2. 3. 4. *R2 is left for PAN3401 with PS/2 interface *R3 is left for PAN3502 RC Oscillator R4,R5,C6,C7 are for EMCimmunity USB cable connector JP1 is suggested to has the pin sequence like this: VBUS, GND, Shield, D-, D+ Figure 7. Application Circuit for PAW3504 6.2 PCB Layout Guideline The following guidelines apply to component placement and routing on the PCB. That will get an optimum EMC solution and tracking performance. 6.2.1 Key Components Placement Rules 1. Place resonator (Y1) near SENSOR pin1 and pin 14. 2. Place bulk capacitor (C2) and bypass (C5) near the USB CABLE. 3. Place C1 and C3 near SENSOR pin 6 and pin 7. 4. The C6/C7 and R4/R5 should be placed as close to the USB CABLE. 6.2.2 Routing Rules 1. Caps for pins 4, 6, 7 trace length must be less than 5 mm. 2. The trace length of OSCOUT, OSCIN must be less than 10 mm. 3. Other general rules refer file”PAW3504DLY PCB Layout Guide” 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 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 6.3 Recommended Value for R1 Radiometric intensity of LED Bin limits (mW/Sr at 20mA) LED Bin Grade Min Typ Max Unit N 14.7 - 17.7 mW/Sr P 17.7 - 21.2 mW/Sr Q 21.2 - 25.4 mW/Sr Note: Tolerance for each bin will be ± 15% R1 value (ohm), VDD =5.0V LED Bin Grade Min Typ Max Unit N 56.2 100 - ohm P 56.2 100 - ohm Q 56.2 100 - ohm 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 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 7. Package Information 7.1 Package Outline Drawing 14 13 12 11 10 9 8 1 2 3 4 5 6 7 13.208 0.520 10.16 0.400 3.20 0.126 1.02 0.040 1.42 0.056 5.08 0.200 0.254 0.010 0.457 0.018 1.778 0.070 Max. 12 7.874 0.310 6.604 0.260 1 2 3 14.22 +/- 0.2 0.560 +/-0.0079 5.334 0.210 4.064 0.160 4 5 6 7 5.080 0.200 NOTES: 4.55 0.179 14 13 12 11 10 9 5.6 0.220 1. All dimensions in MM/INCH. 2. All dimensions tolerance: +/- 0.10mm 3. Maxmumflash: +0.2mm 8 0.80 0.031 Figure 8. Package Outline Drawing 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 V1.0 June. 2008 PixArt Imaging Inc. PAW3504 Pure USB Optical Mouse Sensor Single Chip 7.2 Recommended PCB Mechanical Cutouts and Spacing 16.942 0.667 4.064 0.160 1.778 0.070 1 2 3 4 6 5 9.068 0.357 12.877 0.507 7 10.221 0.402 6.985 0.275 7.544 0.297 8.89 0.350 0.711 0.028 14 13 12 11 10 9 1.19 0.047 8 27.94 1.100 0.711 0.028 3.251 0.128 All Dimension : mm/inch Back Side Figure 9. Recommended PCB Mechanical Cutouts and Spacing 8. Update History Version V1.0 Update Creation, Preliminary 1st version Date 06/09/2008 Note: The Part No. of the Mouse Product with Prefix "PAN" shall NOT be made, sold, offered to sell, imported or used in or into USA, Canada, Japan and EU. For "PAN", PixArt has only gained territory-limited patent license from Avago. Avago reserve right to take legal action against our customers who fails to comply the above term. PLEASE NOTE THAT PixArt will NOT defend, indemnify, or provide any assistance to our customers who fail to comply the term. IF YOU DO NOT AGREE THE TERM, PIXART WILL NOT DELIVER "PAN" PRODUCTS TO YOU. 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 V1.0 June. 2008