HT82M398A WIN2000 3D PS/2 Mouse Controller Features · · · · Compatible with Microsoft Windows 2000 and 5-button Wheel Mouse Compatible with Microsoft Intelli 3D PS/2 and IBM PS/2 mouse Supports rolling buttons in PS/2 mouse mode X/Y axis photo input with built-in Holtek¢s special dynamic photo-input resistor · · · · Supports three buttons and three axes (X, Y, Z) inputs Z axis can support two kinds of scroller input (optomechanical and mechanical) 2MHz RC oscillator for system frequency with external pull-high resistor 16-pin DIP package General Description The HT82M398A is a Plug and Play WIN2000 and 5-button 3D PS/2 mouse controller. It is also compatible with Microsoft Intelli 3D PS/2 and IBM PS/2 mouse. The Z axis can support two kinds of scroller input, namely; mechanical and optomechanical. Pin Assignment Z 1 1 1 6 Y 2 Z 2 2 1 5 Y 1 V D D 3 1 4 X 2 B 5 4 1 3 X 1 V S S 5 1 2 B 4 O S C I 6 1 1 L B C L K 7 1 0 R 0 D A T A 8 9 R B H T 8 2 M 3 9 8 A 1 6 D IP 1 February 22, 2000 HT82M398A Pin Description Pin No. Pin Name I/O Description 1, 2 Z1, Z2 I Z, axis input supports two kinds of scroller input, namely; optomechanical and mechanical. 3 VDD ¾ Positive power supply 4 B5 I Button 5, normal pull-low (50kW), Press connect to high. 5 VSS ¾ Negative power supply 6 OSCI I 2MHz RC oscillator for system frequency with external pull-high resistor and built-in Capacitor. 7 CLK I/O CLK I/O, PS/2 mouse CLK line. NMOS open drain output with 5kW pull-high resistor. 8 DATA I/O DATA I/O, PS/2 mouse DATA line. NMOS open drain output with 5kW pull-high resistor. 9~11 RB, RO, LB I Right Button: Normal pull-low (50kW), Pressing the button connects to high. Rolling Button: Normal pull-low (50kW), Pressing the button connects to high. Left Button: Normal pull-low (50kW), Pressing the button connects to high. 12 B4 I Button 4, normal pull-low (50kW), Press connect to high. 13~16 X1, X2, Y1, Y2 I X/Y axis photo input with built-in Holtek¢s special dynamic photo input resistor Absolute Maximum Ratings Supply Voltage..............................-0.3V to 6.5V Storage Temperature.................-50°C to 125°C Input Voltage .................VSS-0.3V to VDD+0.3V Operating Temperature ..............-25°C to 70°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. 2 February 22, 2000 HT82M398A Electrical Characteristics Symbol Ta=25°C Test Conditions Parameter VDD Conditions ¾ VDD Operating Voltage ¾ IOP Operating Current 5V fOSC RC Oscillator 5V VIL1 Input Low Voltage (Z1, Z2) 5V VIH1 Input High Voltage (Z1, Z2) VIL2 Min. Typ. Max. Unit 4.5 5.0 5.5 V ROSC=120kW ¾ ¾ 15 mA ROSC=120kW 1.6 2 2.2 V ¾ 0 ¾ 1.5 V 5V ¾ 2.2 ¾ 5 V Input Low Voltage (CLK, DATA) 5V ¾ 0 ¾ 0.8 V VIH2 Input High Voltage (CLK, DATA) 5V ¾ 2.0 ¾ 5.0 V RPH2 Pull-high Resistor (CLK, DATA) 5V VIL=0V 2 5 10 kW Isink Sink Current (CLK, DATA) 5V VOH=0.4V 4 ¾ ¾ mA VIL3 Input Low Voltage (RB, Ro, LB) 5V ¾ 0 ¾ 1.0 V VIH3 Input High Voltage (RB, Ro, LB) 5V ¾ 1.8 ¾ 5 V RPL3 Pull-low Resistor (RB, Ro, LB) 5V 3.0 60 125 kW VIL4 Input Low Voltage (X1,X2,Y1,Y2) 5V ¾ 0 ¾ 1.5 V VIH4 Input High Voltage (X1, X2, Y1, Y2) 5V ¾ 2.2 ¾ 5 V RPL5 Dynamic Photo-resistor (X1, X2, Y1, Y2, Z1, Z2) 5V ¾ VIL=0V See Dynamic resistor characteristics Dynamic resistor characteristics · R-V curve Photo_R: R-V R V 3 February 22, 2000 HT82M398A Functional Description · Data format for 5-button Wheel Mouse PS/2 mouse Bit No. 7 6 Byte 1 1st word 0 0 bit 2nd word X7 X6 X5 X4 X3 X2 X1 X0 7: Reserved 3rd word Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 6: 0=Stream Mode, 1=Remote Mode 4th word · PS/2 status byte 5: 0=Disabled, 1=Enabled 0 0 5 4 YS XS 3 2 1 0 1 M R L B5 B4 Z3 Z2 Z1 Z0 X movement towards the right is positive, moving towards the left is negative 4: 0=Scaling 1:1, 1=Scaling 2:1 3: 1=Wrap Mode, 0=Stream or Remote (different from IBM specs.) Y upward movement is positive, moving down is negative 2: 1=Left Button Pressed 1: 1=Middle Button Pressed Z rolling towards the user is positive, else negative 0: 1=Right Button Pressed Button status: 1=pressed, 0=released Byte 2 · 5-button Wheel Mouse Mode follows the Bit 0~7 current resolution setting (Bit 0=LSB) 5-button Activation Method of Windows 2000 and the 5-button Wheel Mouse Specification. ¨ 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. Byte 3 Bit 0~7 current sampling rate (Bit 0=LSB) · Standard PS/2 data format Variable rps, 0, 8, 1, bidirectional, synchronous Bit No. 1st word 7 6 5 4 YV XV YS XS 3 2 1 0 1 M R L 2nd word X7 X6 X5 X4 X3 X2 X1 X0 3rd word Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 · Data format for 3D PS/2 Variable rps, 0, 8, 1, bidirectional, synchronous Bit No. 7 6 1st word 0 0 5 4 YS XS 3 2 1 0 1 M R L 2nd word X7 X6 X5 X4 X3 X2 X1 X0 3rd word Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 4th word Z7 Z6 Z5 Z4 Z3 Z2 Z1 Z0 The x/y data report is 9-bit 2¢s complement The z data report is 8-bit 2¢s complement 4 February 22, 2000 HT82M398A Timing Diagrams X, Y axis photo-coupler cross width X 1 (Y 1 ) X 2 (Y 2 ) tp tr tf tr, tp , tf > 2 0 m s X/Y/Z axis counting X 1 X 2 + 1 + 1 + 1 + 1 -1 -1 -1 -1 Z 1 Z 2 + 1 + 1 -1 -1 5 February 22, 2000 HT82M398A 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 ) T 6 1 1 th C L K (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 T 5 T 6 > 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 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 · 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 1 1 th C L K S ta r t B it (3 ) (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 6 February 22, 2000 HT82M398A Application Circuits HT82M398A Z axis optomechanical (this application circuit is for reference only) V C C 0 .1 m F IR 1 2 0 k W IR 1 .5 k W 1 2 3 4 5 6 7 C L K 8 D A T A Z 1 Y 2 Z 2 Y 1 V D D X 2 B 5 X 1 V S S B 4 O S C I L B C L K R o D A T A R B 1 6 1 5 1 4 1 3 1 2 S 4 1 1 S 1 1 0 S 2 9 S 3 IR 1 .5 k W H T 8 2 M 3 9 8 A S 5 HT82M398A Z axis mechanical (this application circuit is for reference only) V C C 0 .1 m F 1 2 0 k W IR E n c o d e r E V Z V X C 0 0 1 1 2 B 1 2 3 4 5 6 C L K D A T A S 5 8 7 Z 1 Y 2 Z 2 Y 1 V D D X 2 B 5 X 1 V S S B 4 O S C I L B C L K R o D A T A R B 1 6 1 5 1 4 1 3 1 2 S 4 1 1 S 1 1 0 S 2 9 S 3 IR 1 .5 k W H T 8 2 M 3 9 8 A 7 February 22, 2000 HT82M398A Holtek Semiconductor Inc. (Headquarters) No.3 Creation Rd. II, Science-based Industrial Park, Hsinchu, Taiwan, R.O.C. Tel: 886-3-563-1999 Fax: 886-3-563-1189 Holtek Semiconductor Inc. (Taipei Office) 5F, No.576, Sec.7 Chung Hsiao E. Rd., Taipei, Taiwan, R.O.C. Tel: 886-2-2782-9635 Fax: 886-2-2782-9636 Fax: 886-2-2782-7128 (International sales hotline) Holtek Semiconductor (Hong Kong) Ltd. RM.711, Tower 2, Cheung Sha Wan Plaza, 833 Cheung Sha Wan Rd., Kowloon, Hong Kong Tel: 852-2-745-8288 Fax: 852-2-742-8657 Copyright Ó 2000 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 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. 8 February 22, 2000