Sunteți pe pagina 1din 6

HT82M21A

3-Key 3D USB+PS/2 Optical Mouse Controller


Features
Operating voltage: 4.4V~5.25V Complete Universal Serial Bus specs V1.1 HALT function and wake-up feature reduce power

consumption
Plug and Play functions Minimal external components 6MHz crystal oscillator for system clock Interface compliant with ADNS-2051, ADNS-2610

compatibility
Serial Bus Interface Engine (SIE) USB transceiver Microsoft 3D Intelli mouse and IBM PS/2 mouse

compatible
Supports three buttons (R, M, L) and Z-axis input Z-axis can support two kinds of scroller input

and ADNS-2620
Pass WHQL, USB-IF and EMC testing 18-pin DIP package

(optomechanical and mechanical)


Single chip solution especially for USB mouse

function

General Description
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 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.

Block Diagram

U S B T r a n s c e iv e r U S B R e c e iv e r

R e g is te r S e t

U S B D + U S B D -

U S B T r a n s m itte r

V 3 3 O

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

H o lte k 8 - b it M ic r o c o n tr o lle r

O S C 1 O S C 2

C lo c k G e n e ra to r

M a in S ta te m a c h in e

F IF O s 2

R C R E S E T

S u s p e n s io n C o n tro l

V D D V S S

Rev. 1.00

October 6, 2003

HT82M21A
Pin Assignment
V S S 1 2 3 4 5 6 7 8 9 V 3 3 O U S B D + /C L K U S B D -/D A T A R E S E T S E L 1 S D IO S C L K S E L 0 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 1 0 L Z 2 Z 1 R O S C 1 O S C 2 V D D L E D M

H T 8 2 M 2 1 A 1 8 D IP -A

Pin Description
Pin No. 1 2 3 4 5 Pin Name VSS V33O USBD+/CLK USBD-/DATA RESET I/O Negative power supply, ground O 3.3V voltage output I/O USB data plus or PS2 Clock, F/W auto-detect USBD+ for USB, CLK for PS2 I/O USB data minus or PS2 Data, F/W auto-detect USB- for USB, DATA for PS2 I Chip reset input, low active Configuration selections For ANDS 2051: SEL0=0: 800DPI (default) SEL0=1: 400DPI SEL1=0: Z-axis is divided by 2 (default) SEL1=1: Z-axis is divided by 4 For ANDS 2610/2620: SEL1=0, SEL0=don't care: Z-axis is divided by 2 (default) SEL1=1, SEL0=0: Z-axis is divided by 4 SEL1=1, SEL0=1: Z-axis is divided by 1 Description

6 9

SEL1 SEL0

7 8 10, 11

SDIO SCLK Z1, Z2

I/O Serial data for Agilent sensor IC SDIO I I I Serial data for Agilent sensor IC SCLK Z-axis input supports two kinds of scroller input; optomechanical and mechanical. Input ports with pull-high resistor. These pads can function as Left, Right, Middle.

12, 13, 14 L, R, M 15 16 17 18 LED VDD OSC2 OSC1

I/O Drives LED output 5V positive power supply O I 6MHz OSC output 6MHz OSC input

Absolute Maximum Ratings


Supply Voltage ..............................VSS-0.3V to VSS+6V MCU Input Voltage.....................VSS-0.3V to VDD+0.3V 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. Storage Temperature ............................-50C to 125C Operating Temperature...........................-25C to 70C

Rev. 1.00

October 6, 2003

HT82M21A
D.C. Characteristics
Symbol VDD IDD ISTB VIL1 VIH1 VIL2 VIH2 VIH3 VPOR IOL1 IOH1 IOL2 Parameter Operating Voltage Operating Current (Crystal OSC) Standby Current Input Low Voltage for I/O Ports Input High Voltage for MCU I/O Ports Input Low Voltage (RESET) Input High Voltage (RESET) Input High Voltage for USB I/O Ports Power on Reset VDD Detection Voltage Output Port Sink Current Output Port Source Current Output Port Sink Current (LED) Test Conditions VDD 5V 5V 5V 5V 5V 5V 3.3V 5V 5V 5V 5V VOL=0.5V VOL=4.5V VOL=4.5V Conditions USB mode No load, fSYS=6MHz PS/2 mode No load, system HALT Min. 4.4 0 3.5 0 3.5 2.8 3.5 Typ. 10 3 4 -4 50 Max. 5.25 250 1.0 5 1.5 5 3.6 3.9 Ta=25C Unit V mA mA mA V V V V V V mA mA mA

A.C. Characteristics
Symbol fSYS tOST Parameter System Clock (Crystal OSC) Oscillation Start-up Timer Period Test Conditions VDD 5V Conditions Power-up or wake-up form HALT Min. 0 Typ. 6000 1024 Max.

Ta=25C Unit kHz tSYS

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 tr, tP , tf > 1 m s tP tf

Z-axis Counting
Z 1 Z 2 + 1 + 1 -1 -1

Rev. 1.00

October 6, 2003

HT82M21A
Application Circuits
This Application Circuit is for Reference Only
V V D D U S B U S B + V S S 4 1 5 k W S W 1 5 k W S W 2 6 7 8 9 S D IO S C L K 3 4 5 2 1 8 1 2 D D M R L Z 2 Z 1 1 7 1 6 1 5 1 4 1 3 1 2 1 1 1 0 1 0 0 k W 1 0 k W M B 0 .1 m F 3 3 W 3 3 W 1 .5 k W 3 3 p F 3 3 p F 3 0 p F 1 M W 3 0 p F R B L B 6 M H z 0 .1 m F N o te : 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 5 4 0 .1 m F 3 2 1 1 0 m F 0 .0 1 m F 3 3 W C 3 0 k W 1 k W 0 .1 m F
D D

V S S V 3 3 O U S B D + /C L K U S B D - /D A T A R E S E S D S C S E S E T L 1 IO L K L 0 H T 8 2 M 2 1 A

O S C O S C V D L E

1 3 1 5 k W 1 8 .4 3 2 M H z 9 1 1 3 2 1 4 R _ B IN V D D 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 8 6 1 5 1 6 1 1 2 1 0 7

0 .1 m F 2 .2 m F 0 W

O S C _ IN O S C _ O U T X B X A Y B Y A

S D IO S C L K

A D N S 2 0 5 1

V V D D U S B U S B + V S S 4 1 5 k W S W 1 5 k W S W 2 6 7 8 9 S D IO S C L K 3 4 5 2 3 2 1 1 0 m F

D D

0 .0 1 m F 3 3 W 1 8 1 7 1 6 1 5 1 4 1 3 1 2 1 1 1 0 1 0 0 k W 1 0 k W M B 0 .1 m F 6 M H z 0 .1 m F C 3 0 k W 1 k W A

0 .1 m F 1 0 0 W 7 B V D D X Y _ L E D 2 4 M H z 1 2 6 O S C _ IN O S C _ O U T G N D A D N S 2 6 1 0 S D IO S C L K R E F A 8 2 .2 m F 4 3 5 1 0 0 k W 1 k W

V S S V 3 3 O U S B D + /C L K U S B D - /D A T A R E S E S D S C S E S E T L 1 IO L K L 0 H T 8 2 M 2 1 A

O S O S V L

C 1 C 2 D D E D M R L Z 2 Z 1

S D IO S C L K

N o te :

0 .1 m F

3 3 W 3 3 W 1 .5 k W 3 3 p F 3 3 p F

R B L B

( S W 2 = o p e n , S W 1 = X ) : Z /2 ( d e fa u lt) ( S W 2 = c lo s e , S W 1 = o p e n ) : Z /4 ( S W 2 = c lo s e , S W 1 = c lo s e ) : Z /1

3 0 p F

1 M W

3 0 p F

Note:

Layout 0.1mF capacitor, 33W resistor and 0.01mF capacitor as close to VDD pin as possible.

Rev. 1.00

October 6, 2003

HT82M21A
Package Information
18-pin DIP (300mil) Outline Dimensions

A 1 8 B 1 1 0 9

H C D E G F

a
I

Symbol A B C D E F G H I a

Dimensions in mil Min. 895 240 125 125 16 50 295 335 0 Nom. 100 Max. 915 260 135 145 20 70 315 375 15

Rev. 1.00

October 6, 2003

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. (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 (Shanghai) Inc. 7th Floor, Building 2, No.889, Yi Shan Rd., Shanghai, China Tel: 021-6485-5560 Fax: 021-6485-0313 http://www.holtek.com.cn Holtek Semiconductor (Hong Kong) Ltd. Block A, 3/F, Tin On Industrial Building, 777-779 Cheung Sha Wan Rd., Kowloon, Hong Kong Tel: 852-2-745-8288 Fax: 852-2-742-8657 Holmate Semiconductor, Inc. 46712 Fremont Blvd., Fremont, CA 94538 Tel: 510-252-9880 Fax: 510-252-9885 http://www.holmate.com Copyright 2003 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. Holteks 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

October 6, 2003

S-ar putea să vă placă și