Data Sheet

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 (121kW)
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.20
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
December 31, 2008
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 (121kW)
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
Ta=25°C
Parameter
Test Conditions
VDD
Conditions
Min.
Typ.
Max.
Unit
VDD
Operating Voltage
¾
fSYS=2MHz
4.0
5.0
5.5
V
IDD
Operating Current
5V
No load, fSYS=2MHz
¾
2.5
4
mA
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
Input High Voltage for RES
¾
¾
0.9VDD
¾
VDD
V
5V
VOL=0.1VDD
10
20
¾
mA
-2
-4
¾
mA
10
30
50
kW
VIH2
IOL
I/O Port Sink Current
IOH
I/O Port Source Current
5V
VOL=0.9VDD
RPH
Pull-high Resistance for RB, LB, RO, Z1,
5V
Z2, RB1, RB0, SDIO, PS2CK and PS2D
¾
Rev. 1.20
2
December 31, 2008
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.20
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
December 31, 2008
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.20
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
December 31, 2008
HT82M35X
Application Circuits
2D PS/2 Optical Mouse for ADNS-5020
V
D D
1 0 0 m F
4 7 0 p F
6 8 W
T A
L K
D D
N D
N D
N 5
1
4 .7 k W
J 1
D A
C
V
G
G
C O
1 0 0 W
4 .7 k W
4 7 0 p F
4 .7 k W
L E D
2
3
4
R
5
S W 2
6 8 W
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
S
3 /R
2 /L
1 /Z
0 /Z
2 /R
1 /H
0 /H
B
P A 4 /M
P A 5 /R B
P A 6 /P S 2
2
P A 7 /P S 2 C
1
O S C
B 1
P D
O S C
P C K
V D
R E
1 6
B
B
D
M
S W 3
1 5
0
1
1 4
2
1 3
K
1 2
2
1
D
3
1 1
9
S
1 m F
4
1 2 1 k W
4 7 k W
1 0
0 .1 m F
H T 8 2 M 3 5 X
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
8
7
3 .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
0 .1 m F
S D IO
S C L K
3D PS/2 Optical Mouse for ADNS-5020
V
C
A
4 7 0 p F
B
1
T A
L K
D D
N D
N D
N 5
1 0 0 m F
E n c o d e r
6 8 W
1 0 0 W
4 .7 k W
4 .7 k W
J 1
D A
C
V
G
G
C O
D D
4 7 0 p F
4 .7 k W
L E D
2
3
S W 2
R
4
L
5
6 8 W
U 1
P A
P A
P A
P A
P B
P B
P B
V S
2
1
S W 4 3
4
5
6
7
8
P A 4 /M
P A 5 /R B
B
P A 6 /P S 2
2
P A 7 /P S 2 C
1
O S C
B 1
P D
O S C
P C K
V D
R E
S
3 /R
2 /L
1 /Z
0 /Z
2 /R
1 /H
0 /H
1 6
B
B
D
M
S W 3
1
1 4
2
1 3
K
D
1 5
0
1 2
2
1 1
S
1
1 0
9
1 2 1 k W
4 7 k W
0 .1 m F
H T 8 2 M 3 5 X
3
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
8
7
3 .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
0 .1 m F
S D IO
S C L K
Win2K PS/2 Optical Mouse for ADNS-5020
V
C
T A
L K
D D
N D
N D
N 5
A
1
1 0 0 m F
E n c o d e r
4 7 0 p F
B
6 8 W
1 0 0 W
4 .7 k W
4 .7 k W
J 1
D A
C
V
G
G
C O
D D
4 7 0 p F
L E D
4 .7 k W
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
S
6 8 W
3 /R
2 /L
1 /Z
0 /Z
2 /R
1 /H
0 /H
B
P A 4 /M
P A 5 /R B
P A 6 /P S 2
2
P A 7 /P S 2 C
1
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 m F
4
1 2 1 k W
4 7 k W
0 .1 m F
0 .1 m F
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 .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.20
5
December 31, 2008
HT82M35X
HT82M35X Z-Axis Optomechanical (This Application Circuit is for Reference Only)
V
D D
Z 1
1 0 0 m F
4 7 0 p F
T A
L K
D D
N D
N D
N 5
6 8 W
1
4 .7 k W
J 1
D A
C
V
G
G
C O
1 0 0 W
4 .7 k W
4 7 0 p F
4 .7 k W
L E D
2
3
4
R
5
S W 2
2
1
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
S
6 8 W
3 /R
2 /L
1 /Z
0 /Z
2 /R
1 /H
0 /H
P A 4 /M
P A 5 /R B
B
P A 6 /P S 2
2
P A 7 /P S 2 C
1
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
1 2 1 k W
4 7 k W
0 .1 m F
3
1 m F
4
0 .1 m F
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 .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
Note:
* For resistor value selection, refer to high or low input level of Z1 and Z2 in the D.C. Characteristics table.
The recommended value is 6kW.
Rev. 1.20
6
December 31, 2008
HT82M35X
Package Information
16-pin DIP (300mil) Outline Dimensions
A
B
A
1 6
9
1
8
B
1 6
9
1
8
H
H
C
C
D
D
G
E
G
E
I
F
I
F
Fig1. Full Lead Packages
Fig2. 1/2 Lead Packages
· MS-001d (see fig1)
Symbol
Dimensions in mil
Min.
Nom.
Max.
A
780
¾
880
B
240
¾
280
C
115
¾
195
D
115
¾
150
E
14
¾
22
F
45
¾
70
G
¾
100
¾
H
300
¾
325
I
¾
¾
430
· MS-001d (see fig2)
Symbol
Rev. 1.20
Dimensions in mil
Min.
Nom.
Max.
A
735
¾
775
B
240
¾
280
C
115
¾
195
D
115
¾
150
E
14
¾
22
F
45
¾
70
G
¾
100
¾
H
300
¾
325
I
¾
¾
430
7
December 31, 2008
HT82M35X
· MO-095a (see fig2)
Symbol
A
Rev. 1.20
Dimensions in mil
Min.
Nom.
Max.
745
¾
785
B
275
¾
295
C
120
¾
150
D
110
¾
150
E
14
¾
22
F
45
¾
60
G
¾
100
¾
H
300
¾
325
I
¾
¾
430
8
December 31, 2008
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 (China) Inc. (Dongguan Sales Office)
Building No. 10, Xinzhu Court, (No. 1 Headquarters), 4 Cuizhu Road, Songshan Lake, Dongguan, China 523808
Tel: 86-769-2626-1300
Fax: 86-769-2626-1311
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 Ó 2008 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.20
9
December 31, 2008