Datasheet HT82M39A Datasheet (Holtek Semiconductor Inc)

Page 1
3D PS/2 Mouse Controller

Feature

Microsoft Intelli 3D PS/2 and IBM PS/2
·
mouse compatible 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 axis (X,
·
Y, Z) inputs

General Description

The HT82M39A is a Plug and Play PS/2 3D mouse controller. It is compatible with Microsoft Intelli 3D PS/2 mouse. The Z axis can

Pin Assignment

HT82M39A
Z axis can support two kinds of scroller input
·
(optomechanical and mechanical) 2MHz RC oscillator for system frequency
·
with an external pull-high resistor 16-pin DIP
·
support two kinds of scroller input, namely; optomechanical and mechanical.
Z1
Z2
VDD
NC
VSS
OSCI
CLK
DATA
16
1
15
2
14
3
13
4
12
5
11
6
10
7
9
8
H T82M 39A
16 D IP
Y2
Y1
X2
X1
TEST
LB
R0
RB
1 August 5, 1999
Page 2
HT82M39A

Pin Description

Pin No. Pin Name I/O Description
1, 2 Z1, Z2 I
3 VDD I Positive power supply pin
4 NC No connection
5 VSS I Negative power supply pin
6 OSCI I
7 CLK I/O
8 DATA I/O
9~11 RB, RO, LB I
12 TEST I For IC manufacture testing, user should leave it floating.
13~16 X1, X2, Y1, Y2 I
²Z² axis input supports two kinds of scroller input; optomechanical and mechanical.
2MHz RC oscillator for system frequency with external pull-high resistor and built-in C
²CLK I/O²: PS/2 mouse CLK line. NMOS open drain output with 5kW pull-high resistor.
²DATA I/O²: PS/2 mouse DATA line. NMOS open drain output with 5kW pull-high resistor.
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.
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
Input Voltage.................V
Note: These are stress ratings only. Stresses exceeding the range specified under ²Absolute Maxi-
mum 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 expo sure to extreme conditions may affect device reliability.
-0.3V to VDD+0.3V
SS
Storage Temperature.................-50°Cto125°C
Operating Temperature ..............-25°Cto70°C
2 August 5, 1999
-
Page 3
HT82M39A

Electrical Characteristics

Symbol Parameter
V
DD
I
OP
f
OSC
V
IL1
V
IH1
V
IL2
V
IH2
R
PH2
Isink Sink Current (CLK, DATA) 5V
V
IL3
V
IH3
R
PL3
V
IL4
V
IH4
R
PL5
Operating Voltage
Operating Current 5V
RC Oscillator 5V
Input Low Voltage (Z1, Z2) 5V
Input High Voltage (Z1, Z2) 5V
Input Low Voltage (CLK, DATA) 5V
Input High Voltage (CLK, DATA) 5V
Pull-high Resistor (CLK, DATA) 5V
Input Low Voltage (RB, Ro, LB) 5V
Input High Voltage (RB, Ro, LB) 5V
Pull-low Resistor (RB, Ro, LB) 5V
Input Low Voltage (X1,X2,Y1,Y2) 5V
Input high Voltage (X1, X2, Y1, Y2) 5V
Dynamic Photo-resistor (X1, X2, Y1, Y2, Z1, Z2)
Test Conditions
Conditions
V
DD
¾¾
=120kW¾¾
R
OSC
=120kW
R
OSC
¾
¾
¾
¾
V
=0V
IL
V
=0.4V
OH
¾
¾
V
=0V
IL
¾
¾
5V
¾
Ta=25°C
Min. Typ. Max. Unit
4.5 5.0 5.5 V
15 mA
1.6 2 2.2 V
0
2.2
0
2.0
2510
4
0
1.8
3.0 60 125
0
2.2
1.5 V
¾
¾
¾
¾
5V
0.8 V
5.0 V
¾¾
1.0 V
¾
¾
¾
¾
5V
1.5 V
5V
kW
mA
kW
See Dynamic resistor
characteristics
Dynamic resistor characteristics
·
R-V curve
3 August 5, 1999
Page 4

Functional Description

PS/2 mouse
·
PS/2 status byte 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)
·
Standard PS/2 data format
Variable rps, 0, 8, 1, bidirectional, synchronous
Bit No. 7 6 5 4 3 2 1 0
1st word YV XV YS XS 1 M R L
2nd word X7 X6 X5 X4 X3 X2 X1 X0
3rd word Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
HT82M39A
X movement towards the right is positive, mov ing towards the left is negative
Y upward movement is positive, moving down is negative
Z rolling towards the user is positive, else nega tive
Button status: 1=pressed, 0=released
·
Mouse mode changes between Standard and 3D PS/2 mode
Sending the commands in the following se quence will set the mouse to 3D PS/2 mode.
Command Response From Mouse
F3h FAh
C8h FAh
F3h FAh
64h FAh
F3h FAh
50h FAh
F2h FAh, 03h
¨
Any time the PC sends a reset ²FFh² com­mand 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.
-
-
-
·
Data format for 3D PS/2 Variable rps, 0, 8, 1, bidirectional, synchronous
BitNo.76 543210
1st word YV XV YS XS 1 Ro 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 August 5, 1999
Page 5

Timing Diagrams

X, Y axis photo-coupler crossed width
X1 (Y1)
X2 (Y2)
t
p
tr, tp, tf > 2 0ms
X/Y/Z axis counting
X1
X2
+1 +1 +1+1
Z1
Z2
+1 +1 -1 -1
t
r
t
f
-1 -1 -1 -1
HT82M39A
5 August 5, 1999
Page 6
PS/2 mouse
·
Data output
HT82M39A
(1 ) (3 ) (3 ) (3 ) (3 ) (4 )
CLK
(2 )
D A T A S ta rt B it B it 0
T1
T2
T3
T4 T5
T 6 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 re
·
Data input
(1 )
CLK
DATA Start Bit Bit 0 Parity Bit Stop Bit
1st
CLK
T3 T4
T1
Tim ing Param eter
D A TA transition to the falling edge of C LK
R ising edge of C LK to D A TA transition
In a c tiv e C L K D u ra tio n
A c tiv e C L K D u ra 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
M O U SE does not start another transm ission
(4 )
(2 )
I/O
Inhibit
(3 )
2nd
CLK
T2
1st CLK
T7 T8
2nd
CLK
T9
(5 ) (7 )
Parity Bit
9th
CLK
10th CLK
(5 )
10th CLK
11th CLK
T5
Stop Bit
M in ./M a x .
5/25 msec
5/T 4-5 msec
30/50 msec
30/50 msec
>0 msec
<50 msec
(6 )
T6
(5 ) (7 )
11th CLK
(6 )
(8 )
Tim ing Param eter
T7 C LK D uration, low
T8 CLK Duration, high
T9 T im e from low to high CLK transition to tim e w hen
MOUSE samples DATA line
M in./M ax.
30/50 msec
30/50 msec
5/25 msec
6 August 5, 1999
Page 7

Application Circuits

HT82M39A Z axis optomechanical (this application circuit is for reference only)
1.5kW
IR
100kW
51kW
100k
H T82M 39A
W
DATA
CLK
3
4
5
6
7
8
VSS
OSCI
CLK
DATA
NC
2
1
Z1
Z2
VDD
51k
W
120k
W
HT82M39A
RB
9
S3
1.5k
W
Ro
10
S2
TEST
X1
LB
12
11
S1
IR
Y2
Y1
X2
16
15
14
13
0.1m F
IR
V
CC
7 August 5, 1999
Page 8
HT82M39A Z axis optomechanical (this application circuit is for reference only)
1.5kW
IR
DATA
CLK
120k
W
H T82M 39A
8
VSS
OSCI
CLK
DATA
NC
2
1
Z1
Z2
VDD
3
4
5
6
7
HT82M39A
RB
9
S3
1.5k
W
Ro
10
S2
TEST
X1
LB
12
11
S1
IR
Y2
Y1
X2
16
15
14
13
0.1m F
IR
V
CC
8 August 5, 1999
Page 9
HT82M39A Z axis mechanical (this application circuit is for reference only)
EVZV X C 00112B
Encoder
DATA
CLK
120k
W
H T82M 39A
8
VSS
OSCI
CLK
DATA
NC
2
1
Z1
Z2
VDD
3
4
5
6
7
HT82M39A
RB
9
S3
1.5k
W
Ro
10
S2
TEST
X1
LB
12
11
S1
IR
Y2
Y1
X2
16
15
14
13
0.1m F
IR
V
CC
9 August 5, 1999
Page 10
HT82M39A
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 Microelectronics Enterprises 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 Ó 1999 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 pres ent 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.
10 August 5, 1999
-
Loading...