Data Sheet

HT82M22A
5-Key 3D USB+PS/2 Optical Mouse Controller
Features
· Operating voltage: 4.4V~5.25V
· Single chip solution especially for USB mouse
function
· Compatible with Microsoft Windows 2000 and
· HALT function and wake-up feature reduce power
5-button Wheel Mouse
consumption
· Complete Universal Serial Bus specs V1.1
· Plug and Play functions
compatibility
· Serial Bus Interface Engine (SIE)
· Minimal external components
· USB transceiver
· 6MHz crystal oscillator for system clock
· Microsoft 3D Intelli mouse and IBM PS/2 mouse
· Interface compliant with ADNS-2051, ADNS-2610
compatible
and ADNS-2620
· Supports five buttons and Z-axis input
· Pass WHQL, USB-IF and EMC testing
· Z-axis can support two kinds of scroller input
· 20-pin DIP package
(optomechanical and mechanical)
General Description
and optomechanical. It requires minimal external components to implement 3D USB plus PS/2 mouse. All its
features combined and make up this versatile Holtek
8-bit MCU with an on-chip USB interface logic. The
USB is specified by the Universal Serial Bus Specification V1.1.
HT82M22A is a Plug and Play Windows 2000 and
5-button 3D USB+PS/2 Mouse controller. The
HT82M22A can support the USB Standard Request as
well as HID Class Request version 1.1. It is compatible
with Microsoft Intelli 3D PS/2 mouse. The Z-axis can
support two kinds of scroller input, namely; mechanical
Block Diagram
U S B
T r a n s c e iv e r
U S B D +
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
T r a n s m itte r
V 3 3 O
O S C 1
O S C 2
Rev. 1.40
V o lta g e
R e g u la to r
U S B
In te rfa c
(S
a
C o
L o
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
1
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
September 15, 2005
HT82M22A
Pin Assignment
V S S
1
2 0
O S C 1
V 3 3 O
2
1 9
O S C 2
U S B D + /C L K
3
1 8
V D D
U S B D - /D A T A
4
1 7
L E D
R E S E T
5
1 6
M
S E L 1
6
1 5
R
S D IO
7
1 4
L
S C L K
8
1 3
Z 2
S E L 0
9
1 2
Z 1
R B 0
1 0
1 1
R B 1
H T 8 2 M 2 2 A
2 0 D IP -A
Pin Description
Pin No.
Pin Name
I/O
Description
¾ Negative power supply, ground
1
VSS
2
V33O
O
3
USBD+/CLK
I/O USB data plus or PS2 Clock, F/W auto-detect USBD+ for USB, CLK for PS2
4
USBD-/DATA
I/O USB data minus or PS2 Data, F/W auto-detect USB- for USB, DATA for PS2
5
RESET
6, 9
SEL1
SEL0
7
SDIO
8
SCLK(PA5)
10, 11
RB0, RB1
14, 15, 16 L, R, M
3.3V voltage output
I
Chip reset input, low active
I
Configuration selections
SEL1=0: Z-axis is divided by 2 (default)
SEL1=1: Z-axis is divided by 4
For ADNS 2051:
SEL0=0: 800DPI (default)
SEL0=1: 400DPI
For ADNS 2610/2620:
SEL0=0, 400DPI (default)
SEL0=1, 800DPI-by firmware
I/O Serial data for Agilent sensor IC SDIO
I
Serial data for Agilent sensor IC SCLK
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.
I
Z-axis input supports two kinds of scroller input; optomechanical and mechanical.
12, 13
Z1, Z2
17
LED
I/O Drives LED output
18
VDD
¾ 5V positive power supply
19
OSC2
O
6MHz OSC output
20
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.40
2
September 15, 2005
HT82M22A
D.C. Characteristics
Symbol
Ta=25°C
Test Conditions
Parameter
Min.
Typ.
Max.
Unit
4.4
¾
5.25
V
USB mode
¾
10
¾
mA
PS/2 mode
¾
3
¾
mA
¾
¾
250
mA
VDD
Conditions
¾
VDD
Operating Voltage
¾
IDD
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
No load,
fSYS=6MHz
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 Crossed Width
Z 1
Z 2
tr
N o te :
F o r Z - a x is
tP
tf
tr, tP , tf > 2 .5 m s
Z-axis Counting
Z 1
Z 2
+ 1
Rev. 1.40
+ 1
-1
3
-1
September 15, 2005
HT82M22A
Application Circuits
This Application Circuit is for Reference Only
V
2
1 0 m F
U S B 4
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
2
3
5 k W
S W 1
0 .0 1 m F
4
5
S W 2
R E
S E
S D
S C
S E
R B
6
7
S D IO
S C L K
8
9
1 0
O S C
O S C
V D
L E
1 5 k W
1 8
D
1 6
9
2
4
1 3
Z 2
5
1 2
Z 1
R B 1
O S C _ IN
O S C _ O U T
X B
X A
Y B
Y A
3
1 4
L
1 1
7
R E F A
R E F B
X Y _ L E D
P D
S D IO
S C L K
G N D
G N D
2 .2 m F
8
0 W
6
1 5
1 6
1
1 2
S D IO
S C L K
1 0
A D N S 2 0 5 1
1 0 0 k W
H T 8 2 M 2 2 A
V D D
R _ B IN
1 1
0 .1 m F
1 5
R
1 4
1 8 .4 3 2 M H z
1 7
D
0 .1 m F
1 3
B
1 9
2
M
S E T
L 1
IO
L K
L 0
0
A
2 0
1
0 .1 m F
C
1 k W
V S S
3
3 0 k W
U S B +
D D
1
V D D
1 0 k W
M B
R B 0
0 .1 m F
L B
6 M H z
R B 1
3 3 W
1 .5 k W
V
V D D
2
S W 1
S W 2
0 .0 1 m F
4
e n
s e
e n
s e
: 8
: 4
: Z
: Z
0 0 D P I ( d e fa u lt)
0 0 D P I
/2 ( d e fa u lt)
/4
3 3 W
V S S
V 3 3 O
U S B D + /C L K
U S B D - /D A T A
2
3
4
5
6
7
S D IO
S C L K
8
9
1 0
R E
S E
S D
S C
S E
R B
S E T
L 1
IO
L K
L 0
0
O S
O S
V
L
C 1
C 2
D D
E D
M
R
L
Z 2
Z 1
R B 1
0 .1 m F
C
1 k W
5 k W
o p
c lo
o p
c lo
D D
1 0 m F
3
1
5 k W
1 =
1 =
2 =
2 =
3 0 p F
3 0 k W
V S S
S W
S W
S W
S W
1
U S B U S B +
1 M W
3 0 p F
3 3 p F
3 3 p F
N o te :
0 .1 m F
R B
3 3 W
A
2 0
1 0 0 W
1 0 0 k W
7
B
V D D
1 9
1 k W
5
X Y _ L E D
1 8
1 7
2 4 M H z
1 6
1
0 .1 m F
1 5
2
1 4
6
1 3
1 2
O S C _ IN
S D IO
O S C _ O U T
S C L K
R E F A
G N D
3
S D IO
4
S C L K
8
2 .2 m F
1 1
A D N S 2 6 1 0
1 0 0 k W
H T 8 2 M 2 2 A
1 0 k W
R B 0
0 .1 m F
3 3 W
L B
1 .5 k W
Note:
3 3 p F
N o te :
0 .1 m F
R B
6 M H z
R B 1
3 3 W
3 3 p F
M B
3 0 p F
1 M W
S W
S W
S W
S W
1 =
1 =
2 =
2 =
o p
c lo
o p
c lo
e n
s e
e n
s e
: 4
: 8
: Z
: Z
0 0 D P I ( d e fa u lt)
0 0 D P I- b y fir m w a r e
/2 ( d e fa u lt)
/4
3 0 p F
Layout 0.1mF capacitor, 33W resistor and 0.01mF capacitor as close to VDD pin as possible.
Rev. 1.40
4
September 15, 2005
HT82M22A
Package Information
20-pin DIP (300mil) Outline Dimensions
A
B
2 0
1 1
1
1 0
H
C
D
E
Symbol
A
Rev. 1.40
F
a
G
I
Dimensions in mil
Min.
Nom.
Max.
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°
5
September 15, 2005
HT82M22A
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 Ó 2005 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.40
6
September 15, 2005