HOLTEK HT82M25X

HT82M25X
3/5-Key USB+PS/2 Optical Mouse Controller
Features
· Operating voltage: 4.4V~5.25V
· USB transceiver
· Compatible with Microsoft Windows 2000 and
· Single chip solution especially for USB mouse
5-button Wheel Mouse
function
· Microsoft 3D Intelli mouse and IBM PS/2 mouse
· Power down function and wake-up feature reduce
compatible
power consumption
· Supports 3/5 buttons and Z-axis input
· Plug and Play functions
· Z-axis can support two kinds of scroller input
· Minimal external components
- optomechanical and mechanical
· 6MHz crystal system clock oscillator
· 3 key or 5 key mode can be selected by package
· Interface compliant with ADNS-5020
· Complete Universal Serial Bus spec. V2.0
· Passed WHQL, USB-IF and EMC testing
compatibility
· Range of packaging types
· Serial Bus Interface Engine (SIE)
General Description
Windows 2000 5 key USB plus PS/2 mouse. All of the
device features in combination provide a versatile
Holtek MCU with fully integrated USB interface logic.
The USB is specified by the Universal Serial Bus Specification V2.0.
These devices are Plug and Play Windows 2000 and
5-button 3D USB+PS/2 Mouse controllers. Fully supporting the USB standard request as well as HID Class
Request version 1.1, they are compatible with Microsoft
Intelli 3D or Windows 2000 5 key PS/2 mouse. The
Z-axis can support two kinds of scroller input, both
optomechanical and mechanical. The devices require a
minimum of external components to implement a 3D or
The USB vendor ID for the devices is defined as
04D9H, the USB product ID is different for different
packages.
Selection Table
Part No.
Interface
Mode
USB Product ID
Package
HT82M25A
USB and PS/2
Windows 2000
1135H
20DIP/SOP
HT82M25A-1
USB and PS/2
Windows 2000
1135H
20DIP/SOP
HT82M25B
USB and PS/2
3D
1133H
18DIP/SOP
HT82M25B-1
USB and PS/2
3D
1133H
18DIP/SOP
HT82M25C
USB only
3D
1133H
18DIP/SOP
HT82M25C-1
USB only
3D
1133H
18DIP/SOP
Rev. 1.00
1
May 14, 2007
HT82M25X
Block Diagram
U S B
T r a n s c e iv e r
R e g is te r
S e t
U S B
R e c e iv e r
U S B D +
U S B D -
U S B
T r a n s m itte r
U S B
In te rfa c
(S
a
C o
L o
V o lta g e
R e g u la to r
V 3 3 O
O S C 1
O S C 2
S e r ia l
e E n g in e
IE )
n d
n tro l
g ic
C lo c k
G e n e ra to r
M a in
S ta te m a c h in e
R C
R E S E T
S u s p e n s io n
C o n tro l
H o lte k
8 - b it
M ic r o c o n tr o lle r
F IF O s ´ 2
V D D
V S S
Pin Assignment
V S S
1
2 0
O S C 1
V 3 3 O
2
1 9
O S C 2
V S S
1
1 8
O S C 1
U S B D + /C L K
3
1 8
V D D
V 3 3 O
2
1 7
O S C 2
U S B D - /D A T A
4
1 7
L E D
U S B D + /C L K
3
1 6
V D D
R E S E T
5
1 6
M
U S B D - /D A T A
4
1 5
L E D
S C L K /Z _ S E L
6
1 5
R
R E S E T
5
1 4
M
S D IO
7
1 4
L
S C L K /Z _ S E L
6
1 3
R
N R E S E T
8
1 3
Z 2
S D IO
7
1 2
L
D P I_ S E L
9
1 2
Z 1
N R E S E T
8
1 1
Z 2
1 0
1 1
R B 1
D P I_ S E L
9
1 0
Z 1
R B 0
H T 8 2 M 2 5 A /H T 8 2 M 2 5 A -1
2 0 D IP -A /S O P -A
Rev. 1.00
H T 8 2 M 2 5 B /H T 8 2 M 2 5 B -1
H T 8 2 M 2 5 C /H T 8 2 M 2 5 C -1
2
May 14, 2007
HT82M25X
Pin Description
Pin Name
I/O
Description
VSS
¾
Negative power supply, ground
V33O
O
3.3V voltage output
USBD+/CLK
I/O
USB data plus or PS2 Clock, F/W auto-detect USBD+ for USB, CLK for PS2
USBD-/DATA
I/O
USB data minus or PS2 Data, F/W auto-detect USB- for USB, DATA for PS2
RESET
I
NRESET
I/O
DPI_SEL
I
Chip reset input, low active
Reset pin for Agilent sensor IC
1 (N/C): 500dpi
0 (GND): 1000dpi
SDIO
I/O
Serial data for Agilent sensor IC SDIO
SCLK/Z_SEL
I/O
Serial data for Agilent sensor IC SCLK
1 (N/C): z-axis is divided by 2
0 (pull-down): z-axis is divided by 4
RB0, RB1
L, R, M
I
Click button detection. Input ports with 30kW pull-high resistor.
Input ports with pull-high resistor. These pads can function as Left, Right, Middle, B4 and B5
button input lines.
Z1, Z2
I
Z-axis input supports two kinds of scroller input; optomechanical and mechanical.
LED
I/O
LED drive output
VDD
¾
5V positive power supply
OSC2
O
6MHz OSC output
OSC1
I
6MHz OSC input
Absolute Maximum Ratings
Supply Voltage ..............................VSS-0.3V to VSS+6V
Storage Temperature ............................-50°C to 125°C
MCU Input Voltage.....................VSS-0.3V to VDD+0.3V
Operating Temperature...........................-25°C to 70°C
USB Input Voltage ....................VSS-0.3V to V33O+0.3V
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.
Rev. 1.00
3
May 14, 2007
HT82M25X
D.C. Characteristics
Symbol
VDD
Ta=25°C
Test Conditions
Parameter
VDD
Conditions
¾
¾
Operating Voltage
No load,
fSYS=6MHz
Min.
Typ.
Max.
Unit
4.4
¾
5.25
V
USB mode
¾
10
¾
mA
PS/2 mode
¾
3
¾
mA
¾
¾
250
mA
Operating Current
(Crystal OSC)
5V
ISUS
USB Suspend Mode
5V
VIL1
Input Low Voltage
(Z1, Z2, L, M, R)
5V
¾
0
¾
1.0
V
VIH1
Input High Voltage
(Z1, Z2, L, M, R)
5V
¾
3.5
¾
5
V
VIL2
Input Low Voltage (RESET)
5V
¾
0
¾
1.5
V
VIH2
Input High Voltage (RESET)
5V
¾
3.5
¾
5
V
VPOR
Built-in Power on Reset VDD
Detection Voltage
5V
¾
¾
3.7
¾
V
IOL
Sink Current (LED)
5V
¾
50
¾
mA
IDD
No load, system HALT
VOL=0.8V
A.C. Characteristics
Symbol
fSYS
Ta=25°C
Test Conditions
Parameter
VDD
Conditions
5V
¾
System Clock (Crystal OSC)
Min.
Typ.
Max.
Unit
0
6000
¾
kHz
Note: tSYS=1/fSYS
Timing Diagram
Z-axis Photo-Coupler Crossover Width
Z 1
Z 2
tr
N o te :
F o r Z - a x is
tP
tf
tr, tP , tf > 1 m s
Z-axis Counting
Z 1
Z 2
+ 1
Rev. 1.00
+ 1
-1
4
-1
May 14, 2007
HT82M25X
Functional Description
PS/2 Mouse
· For the HT82M25B/HT82M25B-1, HT82M25C/
· PS/2 status byte
¨
HT82M25C-1, the mouse mode changes between
Standard and 3D PS/2 mode.
Sending the commands in the following sequence will
set the mouse to the 3D PS/2 mode.
Byte 1
Bit 7: Reserved
Bit 6: 0=Stream Mode, 1=Remote Mode
Command
Bit 5: 0=Disabled, 1=Enabled
¨
Bit 4: 0=Scaling 1:1, 1=Scaling 2:1
F3h
FAh
Bit 3: 1=Wrap Mode, 0=Stream or Remote
(different from IBM specs.)
C8h
FAh
F3h
FAh
Bit 2: 1=Left Button Pressed
64h
FAh
Bit 1: 1=Middle Button Pressed
F3h
FAh
Bit 0: 1=Right Button Pressed
50h
FAh
Byte 2
F2h
FAh, 03h
Bit 0~7 current resolution setting
(Bit 0=LSB)
¨
Response From Mouse
· For the HT82M25A/HT82M25A-1, the mouse mode
changes between Standard and Windows 2000 PS/2
mode.
Sending the commands in the following sequence will
set the mouse to the Windows 2000 PS/2 mode.
Byte 3
Bit 0~7 current sampling rate (Bit 0=LSB)
· Standard PS/2 data format
Command
(HT82M25A/HT82M25A-1, HT82M25B/HT82M25B-1)
Bit No.
7
6
5
4
3
2
1
Response From Mouse
0
F3h
FAh
FAh
1st word
YV
XV
YS
XS
1
M
R
L
C8h
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
F3h
FAh
C8h
FAh
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
· Data format for 3D PS/2
(HT82M25A/HT82M25A-1, HT82M25B/HT82M25B-1)
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
4th word
Z7
Z6
Z5
Z4
Z3
Z2
Z1
Z0
Note:
¨
5
4
3
F2h
FAh, 04h
At any time the PC sends a reset ²FFh² command
to the mouse, it will reset the mouse to Standard
PS/2 mode.
(HT82M25A/HT82M25A-1, HT82M25B/HT82M25B-1,
HT82M25C/HT82M25C-1)
Bit No.
(HT82M25A/HT82M25A-1)
6
FAh
· USB mouse data format for 3D mode
· Data format for 5-button Wheel Mouse
7
FAh
50h
After a power-on reset is initiated, the mouse is set to
Standard PS/2 mode.
The X/Y data report is 9-bit 2¢s complement
The Z data report is 8-bit 2¢s complement
Bit No.
F3h
2
1
7
6
5
4
3
2
1
0
1st word
0
0
0
0
0
M
R
L
0
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
1st word
0
0
YS
XS
1
M
R
L
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
4th word
Z7
Z6
Z5
Z4
Z3
Z2
Z1
Z0
3rd word
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
4th word
0
0
RB1 RB0 Z3
Z2
Z1
Z0
Note:
X- movement towards the right is positive, moving towards the left is negative
Y- upward movement is positive, moving down
is negative
Z- rolling towards the user is positive, otherwise
negative
Button status: 1=pressed, 0=released
Rev. 1.00
5
May 14, 2007
HT82M25X
· Data format for Windows 2000 mode
Note:
X- movement towards the right is positive, moving towards the left is negative
(HT82M25A/HT82M25A-1)
Bit No.
7
6
5
4
3
2
1
0
1st word
0
0
0
RB1 RB1 M
R
L
2nd word
X7
X6
X5
X4
X3
X2
X1
X0
3rd word
Y7
Y6
Y5
Y4
4th word
Z7
Z6
Z5
Z4
Y3
Y2
Y1
Y0
Z3
Z2
Z1
Z0
Y- upward movement is negative, moving down
is positive
Z- rolling towards the user is negative, otherwise
positive
Button status: 1=pressed, 0=released
Application Circuits
HT82M25A Application Circuit is for Reference Only
V
2
V S S
3
4
3 3 W
3 3 W
1 .5 k W
V S S
V 3 3 O
U S B D + /C L K
U S B D - /D A T A
3
2
4
3 3 p F
5
R E
S C
S D
N R
D P
R B
6
Z _ S E L
5 .1 k W
3 3 p F
7
8
9
D P I_ S E L
1 0
S E
L K
IO
E S
I_ S
O S C
O S C
V D
L E
0
B
1
1 8
D
8
1 7
D
0 .1 m F
1 6
M
3
1 5
R
1 4
L
E T
E L
A
1 9
2
T
/Z _ S E L
3 0 0 W
2 0
1
0 .1 m F
C
2 2 W
1
0 .1 m F
0 .0 1 m F
1 0 m F
U S B U S B +
D D
1
V D D
S C L K
R E G 0
2
3 .3 m F
7
0 .1 m F
6
G N D
V D D 5
N C S
1 2
Z 1
R B 1
X Y _ L E D
N R E S E T
4
1 3
Z 2
S D IO
0 .1 m F
5
4 .7 m F
A D N S -5 0 2 0
1 1
1 0 0 k W
H T 8 2 M 2 5 A /H T 8 2 M 2 5 A -1
1 0 k W
N o te : D P I_ S E L = o p e n : 5 0 0 D P I
D P I_ S E L = c lo s e : 1 0 0 0 D P I
M B
0 .1 m F
R B
L B
Z _ S E L = o p e n : Z /2
Z _ S E L = c lo s e : Z /4
6 M H z
R B 0
R B 1
V
2
V S S
3
4
1 .5 k W
3 3 W
3 3 W
3
3 3 p F
V S S
V 3 3 O
U S B D + /C L K
U S B D - /D A T A
2
4
5
6
Z _ S E L
5 .1 k W
3 3 p F
7
8
9
D P I_ S E L
R E
S C
S D
N R
D P
S E
L K
IO
E S
I_ S
O S C
O S C
V D
L E
D
1 4
M
8
0 .1 m F
3
1 3
R
Z 2
Z 1
H T 8 2 M 2 5 B /H T 8 2 M 2 5 B -1
H T 8 2 M 2 5 C /H T 8 2 M 2 5 C -1
1 2
1 0
S D IO
X Y _ L E D
S C L K
R E G 0
N C S
2
3 .3 m F
7
0 .1 m F
6
G N D
N R E S E T
4
1 1
V D D 5
5
0 .1 m F
4 .7 m F
A D N S -5 0 2 0
1 0 0 k W
1 0 k W
N o te : D P I_ S E L = o p e n : 5 0 0 D P I
D P I_ S E L = c lo s e : 1 0 0 0 D P I
M B
0 .1 m F
R B
Note:
1
1 5
D
L B
B
1 6
L
E T
E L
A
1 7
2
T
/Z _ S E L
3 0 0 W
1 8
1
0 .1 m F
C
2 2 W
1
0 .1 m F
0 .0 1 m F
1 0 m F
U S B U S B +
D D
1
V D D
6 M H z
Z _ S E L = o p e n : Z /2
Z _ S E L = c lo s e : Z /4
Place the 0.1mF capacitor, 22W resistor and 0.01mF capacitor as close to VDD pin as possible.
Rev. 1.00
6
May 14, 2007
HT82M25X
Package Information
18-pin DIP (300mil) Outline Dimensions
A
B
1 8
1 0
1
9
H
C
D
E
a
G
I
F
Symbol
A
Rev. 1.00
Dimensions in mil
Min.
Nom.
Max.
895
¾
915
B
240
¾
260
C
125
¾
135
D
125
¾
145
E
16
¾
20
70
F
50
¾
G
¾
100
¾
H
295
¾
315
I
335
¾
375
a
0°
¾
15°
7
May 14, 2007
HT82M25X
18-pin SOP (300mil) Outline Dimensions
1 0
1 8
B
A
9
1
C
C '
G
H
D
E
Symbol
Rev. 1.00
a
F
Dimensions in mil
Min.
Nom.
Max.
A
394
¾
419
B
290
¾
300
C
14
¾
20
C¢
447
¾
460
D
92
¾
104
E
¾
50
¾
F
4
¾
¾
G
32
¾
38
H
4
¾
12
a
0°
¾
10°
8
May 14, 2007
HT82M25X
20-pin DIP (300mil) Outline Dimensions
A
B
2 0
1 1
1
1 0
H
C
D
E
Symbol
Rev. 1.00
F
a
G
I
Dimensions in mil
Min.
Nom.
Max.
A
1020
¾
1045
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°
9
May 14, 2007
HT82M25X
20-pin SOP (300mil) Outline Dimensions
1 1
2 0
A
B
1
1 0
C
C '
G
H
D
E
Symbol
Rev. 1.00
a
F
Dimensions in mil
Min.
Nom.
Max.
A
394
¾
419
B
290
¾
300
C
14
¾
20
C¢
490
¾
510
D
92
¾
104
E
¾
50
¾
F
4
¾
¾
G
32
¾
38
H
4
¾
12
a
0°
¾
10°
10
May 14, 2007
HT82M25X
Product Tape and Reel Specifications
Reel Dimensions
D
T 2
A
C
B
T 1
SOP 18W
Symbol
Description
A
Reel Outer Diameter
B
Reel Inner Diameter
Dimensions in mm
330±1.0
62±1.5
13.0+0.5
-0.2
C
Spindle Hole Diameter
D
Key Slit Width
2.0±0.5
T1
Space Between Flange
24.8+0.3
-0.2
T2
Reel Thickness
30.2±0.2
SOP 20W
Symbol
Description
Dimensions in mm
A
Reel Outer Diameter
330±1.0
B
Reel Inner Diameter
62±1.5
C
Spindle Hole Diameter
13.0+0.5
-0.2
D
Key Slit Width
2.0±0.5
T1
Space Between Flange
24.8+0.3
-0.2
T2
Reel Thickness
30.2±0.2
Rev. 1.00
11
May 14, 2007
HT82M25X
Carrier Tape Dimensions
P 0
D
P 1
t
E
F
W
C
D 1
B 0
P
K 0
A 0
SOP 18W
Symbol
Description
Dimensions in mm
W
Carrier Tape Width
24.0+0.3
-0.1
P
Cavity Pitch
16.0±0.1
E
Perforation Position
1.75±0.1
F
Cavity to Perforation (Width Direction)
11.5±0.1
D
Perforation Diameter
1.5±0.1
D1
Cavity Hole Diameter
1.5+0.25
P0
Perforation Pitch
4.0±0.1
P1
Cavity to Perforation (Length Direction)
2.0±0.1
A0
Cavity Length
10.9±0.1
B0
Cavity Width
12.0±0.1
K0
Cavity Depth
2.8±0.1
t
Carrier Tape Thickness
0.3±0.05
C
Cover Tape Width
21.3
SOP 20W
Symbol
Description
Dimensions in mm
W
Carrier Tape Width
24.0+0.3
-0.1
P
Cavity Pitch
12.0±0.1
E
Perforation Position
1.75±0.1
F
Cavity to Perforation (Width Direction)
11.5±0.1
D
Perforation Diameter
1.5+0.1
D1
Cavity Hole Diameter
1.5+0.25
P0
Perforation Pitch
4.0±0.1
P1
Cavity to Perforation (Length Direction)
2.0±0.1
A0
Cavity Length
10.8±0.1
B0
Cavity Width
13.3±0.1
K0
Cavity Depth
3.2±0.1
t
Carrier Tape Thickness
0.3±0.05
C
Cover Tape Width
Rev. 1.00
21.3
12
May 14, 2007
HT82M25X
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: 021-6485-5560
Fax: 021-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: 0755-8616-9908, 8616-9308
Fax: 0755-8616-9722
Holtek Semiconductor Inc. (Beijing Sales Office)
Suite 1721, Jinyu Tower, A129 West Xuan Wu Men Street, Xicheng District, Beijing, China 100031
Tel: 010-6641-0030, 6641-7751, 6641-7752
Fax: 010-6641-0125
Holtek Semiconductor Inc. (Chengdu Sales Office)
709, Building 3, Champagne Plaza, No.97 Dongda Street, Chengdu, Sichuan, China 610016
Tel: 028-6653-6590
Fax: 028-6653-6591
Holtek Semiconductor (USA), Inc. (North America Sales Office)
46729 Fremont Blvd., Fremont, CA 94538
Tel: 510-252-9880
Fax: 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
13
May 14, 2007