eKM8022
USB & PS/2
Mouse Controller
Product
Specification
DOC . VERSION 1.0
ELAN MICROELECTRONICS CORP.
April 2004
T rademark Acknowledgments:
IBM is a registered trademark and PS/2 is a trademark of IBM.
Windows is a trademark of Microsoft Corporation.
ELAN and ELAN logo are trademarks of ELAN Microelectronics Corporation.
Copyright © 2005 by ELAN Microelectronics Corporation
All Rights Reserved
Printed in Taiwan
The contents of this specification are subject to change without further notice. ELAN Microelectronics assumes
no responsibility concerning the accuracy, adequacy, or completeness of this specification. ELAN
Microelectronics makes no commitment to update, or to keep current the information and material contained in
this specification. Such information and material may change to conform to each confirmed order.
In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors, omissions, or
other inaccuracies in the informati on or material containe d in this specifica tion. ELAN Microelect ronics shall not
be liable for direct, indirect, special incidental, or cons equentia l damages ari sing from the use of such inf ormation
or material.
The software (if any) described in this specification is furnished under a license or nondisclosure agreement, and
may be used or copied only in accordance with the terms of such agreement.
ELAN Microelectronics products are not intended for use in life support appliances, devices, or systems. Use of
ELAN Microelectronics product in such applications is not supported and is prohibited.
NO PAR T OF THIS SPECIFICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY
ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS.
ELAN MICROELECTRONICS CORPORATION
Headquarters:
No. 12, Innovation Road 1
Hsinchu Science Park
Hsinchu, Taiwan 30077
Tel: +886 3 563-9977
Fax: +886 3 563-9966
http://www.emc.com.tw
Hong Kong:
Elan (HK) Microelectronics
Corporation, Ltd.
Rm. 1005B, 10/F Empire Centre
68 Mody Road, Tsimshatsui
Kowloon , HONG KONG
Tel: +852 2723-3376
Fax: +852 2723-7780
elanhk@emc.com.hk
USA:
Elan Information
Technology Group
1821 Saratoga Ave., Suite 250
Saratoga, CA 95070
USA
Tel: +1 408 366-8223
Fax: +1 408 366-8220
Europe:
Elan Microelectronics Corp.
(Europe)
Siewerdtstrasse 105
8050 Zurich, SWITZERLAND
Tel: +41 43 299-4060
Fax: +41 43 299-4079
http://www.elan-europe.com
Shenzhen:
Elan Microelectronics
Shenzhen, Ltd.
SSMEC Bldg., 3F, Gaoxin S. Ave.
Shenzhen Hi-Tech Industrial Park
Shenzhen, Guandong, CHINA
Tel: +86 755 2601-0565
Fax: +86 755 2601-0500
Shanghai:
Elan Microelectronics
Shanghai Corporation, Ltd.
23/Bldg. #115 Lane 572, Bibo Roa
Zhangjiang Hi-Tech Park
Shanghai, CHINA
Tel: +86 021 5080-3866
Fax: +86 021 5080-4600
Contents
Contents
1 General Description.................................................................................................. 1
2 Features ..................................................................................................................... 1
3 Pin assignment.......................................................................................................... 2
3.1 eKM8022A (18-Pin) for 3D3K Z/2....................................................................... 2
3.2 eKM8022A (18-Pin) Bounding PAD................................................................. 2
3.3 eKM8022B (20-Pin) for 3D3K Z/4 ...................................................................... 3
3.4 eKM8022B (20-Pin) Bounding PAD.................................................................3
4 Function Description ................................................................................................ 4
4.1 Quadrature Signal Timing Diagram .................................................................... 4
4.1.1 X、Y、 Z Axis Counting .......................................................................................4
4.1.2 Quadrature Output Crossed Width Limit.............................................................5
4.2 PS/2 Function Description.................................................................................. 5
4.2.1 PS/2 Mouse Commands Description ..................................................................5
4.2.2 Microsoft PS/2 Scrolling Mouse ..........................................................................5
4.2.3 USB function Description ....................................................................................7
5 Absolute Maximum Rating....................................................................................... 8
6 Electrical Characteristic ........................................................................................... 8
7 Package Diagram ...................................................................................................... 9
7.1 PDIP-18L 300MIL PACKAGE OUTLINE DIMENSION(Unit:mm) ....................... 9
7.2 PDIP-20L 300MIL PACKAGE OUTLINE DIMENSION(Unit:mm) ....................... 9
7.3 SOP-18L 300MIL PACKAGE OUTLINE DIMENSION(Unit:mm) ...................... 10
7.4 SOP-20L 300MIL PACKAGE OUTLINE DIMENSION(Unit:mm) ...................... 10
8 Pad List Information ................................................................................................11
8.1 eKM8022A Pad Configuration .......................................................................... 11
8.2 eKM8022A Pad Name & Coordinate Table ...................................................... 11
8.3 eKM8022B Pad Configuration.......................................................................... 12
8.4 eKM8022B Pad Name & Coordinate Table ...................................................... 12
9 Application Circuit .................................................................................................. 13
9.1 NOTICE DIAGRAM .......................................................................................... 13
9.2 COMPONENTS IN DETAIL.............................................................................. 13
9.3 eKM8022A_Mechanical Z/2 Application For Ball Type..................................... 14
9.4 eKM8022B_Photo_Z/4 Application For Ball Type............................................. 14
9.5 eKM8022A_Mechanical Z/2 Application For OM02.......................................... 15
9.6 eKM8022B_Photo Z/4 Application For OM02 .................................................. 15
Product Specification (V1.0) 4.16.2004 • iii
Contents
Specification Revision History
Doc. Version Revision Description Date
1.0 Preliminary version 2004/04/16
iv • Product Specification (V1.0) 4.16.2004
1 General Description
The eKM8022 is a Mouse Controller designed to control both USB & PS/2 Mouse
device for XY Quadrature mode. This Mouse Controller can auto detect USB or PS/2
mode, and supports X, Y, Z three axes with 400/800 DPI(simulated by firmware), and L,
R, M three buttons under both USB and PS2 mode.
2 Features
Universal Serial Bus Specification, version 1.1
USB HID Specification, version 1.11
Auto-detecting PS/2 port or USB port.
Compatible with Microsoft 3D PS/2 mouse.
eKM8022
USB & PS/2 Mouse Controller
Support 3D (X,Y,Z) 3 Key (L,R,M) input.
Support Z/2 and Z/4 two Z-axis input type.
Support Agilent HDNS2000、ADNS2051 、OM01 、OM02 、 PixArt
PAN101BOI/BSI Optical Mouse Sensor.
800DPI simulated by firmware.
Applications:
3D, 3 Buttons USB and PS/2 Combo Mouse
Package:
18 Pin PDIP (300MIL) eKM8022AP 3D 3K Z/2
18 Pin SOP (300MIL) eKM8022AM 3D 3K Z/2
20 Pin PDIP (300MIL) eKM8022BP 3D 3K Z/4
20 Pin SOP (300MIL) eKM8022BM 3D 3K Z/4
Product Specification (V1.0) 4.16.2004
(This specification is subject to change without further notice)
• 1
eKM8022
USB & PS/2 Mouse Controller
3 Pin assignment
3.1 eKM8022A (18-Pin) for 3D3K Z/2
4 3 2 1 18171615
L KEY / Z_SEL□
IR_C□
Z1□
Z2□
R KEY□
D_SEL□
VSS□
V3.3□
OSCI□
1 18
2 17
3 16
4 15
5 14
6 13
7 12
8 11
9 10
□X1
□X2
□Y1
□Y2
□M KEY
□D+ / CLK
□D- / DATA
□VDD
□OSCO
3.2 eKM8022A (18-Pin) Bounding PAD
Symbol I/O PIN Function
L I 1 Left Key Input
Z_SEL I 1
IR_C O 2 IR(Sensor power) Control Pin 1
Z1 I 3 Z axis Input 1
Z2 I 4 Z axis Input 2
R I 5 Right Key Input
D_SEL I 6
VSS - 7 GND
V
O 8
3.3V
OSCI I 9 6MHz ceramic resonator input.
OSCO I/O 10 Return path for 6-MHz ceramic resonator.
VDD - 11 5 V Power Input
D- / DATA I/O 12 USB D- or PS/2 Data I/O
D+ / CLK I/O 13 USB D+ or PS/2 CLK I/O
M I
Y2 I 15 Y axis Input 2
Y1 I 16 Y axis Input 1
X2 I 17 X axis Input 2
X1 I 18 X axis Input 1
Z/2 / Z/4 Selection Pin,FLOATING for Z/2;PULL HIGH 5.1K TO 3.3V for
Z/4
400/800DPI Select Pin, Floating for 400DPI , GND for 800DPI)
3.3V DC voltage output from internal regulator. This pin has to be tied to
a 4.7μ F capacitor.
14 Middle Key Input
□□□□□□□□
+
□
5 1 4
□
6 X
□
7
8 9 101112
(0,0)
□ □□□□
13
□
□
□
Product Specification (V1.0) 4.16.2004
2 •
(This specification is subject to change without further notice)