HOLTEK HT82M21A

HT82M21A
3-Key 3D USB+PS/2 Optical Mouse Controller
Features
· Operating voltage: 4.4V~5.25V
· HALT function and wake-up feature reduce power
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 three buttons (R, M, L) and Z-axis input
· Pass WHQL, USB-IF and EMC testing
· Z-axis can support two kinds of scroller input
· 18-pin DIP package
(optomechanical and mechanical)
· Single chip solution especially for USB mouse
function
General Description
mechanical. It requires minimal external components to
implement 3D USB plus PS/2 optical mouse. It can be
briefly described as a Holtek 8-bit MCU with an on-chip
USB interface logic. The USB is specified by the Universal Serial Bus Specification V1.1.
HT82M21A is a 3D mouse controller especially designed for USB and PS/2 applications. The HT82M21A
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; optomechanical and
Block Diagram
U S B
T r a n s c e iv e r
U S B D +
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
R e g is te r
S e t
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
HT82M21A
Pin Assignment
V S S
1
1 8
O S C 1
V 3 3 O
2
1 7
O S C 2
U S B D + /C L K
3
1 6
V D D
U S B D -/D A T A
4
1 5
L E D
R E S E T
5
1 4
M
S E L 1
6
1 3
R
S D IO
7
1 2
L
S C L K
8
1 1
Z 2
S E L 0
9
1 0
Z 1
H T 8 2 M 2 1 A
1 8 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
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
6
9
SEL1
SEL0
7
SDIO
8
SCLK
I
Serial data for Agilent sensor IC SCLK
10, 11
Z1, Z2
I
Z-axis input supports two kinds of scroller input; optomechanical and mechanical.
I
Input ports with pull-high resistor. These pads can function as Left, Right, Middle.
12, 13, 14 L, R, M
I/O Serial data for Agilent sensor IC SDIO
15
LED
I/O Drives LED output
16
VDD
¾ 5V positive power supply
17
OSC2
O
6MHz OSC output
18
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
HT82M21A
D.C. Characteristics
Symbol
Ta=25°C
Test Conditions
Parameter
VDD
Conditions
Min.
Typ.
Max.
Unit
VDD
Operating Voltage
¾
¾
4.4
¾
5.25
V
IDD
Operating Current (Crystal OSC)
5V
USB mode
No load,
fSYS=6MHz PS/2 mode
¾
10
¾
mA
¾
3
¾
mA
No load, system HALT
¾
¾
250
mA
¾
1.0
V
ISTB
Standby Current
5V
VIL1
Input Low Voltage for I/O Ports
5V
¾
0
VIH1
Input High Voltage for MCU I/O Ports
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
VIH3
Input High Voltage for USB I/O Ports
3.3V
¾
2.8
¾
3.6
V
VPOR
Power on Reset VDD Detection
Voltage
5V
¾
3.5
¾
3.9
V
IOL1
Output Port Sink Current
5V
VOL=0.5V
¾
4
¾
mA
IOH1
Output Port Source Current
5V
VOL=4.5V
¾
-4
¾
mA
IOL2
Output Port Sink Current (LED)
5V
VOL=4.5V
¾
50
¾
mA
A.C. Characteristics
Symbol
fSYS
tOST
Ta=25°C
Test Conditions
Parameter
Conditions
VDD
System Clock (Crystal OSC)
¾
5V
Power-up or wake-up
form HALT
¾
Oscillation Start-up Timer Period
Min.
Typ.
Max.
Unit
0
6000
¾
kHz
¾
1024
¾
tSYS
Note: tSYS=1/fSYS
Timing Diagram
Z-axis Photo-Coupler Crossed Width
X 1 (Y 1 ) (Z 1 )
X 2 (Y 2 ) (Z 2 )
tp
tr
tf
N o te : F o r X , Y - a x is tr, tp , tf > 3 0 m s
F o r Z - a x is 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
HT82M21A
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
3
5 k W
S W 1
0 .0 1 m 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
S W 2
R E
S E
S D
S C
S E
6
7
S D IO
S C L K
8
9
O S C
O S C
V D
L E
1 5 k W
1 6
D
1 4
L
Z 2
Z 1
9
O S C _ IN
O S C _ O U T
X B
X A
Y B
Y A
3
2
1 2
4
1 1
5
1 0
H T 8 2 M 2 1 A
V D D
R _ B IN
1 1
0 .1 m F
1 3
R
1 4
1 8 .4 3 2 M H z
1 5
D
0 .1 m F
1 3
B
1 7
2
M
S E T
L 1
IO
L K
L 0
A
1 8
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
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
1 0 k W
M B
0 .1 m F
N o te :
0 .1 m F
R B
3 3 W
L B
6 M H z
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
: 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
1 .5 k W
V
V D D
2
1 0 m F
5 k W
S W 1
S W 2
0 .0 1 m F
4
3 3 W
3
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
7
S D IO
S C L K
8
9
R E
S E
S D
S C
S E
S E T
L 1
IO
L K
L 0
O S
O S
V
L
C 1
C 2
D D
E D
M
R
L
Z 2
Z 1
0 .1 m F
C
1 k W
3
1
5 k W
D D
3 0 k W
V S S
3 0 p F
1
U S B U S B +
1 M W
3 0 p F
3 3 p F
3 3 p F
A
1 8
1 0 0 W
1 0 0 k W
7
B
V D D
1 7
1 k W
5
X Y _ L E D
1 6
1 5
2 4 M H z
1 4
1
0 .1 m F
1 3
2
1 2
6
1 1
1 0
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
H T 8 2 M 2 1 A
A D N S 2 6 1 0
1 0 0 k W
1 0 k W
M B
0 .1 m F
N o te :
0 .1 m F
R B
3 3 W
L B
6 M H z
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 3 W
1 .5 k W
3 3 p F
Note:
3 3 p F
3 0 p F
1 M W
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
HT82M21A
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
Rev. 1.40
Dimensions in mil
Min.
Nom.
Max.
A
895
¾
915
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
HT82M21A
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-9533
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
Holmate Semiconductor, Inc. (North America Sales Office)
46729 Fremont Blvd., Fremont, CA 94538
Tel: 510-252-9880
Fax: 510-252-9885
http://www.holmate.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