HT82M35X 3/5-Key 3D PS/2 Optical Mouse Controller Feature · Operating voltage: 4.0V~5.5V · Serial interface with ADNS-5020 · Microsoft 3D Intelli mouse and IBM PS/2 mouse · Auto detect as to which photo sensor is used compatible · 2MHz RC oscillator for system frequency with · Microsoft Windows 2000 and 5-button Wheel mouse external pull-high resistor (140kW) compatible · Interface compliant with ADNS-5020 · Z-axis can support two kinds of scroller input · 16-pin DIP package divided by 2 or 4 (package option) · Supports 500 or 1000 DPI for ADNS-5020 (package option) General Description The HT82M35X are designed as 3/5-key 3D PS/2 optical mouse controller. These have serial interface to access the sensor ADNS-5020 or the same compatible series sensor. Refer to the datasheets for detailed register descriptions of the sensors. Selection Table Part No. Interface X/Y-axis Option Z-axis Option Avago Sensor Opto 500 DPI Divided by 2 Avago Sensor Opto 1000 DPI Divided by 2 Avago Sensor Opto 500 DPI Divided by 4 Avago Sensor Opto 1000 DPI Divided by 4 HT82M35A/HT82M35A-1 HT82M35B/HT82M35B-1 3/5-key 3D PS/2 optical mouse controller HT82M35C/HT82M35C-1 (for Avago ADNS-5020) Package 16 DIP HT82M35D/HT82M35D-1 Pin Assignment 1 1 6 L B 2 1 5 R B 0 Z 2 /A 3 1 4 P S 2 D Z 1 /B 4 1 3 P S 2 C K R B 1 5 1 2 N C O S C 1 S D IO 6 1 1 S C L K 7 1 0 V D D V S S 8 9 R E S H T H T H T H T Rev. 1.00 R O R B 8 2 8 2 8 2 8 2 M 3 M 3 M 3 M 3 5 A 5 B 5 C 5 D 1 6 /H /H /H /H T 8 T 8 T 8 T 8 D IP 1 2 M 2 M 2 M 2 M -A 3 5 3 5 3 5 3 5 A B C D - 1 1 1 1 May 30, 2007 Preliminary HT82M35X Pin Description Pin Name I/O Description RB, RO, LB I Right Button: Normal pull-high resistor (30kW) Rolling Button: Normal pull-high resistor (30kW) Left Button: Normal pull-high resistor (30kW) Z2/A, Z1/B I ²Z² axis input supports three kinds of scroller input Normal pull-high resistor (30kW) RB1, RB0 I Input ports with 30kW pull-high resistor SDIO I/O Serial data for Agilent sensor IC SDIO SCLK O VSS ¾ Negative power supply, ground RES VDD OSCI I Serial data for Agilent sensor IC SCLK Chip reset input, low active ¾ 5V positive power supply I 2MHz RC oscillator for system frequency with external pull-high resistor (140kW) NC ¾ No connection PS2CK I/O PS/2 mouse CLK line PS2D I/O PS/2 mouse data line Absolute Maximum Ratings Supply Voltage ...........................VSS-0.3V to VSS+6.0V Storage Temperature ............................-50°C to 125°C Input Voltage ..............................VSS-0.3V to VSS+6.0V Operating Temperature...........................-40°C to 85°C Note: These are stress ratings only. Stresses exceeding the range specified under ²Absolute Maximum Ratings² may cause substantial damage to the device. Functional operation of this device at other conditions beyond those listed in the specification is not implied and prolonged exposure to extreme conditions may affect device reliability. D.C. Characteristics Symbol VDD Ta=25°C Parameter Operating Voltage Test Conditions VDD Conditions Min. Typ. Max. Unit ¾ fSYS=2MHz 4.0 5.0 5.5 V 5V No load, fSYS=2MHz ¾ 2.5 4 mA IDD Operating Current VIL1 Input Low Voltage for RB, LB, RO, Z1, ¾ Z2, RB1, RB0, SDIO, PS2CK and PS2D ¾ 0 ¾ 0.3VDD V VIH1 Input High Voltage for RB, LB, RO, Z1, ¾ Z2, RB1, RB0, SDIO, PS2CK and PS2D ¾ 0.7VDD ¾ VDD V VIL2 Input Low Voltage for RES ¾ ¾ 0 ¾ 0.4VDD V VIH2 Input High Voltage for RES ¾ ¾ 0.9VDD ¾ VDD V IOL I/O Port Sink Current 5V VOL=0.1VDD 10 20 ¾ mA IOH I/O Port Source Current 5V VOL=0.9VDD -2 -4 ¾ mA RPH Pull-high Resistance for RB, LB, RO, Z1, 5V Z2, RB1, RB0, SDIO, PS2CK and PS2D ¾ 10 30 50 kW Rev. 1.00 2 May 30, 2007 Preliminary HT82M35X A.C. Characteristics Symbol Ta=25°C Test Conditions Parameter VDD Conditions Min. Typ. Max. Unit tWDTOSC Watchdog Oscillator Period 5V ¾ 32 65 130 ms tWDT1 Watchdog Time-out Period 5V Without WDT prescaler 8 17 33 ms tRES External Reset Low Pulse Width ¾ ¾ 1 ¾ ¾ ms Functional Description PS/2 Mouse X- movement towards the right is positive, moving towards the left is negative · PS/2 status byte Y- upward movement is positive, moving down is negative Byte 1 bit 7: Reserved 6: 0=Stream Mode, 1=Remote Mode 5: 0=Disabled, 1=Enabled 4: 0=Scaling 1:1, 1=Scaling 2:1 3: 1=Wrap Mode, 0=Stream or Remote (different from IBM specs.) 2: 1=Left Button Pressed 1: 1=Middle Button Pressed 0: 1=Right Button Pressed Byte 2 Bit 0~7 current resolution setting (Bit 0=LSB) Byte 3 Bit 0~7 current sampling rate (Bit 0=LSB) Z- rolling towards the user is positive, else negative Button status: 1=pressed, 0=released · Mouse mode changes between Standard and 3D PS/2 mode Sending the commands in the following sequence will set the mouse to 3D PS/2 mode. Command · Standard PS/2 data format Variable rps, 0, 8, 1, bidirectional, synchronous Bit No. 7 6 5 4 3 1 2 1 F3h FAh C8h FAh F3h FAh 64h FAh F3h FAh 50h FAh F2h FAh, 03h 0 MB RO LB Response From Mouse 1st word YV XV YS XS 2nd word X7 X6 X5 X4 X3 X2 X1 X0 · Mouse mode changes between Standard and Win2K 3rd word Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 PS/2 mode. Sending the commands in the following sequence will set the mouse to Win2K PS/2 mode. · Data format for 3D PS/2 Variable rps, 0, 8, 1, bidirectional, synchronous Bit No. 7 6 5 4 3 2 1 Command 0 Response From Mouse F3h FAh C8h FAh Y0 F3h FAh Z0 C8h FAh The x/y data report is 9-bit 2¢s complement F3h FAh The z data report is 8-bit 2¢s complement 50h FAh F2h FAh, 04h 1st word YV XV YS XS 1 MB RO LB 2nd word X7 X6 X5 X4 X3 X2 X1 X0 3rd word Y7 Y6 Y5 Y4 Y3 Y2 Y1 4th word Z7 Z6 Z5 Z4 Z3 Z2 Z1 · Data format for 5-button Wheel Mouse Bit No. 7 6 1st word 0 0 2nd word X7 X6 X5 X4 X3 X2 X1 X0 3rd word Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 4th word 0 0 RB1 RB0 Z3 Z2 Z1 Z0 Rev. 1.00 5 4 YS XS 3 1 2 1 0 ¨ Any time the PC sends a reset ²FFh² command to the mouse, it will reset the mouse to Standard PS/2 mode. ¨ After power-on reset is initiated, the mouse is set to Standard PS/2 mode. MB RO LB 3 May 30, 2007 Preliminary HT82M35X Timing Diagrams Z-Axis Photo-coupler Cross Width Z 1 Z 2 tp tr N o te : F o r Z - a x is tf tr, tp , tf > 1 m s Z-Axis Counting Z 1 Z 2 + 1 + 1 -1 -1 PS/2 Mouse · Data output (1 ) (3 ) (3 ) 1 s t C L K C L K T 3 D A T A (3 ) (3 ) 1 0 th C L K (4 ) 1 1 th C L K T 6 (5 ) T 5 T 4 (7 ) T 2 T 1 (2 ) 2 n d C L K S ta r t B it B it 0 P a r ity B it S to p B it (6 ) T im in g P a r a m e te r M in ./M a x . T 1 D A T A tr a n s itio n to th e fa llin g e d g e o f C L K 5 /2 5 m s e c T 2 R is in g e d g e o f C L K to D A T A tr a n s itio n 5 /T 4 -5 m s e c T 3 In a c tiv e C L K D u r a tio n 3 0 /5 0 m s e c T 4 A c tiv e C L K D u r a tio n M in im u m tim e to in h ib it M O U S E a fte r c lo c k 1 1 3 0 /5 0 m s e c > 0 m s e c M a x im u m tim e to in h ib it M O U S E a fte r c lo c k 1 1 to e n s u r e th a t th e M O U S E d o e s n o t s ta r t a n o th e r tr a n s m is s io n < 5 0 m s e c T 5 T 6 · Data input (1 ) (2 ) I/O In h ib it C L K (4 ) 1 s t C L K 2 n d C L K T 7 1 0 th C L K 9 th C L K (8 ) T 8 T 9 D A T A S ta r t B it (3 ) Rev. 1.00 1 1 th C L K (6 ) B it 0 P a r ity B it (5 ) (5 ) S to p B it (7 ) T im in g P a r a m e te r M in ./M a x . T 7 C L K D u r a tio n , lo w 3 0 /5 0 m s e c T 8 C L K D u r a tio n , h ig h 3 0 /5 0 m s e c T 9 T im e fr o m lo w to h ig h C L K tr a n s itio n to tim e w h e n M O U S E s a m p le s D A T A lin e 5 /2 5 m s e c 4 May 30, 2007 Preliminary HT82M35X Application Circuits 2D PS/2 Optical Mouse for ADNS-5020 V D D 1 0 0 m F 4 7 0 p F J 1 D A C V G G C O 6 8 W 1 T A L K D D N D N D N 5 4 .7 k W 1 0 0 W 4 .7 k W L E D 4 7 0 p F 2 3 R 4 5 S W 2 U 1 P A P A P A P A P B P B P B V S 1 2 L 3 S W 4 4 5 6 7 8 6 8 W P A 4 /M P A 5 /R B B P A 6 /P S 2 1 P A 7 /P S 2 C 2 O S C B 1 P D O S C P C K V D R E 3 /R 2 /L 1 /Z 0 /Z 2 /R 1 /H 0 /H S 1 6 B B 0 D S W 3 1 1 4 2 1 3 K 1 2 2 3 1 1 1 D M 1 5 1 4 0 k W 4 7 k W 1 0 9 S H T 8 2 M 3 5 X 4 0 .1 m F 4 .7 k W 4 .7 k W S C L K X Y _ L E D R E G 0 N R E S E T G N D N C S D IO D E 0 .1 m F S D IO 8 7 3 m F 6 0 .1 m F 0 .1 m F 5 V D D 5 4 .7 m F A D N S -5 0 2 0 S D IO S C L K 3D PS/2 Optical Mouse for ADNS-5020 V C J 1 D A C V G G C O 1 0 0 m F E n c o d e r A 4 7 0 p F B 1 T A L K D D N D N D N 5 D D 6 8 W 1 0 0 W L E D 4 7 0 p F 2 3 S W 2 R 4 U 1 P A P A P A P A P B P B P B V S 1 2 L 5 S W 4 3 4 5 6 7 8 6 8 W P A 4 /M P A 5 /R B P A 6 /P S 2 1 P A 7 /P S 2 C 2 O S C B 1 P D O S C P C K V D R E 3 /R 2 /L 1 /Z 0 /Z 2 /R 1 /H 0 /H S B 1 6 B B D 1 5 0 S S W 3 1 1 4 2 1 3 K 1 2 2 1 1 1 D M 1 0 9 H T 8 2 M 3 5 X 3 1 4 0 k W 4 7 k W 4 0 .1 m F 4 .7 k W 4 .7 k W S C L K X Y _ L E D R E G 0 N R E S E T G N D N C S D IO D E 0 .1 m F S D IO 8 7 3 m F 6 0 .1 m F 0 .1 m F 5 V D D 5 4 .7 m F A D N S -5 0 2 0 S D IO S C L K Win2K PS/2 Optical Mouse for ADNS-5020 V C J 1 D A C V G G C O T A L K D D N D N D N 5 1 0 0 m F E n c o d e r A 1 D D 4 7 0 p F B 6 8 W 1 0 0 W L E D 4 7 0 p F 2 3 4 R 5 S W 2 1 2 L S W 4 3 4 B 5 5 S W 6 6 7 8 U 1 P A P A P A P A P B P B P B V S 6 8 W 3 /R 2 /L 1 /Z 0 /Z 2 /R 1 /H 0 /H S B P A 4 /M P A 5 /R B P A 6 /P S 2 1 P A 7 /P S 2 C 2 O S C B 1 P D O S C P C K V D R E B H T 8 2 M 3 5 X 1 6 M B 1 5 B 4 0 1 4 D 1 3 K 1 2 2 1 1 1 1 0 D 9 S S W 3 S W 5 1 2 3 1 4 0 k W 4 7 k W 0 .1 m F D IO D E 0 .1 m F 4 S D IO S C L K X Y _ L E D R E G 0 N R E S E T G N D N C S V D D 5 8 7 3 m F 5 6 0 .1 m F 0 .1 m F 4 .7 m F A D N S -5 0 2 0 S D IO S C L K Rev. 1.00 5 May 30, 2007 Preliminary HT82M35X Package Information 16-pin DIP (300mil) Outline Dimensions A B 1 6 9 8 1 H C D a G E I F Symbol Rev. 1.00 Dimensions in mil Min. Nom. Max. A 745 ¾ 775 B 240 ¾ 260 C 125 ¾ 135 D 125 ¾ 145 E 16 ¾ 20 F 50 ¾ 70 G ¾ 100 ¾ H 295 ¾ 315 I 335 ¾ 375 a 0° ¾ 15° 6 May 30, 2007 Preliminary HT82M35X Holtek Semiconductor Inc. (Headquarters) No.3, Creation Rd. II, Science Park, Hsinchu, Taiwan Tel: 886-3-563-1999 Fax: 886-3-563-1189 http://www.holtek.com.tw Holtek Semiconductor Inc. (Taipei Sales Office) 4F-2, No. 3-2, YuanQu St., Nankang Software Park, Taipei 115, Taiwan Tel: 886-2-2655-7070 Fax: 886-2-2655-7373 Fax: 886-2-2655-7383 (International sales hotline) Holtek Semiconductor Inc. (Shanghai Sales Office) 7th Floor, Building 2, No.889, Yi Shan Rd., Shanghai, China 200233 Tel: 86-21-6485-5560 Fax: 86-21-6485-0313 http://www.holtek.com.cn Holtek Semiconductor Inc. (Shenzhen Sales Office) 5/F, Unit A, Productivity Building, Cross of Science M 3rd Road and Gaoxin M 2nd Road, Science Park, Nanshan District, Shenzhen, China 518057 Tel: 86-755-8616-9908, 86-755-8616-9308 Fax: 86-755-8616-9722 Holtek Semiconductor Inc. (Beijing Sales Office) Suite 1721, Jinyu Tower, A129 West Xuan Wu Men Street, Xicheng District, Beijing, China 100031 Tel: 86-10-6641-0030, 86-10-6641-7751, 86-10-6641-7752 Fax: 86-10-6641-0125 Holtek Semiconductor Inc. (Chengdu Sales Office) 709, Building 3, Champagne Plaza, No.97 Dongda Street, Chengdu, Sichuan, China 610016 Tel: 86-28-6653-6590 Fax: 86-28-6653-6591 Holtek Semiconductor (USA), Inc. (North America Sales Office) 46729 Fremont Blvd., Fremont, CA 94538 Tel: 1-510-252-9880 Fax: 1-510-252-9885 http://www.holtek.com Copyright Ó 2007 by HOLTEK SEMICONDUCTOR INC. The information appearing in this Data Sheet is believed to be accurate at the time of publication. However, Holtek assumes no responsibility arising from the use of the specifications described. The applications mentioned herein are used solely for the purpose of illustration and Holtek makes no warranty or representation that such applications will be suitable without further modification, nor recommends the use of its products for application that may present a risk to human life due to malfunction or otherwise. Holtek¢s products are not authorized for use as critical components in life support devices or systems. Holtek reserves the right to alter its products without prior notification. For the most up-to-date information, please visit our web site at http://www.holtek.com.tw. Rev. 1.00 7 May 30, 2007