Part Number Hot Search : 
PIC16F 05220 PIC16F R1660CT 62004 00212 PIC16F 62004
Product Description
Full Text Search
 

To Download EKM8022 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 EKM8022
Preliminary
USB & PS/2 Mouse Controller
1. General Description
The EKM8022 is an Mouse Controller designed to control both USB & PS/2 Mouse device with 400/800 dpi selector for XY Quadrature. This Mouse Controller can auto detect USB or PS/2 mode, and supports X,Y,Z three axes with 400/800 dpi, and L, R, M three buttons under both USB and PS2 mode.
2. Features
1


Universal Serial Bus Specification, version 1.1 USB HID Specification, version 1.1 Auto-detecting PS/2 port or USB port. Compatible with Microsoft 3D PS/2 mouse. Support 3D (X,Y,Z) 3 Key (L,R,M) input. Support Z/2 mechanical and Z/4 Photo(EKM8022B) Z-axis input type. Support Agilent HDNS-2000ADNS2051ELAN eKL0001PixArt PAN101BOI/BSI Optical Mouse Sensor.
Applications 3D, 3 Buttons USB and PS/2 Combo Mouse with 400/800 dpi. Package DIP18EKM8022AP SOP18EKM8022AM DIP20EKM8022BP SOP20EKM8022BM
2003/12/5
EKM8022
Preliminary
USB & PS/2 Mouse Controller
3. Pin assignment
EKM8022A (18-Pin)
IR_C 2 Z1 3 Z2 4 R KEY 5 D_SEL 6 VSS 7 V3.3 8 OSCI 9
Symbol
OSCI OSCO V3.3V X1 X2 Y1 Y2 Z1 Z2 R M L IR_C D_SEL D+ / CLK D- / DATA VDD VSS
I/O
I I/O O I I I I I I I I I I/O I I/O I/O -
PIN
9 10 8 18 17 16 15 3 4 5 14 1 2 6 13 12 11 7 6MHz ceramic resonator input.
Return path for 6-MHz ceramic resonator. 3.3V DC voltage output from internal regulator. This pin has to be tied to a 4.7F capacitor. X axis Input 1 X axis Input 2 Y axis Input 1 Y axis Input 2 Z axis Input 1 Z axis Input 2 Right Key Input Middle Key Input Left Key Input IR Control Pin. 400DPIFloating800DPIGround USB D+ or PS/2 CLK USB D- or PS/2 Data 5 V Power Input GND I/O I/O
2



L KEY 1
18 X1 17 X2 16 Y1 15 Y2 14 M KEY 13 D+/CLK 12 D-/Data 11 VDD 10 OSCO
Function
2003/12/5
EKM8022
Preliminary
EKM8022B (20-Pin)
USB & PS/2 Mouse Controller
IR_C 2 Z1 3 Z2 4 R KEY 5 D_SEL 6 VSS 7 VSS 8 V3.3 9
OSCI 10
Symbol
OSCI OSCO V3.3V X1 X2 Y1 Y2 Z1 Z2 R M L IR_C IR_C2 D_SEL D+ / CLK D- / DATA VDD VSS
I/O
I I/O O I I I I I I I I I I/O I/O I I/O I/O -
PIN
10 11 9 20 19 18 17 3 4 5 16 1 2 15 6 14 13 12 7,8 6MHz ceramic resonator input.
Return path for 6-MHz ceramic resonator. 3.3V DC voltage output from internal regulator. This pin has to be tied to a 4.7F capacitor. X axis Input 1 X axis Input 2 Y axis Input 1 Y axis Input 2 Z axis Input 1 Z axis Input 2 Right Key Input Middle Key Input Left Key Input IR Control Pin. IR Control Pin 400DPIFloating800DPIGround USB D+ or PS/2 CLK I/O USB D- or PS/2 Data I/O 5 V Power Input GND
3



L KEY 1
20 X1 19 X2 18 Y1 17 Y2 16 M KEY 15 IR_C2 14 D+/CLK 13 D-/Data 12 VDD 11 OSCO
Function
2003/12/5
EKM8022
Preliminary
USB & PS/2 Mouse Controller
4. Function description
RETNUOC-X
Fig-1 : Function block Hex Code
FF FE F6 F5 F4 F3,XX F2 F0 EE EC EB EA E9 E8 E7 E6
PS/2 function description
PS/2 Mouse Commands Description Command
Reset Resend Set Default Disable Enable Set Sampling Rate Read Device Type Set Remote Mode Set Wrap Mode Reset Wrap Mode Read Data Set Stream Mode Status Request Set Resolution Set Autospeed Reset Autospeed
EKM8022 echo code
FA,AA,00 XX,(XX,XX) FA FA FA FA,FA FA,00 FA FA FA FA,XX,XX,XX FA FA,XX,XX,XX FA,FA FA FA
4
ATAD/-D KLC/+D
TIUCRIC TCETED
O/I ATAD
RELLORTNOC LOCOTORP BSU RELLORTNOC LOCOTORP 2/SP ROTCELES EDOM REXELPITLUM
2003/12/5
SSECORP ATAD
RETSIGER MTB
RETNUOC-Y RETNUOC-Z RM L RML
C_RI
Y X Z
C_RI
2Y 1Y 2X 1X 2Z 1Z


EKM8022
Preliminary
USB & PS/2 Mouse Controller
5

Microsoft PS/2 scrolling mouse
(A) Entering procedure: Except in WRAP mode, while EKM8022 received the following consecutive command. i. F3 C8 ---- set sampling rate 200/sec ii. F3 64 ---- set sampling rate 100/sec iii. F3 50 ---- set sampling rate 80/sec (B) Operating: a. All of the commands in legacy mode still be valid. b. The ID code of read device type command (F2) will changed from "00" to be "03". c. Data report will be four bytes format:
Byte
1
Bit
0 1 2 3 4 5 6 7 0-7 0-7 0-7
Description
Left button status; 1 = pressed Right button status; 1 = pressed Middle button status; 1 = pressed Reserve X data sign; 1 = negative Y data sign; 1 = negative X data overflow; 1 = overflow Y data overflow; 1 = overflow X data (D0-D7) Y data (D0-D7) Z data (D0-D7)
2 3 4
(C) Exiting Microsoft scrolling mode: There are two ways to exit: a. Power off. b. Reset command (FF). Z-axis Input Function : The Z0-Z7 limit value is 7 Z-axis counter accumulates the Z1, Z2 phase changed by movement. This mode includes noise immunity. Z/2 : 2 dot per count. The wheel should stay at Z1=0, Z2=0 or Z1=1, Z2=1 Phase Z/4 : 4 dots per count. the wheel should stay at Z1=0, Z2=0 phase.
2003/12/5
EKM8022
Preliminary
USB & PS/2 Mouse Controller
6


USB function Description
Each Descriptor in USB Mode. Descriptor Type
Device Descriptor
Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8
12 67 00 09 01 12 01 02 04 21 05 01 01 04 04 00 7F 09 15 B1 22 00 00 81 09 29 75 81 09 75 38 00 22 00 00 01 03 02 04 01 03 30 08 95 25 95 01 01 00 08 A1 15 81 05 09 95 01 01 07 01 03 01 00 01 00 02 01 31 02 81 75 B1 00 01 22 0A 05 25 95 09 15 81 06 01 01 09 01 01 01 81 06 09 95 C0 A0 02 48 10 10 01 02 00 01 00 00 00 00 08 02
Configuration Descriptor Interface Descriptor HID Descriptor Endpoint
32 09 00 09 00 07 05 19 95 75
HID Report Descriptor
A1 25 C0 3C 01
USB Mouse Report Data Type
Byte0 Byte1 Byte2 Byte3
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
0
Bit7
0
Bit6
0
Bit5
0
Bit4
0
Bit3
M
Bit2
R
Bit1
L
Bit0
X-AXIS
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Y-AXIS
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Z-AXIS
2003/12/5
EKM8022
Preliminary
USB & PS/2 Mouse Controller
5. Absolute Maximum Rating
Symbol Temperature under bias Storage temperature Input voltage Output voltage min 0 -65 -0.5 -0.5 Max 70 150 6.0 6.0 unit C C V V
6. Electrical Characteristic
(T = 0C ~70C, VDD=4.4~5.2V, VSS=0V)
Symbol Parameter Condition 3.3V Regulator VRag VResetL VResetH Output voltage of 3.3v Regulator Low Power Reset detecting low Voltage Low Power Reset detecting high Voltage MCU operating IIL VIHX VILX Input Leakage Current for input pins Clock Input High Voltage Clock Input Low Voltage VIN=VDD,VSS OSCI OSCI GPIO Pins VHL VOH VOL IPH High/Low level transfer point Output High Voltage Output Low Voltage Input current with pull-high resister Input IDrive = 5.0mA ISink = 5.0mA The input pin with internal pull-high resistor of Port6 or port7 is connected to VSS. The input pin with internal pull-low resistor of Port6 is connected to VDD. USB Interface VOH VOL VDI VCM VSE CIN VRG RPH Static Output High Static Output Low Differential Input Sensitivity Differential Input Command Mode Range Single Ended Receiver Threshold Transceiver Capacitance Output Voltage of Internal Regulator Internal Pull-high Resistor USB operation Mode USB operation Mode 2.8 0.2 0.8 0.8 3.0 -20% 1.5 3.6 0.3 2.5 2.0 20 3.6 +20 % V V V V V pF V k 2.4 1.1 25 0.4 V V V A 2.5 1 1.0 A 2.4 VDD = 4.2V ~ 5.2V 3.0 3.3 3.6 2.3 V V V Min Type Max Unit
IPL
Input current with pull-low resister
-
330
-
7
2003/12/5

V
V
A
EKM8022
Preliminary
USB & PS/2 Mouse Controller
7. Application circuit
NOTICE
EKM8022A R2 VDD C4 C3 C2
8

11
VDD
+
VSS PORT
7
VSS
8
+ C1 R1
V3.3
1
L
R1 = 100K For EKM8022 MTP R2 = 10 For Keeping From EST C1 = 4.7uF Should Be Close To V3.3 C2 = 10uF Should Be Close To EKM8022 For Keeping From ESD C3 = 0.1uF Should Be close To Port For Keeping From ESD C4 Is Reserved For Keeping From EMI
2003/12/5
EKM8022
Preliminary
EKM8022A_Mechanical Z/2 Application For Ball Type
USB & PS/2 Mouse Controller
EKM8022B_Photo_Z/4 Application For Ball Type
V3.3
EKM8022B 10 12 VDD CLK DATA VSS + PORT 4.7uF 9 100K 1 16 L M R Y1 D_SEL VNN OSCI Y2 OSCO 17 11 4 200 IR_C2 V3.3 IR_C 14 13 VDD D+/CLK D-/DATA 4 VSS Z2 15 2 5 2 20 19 4 6 1 4 Z1 3 6 1
8
VDD 10uF + 0.1uF R4 R3
5 6
7 10
6M
20P
20P
NOTER3 GND FOR 800DPIFLOATING FOR 400DPIR4 GND AND L KEY PULL HIGH 100K FOR MTP 9 2003/12/5








6 EKM8022A 10 VDD CLK DATA VSS PORT IR_C VDD D+/CLK D-/DATA VSS D_SEL 18 4 X1 X2 16 15 4 6 2 5
1
11
2
13 12 7 R3 6
1
Y1
17
5 2
V3.3
100K Y2 200 VDD 10uF + 0.1uF 5 1 14 L M R OSCI Z1 Z2 V3.3 OSCO 3 4 1 1 2 2 Z-AXIS 8 4.7uF 10 +
9
6M
20P
20P
NOTER3 GND FOR 800DPIFLOATING FOR 400DPI
5 2
1K
6
1
X1 X2
18
5 2
EKM8022
Preliminary
USB & PS/2 Mouse Controller
EKM8022A_Mechanical Z/2 Application For OM01(ADNS2051 Compatible)
100uF + 0.1uF ELAN SERSOR EKM8022A 10 VDD CLK DATA VSS + X2 VDD X1 D+/CLK D-/DATA VSS Y1 Y2
EKM8022B_ Photo Z/4 Application For e OM01 (ADNS2051 Compatible)
100uF + 0.1uF ELAN SERSOR_1 EKM8022B 10 VDD CLK DATA VSS + PORT 4.7uF X2 VDD X1 D+/CLK D-/DATA VSS Y1 Y2
12 14 13 8
VNN D_SEL
9
100K
V3.3
Z1 L Z2 IR_C2 M
VDD 10uF
+
1 16 5 10
0.1uF
R
IR_C
OSCI
OSCO
6M 20P 20P
Z1 6 1
NOTER3 GND FOR 800DPIFLOATING FOR 400DPIR4 GND AND L KEY PULL HIGH 100K FOR MTP 10 2003/12/5








13 2 17 3 18 4 16 5 15 1 16
VDD X2 X1
ROSCA
11
51K
11 13 12 7
4.7uF 1 1 Z-AXIS 2 2
9
ROCSB XY_LED
HLMP-ED80
Y1 Y2 REFA TCLK TIO PD GND R_BIN GND REFB
6 7
+ 4.7uF 0.1uF
PORT
8 10 12
3 4 8
Z1 Z2 V3.3 12K D_SEL
15 6
R3
14
VDD 10uF
+ 100K
0.1uF
1 14 5 9
L M R OSCI OSCO IR_C
1.5K
Q1
2
3904
10
6M 20P 20P
NOTER3 GND FOR 800DPIFLOATING FOR 400DPI
13 2 19 3 20 4 18 5 17 7 6 3 4
12K R4 R3
VDD X2 X1
ROSCA
11
51K
9
ROCSB XY_LED
HLMP-ED80
Y1 Y2 REFA TCLK TIO PD GND R_BIN GND REFB
6 7
+ 4.7uF 0.1uF
1 16 15 14
8 10 12
15
1.5K Q1
2
3904
11 V3.3
5 2 4
1K IR_C2
Z2
EKM8022
Preliminary
USB & PS/2 Mouse Controller
EKM8022A_Mechanical Z/2 Application For OM01 (HDNS2000 Compatible)
100uF + 0.1uF ELAN SENSOR 68
VDD 10uF
+ 100K
0.1uF
NOTER3 GND FOR 800DPIFLOATING FOR 400DPI
EKM8022B_ Photo Z/4 Application For OM01 (HDNS2000 Compatible)
100uF + 0.1uF ELAN SENSOR_1 68
EKM8022B 10 VDD CLK DATA VSS + PORT 4.7uF X2 VDD X1 D+/CLK D-/DATA VSS VNN Y1 Y2
12 14 13 8
9 VDD 10uF
+ 100K
V3.3
D_SEL Z1
1 16 5 10
0.1uF
L
Z2 IR_C2
M IR_C R
OSCI
OSCO
6M
Z1
20P
20P
5 2 4 1K IR_C2
NOTER3 GND FOR 800DPIFLOATING FOR 400DPIR4 GND AND L KEY PULL HIGH 100K FOR MTP 11 2003/12/5





+



13
EKM8022A 10 VDD CLK DATA VSS PORT 4.7uF X2 VDD X1 D+/CLK D-/DATA VSS Y1 Y2
VDD R_BIN X2 X1 Y1 Y2 ROSCB XY_LED REFA ROSCA
14 2 17 3 18 4 16 5 15 1 16
11
HLMP-ED80 51K
11 13 12 7
9 6 7
+ 4.7uF 0.1uF
Q1
3904
TCLK TIO PD
REFB GND GND
8 10 12
1 1 Z-AXIS
2 2
3 4 8
Z1 Z2 D_SEL V3.3 R3
15 6
1
L 1.5K IR_C
Q1
14 5 9
2
3904
M R OSCI
OSCO
10
6M 20P 20P
13 14 2 19 3 20 4 18 5 17 7 R4 6 3 4 15
R3
VDD R_BIN X2 X1 Y1 Y2 ROSCB XY_LED REFA ROSCA
11
HLMP-ED80 51K
9 6 7
+ 4.7uF 0.1uF
Q1
3904
1 16 15
TCLK TIO PD
REFB GND GND
8 10 12
1.5K
Q1
2
3904
11
V3.3
6
1
Z2
EKM8022
Preliminary
EKM8022A_Mechanical Z/2 Application For HDNS2000
USB & PS/2 Mouse Controller
EKM8022B_ Photo Z/4 Application For HDNS2000
EKM8022B 10 VDD CLK DATA VSS PORT 100K
12 14 13 8 V3.3
X2 VDD X1 D+/CLK D-/DATA VSS Y1 Y2 V3.3
19 20 18 17 9
+ 4.7uF + 2.2uF
1 VDD 10uF
+ L Z1
3 4 15
1.5K Q1
16 5
R3 R4
M R
0.1uF
Z2 IR_C2
6 7 10
D_SEL VNN OSCI IR_C OSCO
2
3904
11 V3.3
6 1
6M 20P 20P
Z1
NOTER3 GND FOR 800DPIFLOATING FOR 400DPIR4 GND AND L KEY PULL HIGH 100K FOR MTP 12 2003/12/5








4.7uF
+
0.1uF
HDNS-2000
13
EKM8022A 10 VDD CLK DATA VSS PORT X2 VDD X1 D+/CLK D-/DATA VSS Y1 Y2 V3.3
VDD VDD XA
NRESET OSC_OUT
15 11
HLMP-ED80 18M
14 17 18 16 15 8
+ 2.2uF
2 3 4 5 7
0.1uF
11 13 12 7 VDD 10uF
+
OSC_IN XB YB YA SCLK VDD3 SDIO GND REFB GND XY_LED
9
Q1
6 1 16 10 12
3904
V3.3
100K Z1 Z2
3 4
1 1
2 2 Z-AXIS + 4.7uF
8
0.1uF
1 14 5
R3
L
M R IR_C D_SEL OSCI OSCO 1.5K Q1
2
3904
6 9
10
6M 20P 20P
NOTER3 GND FOR 800DPIFLOATING FOR 400DPI
4.7uF
+
0.1uF
HDNS-2000_1
13 14 2 3 4 5 7
0.1uF
VDD VDD XA
NRESET OSC_OUT
15 11
HLMP-ED80 18M
OSC_IN XB YB YA SCLK VDD3 SDIO GND REFB GND XY_LED
9
Q1
6 1 16 10 12
3904
8
5 2 4
1K IR_C2
Z2
EKM8022
Preliminary
EKM8022A_Mechanical Z/2 Application For ADNS 2051
USB & PS/2 Mouse Controller
VDD 10uF
+
0.1uF
IR_C
NOTER3 GND FOR 800DPIFLOATING FOR 400DPI
EKM8022B_ Photo Z/4 Application For ADNS 2051
4.7uF + 0.1uF EKM8022B 10 VDD CLK DATA VSS + PORT 4.7uF X2 VDD X1 D+/CLK D-/DATA VSS R1 REFB SCLK SDIO PD GND GND Y1 Y2 ADNS-2051
12 14 13 8
9 V3.3
V3.3
Z1 Z2
VDD 10uF
+
100K
1 16 5
R4 R3
IR_C2 L M R VNN D_SEL OSCI OSCO IR_C
0.1uF
7 6 10
6M 20P 20P
NOTER3 GND FOR 800DPIFLOATING FOR 400DPIR4 GND AND L KEY PULL HIGH 100K FOR MTP 13 2003/12/5





+



4.7uF
+ 0.1uF ADNS-2051
EKM8022A 10 VDD CLK DATA VSS PORT 4.7uF X2 VDD X1 D+/CLK D-/DATA VSS Y1 Y2
13 17 18 16 15 V3.3
100K
VDD XA XB YB
OSC_OUT
11
18M
2 3 4 5 14
R1
11 13 12
OSC_IN XY_LED
9 6 7
+ 2.2uF
HLMP-ED80
YA REFA R_BIN REFB SCLK SDIO PD GND GND
0.1uF
8 10 12
8
1 1 Z-AXIS 2 2
V3.3 Z1
L M R
1 14 5 6
R3
1 16 15
3 4
Z2 D_SEL
2
1.5K
Q1
3904
9
OSCI
OSCO
10
6M 20P 20P
13 19 20 18 17 2 3 4 5 14
VDD XA XB YB
OSC_OUT
11
18M
OSC_IN XY_LED
9 6 7
+ 2.2uF
HLMP-ED80
YA REFA R_BIN
0.1uF
8 10 12
3 4 15
Q1
1 16 15
1.5K
2
3904
V3.3 11
Z1 6 1
5 2 4
1K IR_C2
Z2
EKM8022
Preliminary
EKM8022A_Mechanical Z/2 Application For PAN101BOI(PixArt)
USB & PS/2 Mouse Controller
VDD 10uF
+ 100K
0.1uF
NOTER3 GND FOR 800DPIFLOATING FOR 400DPI
EKM8022B_ Photo Z/4 Application For PAN101BOI(PixArt)
EKM8022B 10 VDD CLK DATA VSS + PORT 4.7uF VNN X2 VDD X1 D+/CLK D-/DATA VSS Y1 Y2 D_SEL
19 20 18 17 6 7
R3 R4
12 14 13 8
9
100K
V3.3
VDD 10uF
+
1 16 5 10
L
Z1 Z2
3 4
0.1uF
M IR_C2 R IR_C OSCI OSCO
15 2 11
1.5K
6M 20P 20P
Z1 6 1
NOTER3 GND FOR 800DPIFLOATING FOR 400DPIR4 GND AND L KEY PULL HIGH 100K FOR MTP 14 2003/12/5





+



300K EKM8022A 10 VDD CLK DATA VSS PORT 4.7uF 1 1 Z-AXIS 2 2 X2 VDD X1 D+/CLK D-/DATA VSS Y1 Y2
300K
300K
300K PAN101BOI R1
17 18 16 15
12 14 17 15 13
11 13 12 7
XA XB YB YA
SCLK SDIO PD LED
18 19 20 2 3
18M HLMP-ED80
NC OSCOUT NC VDD OSCIN VDD VSS_LED VRB VSSD VRT VAY VSSA
V3.3 16 7 6
D_SEL R3 4.7uF 0.1uF 0.1uF
3 4 8
Z1 Z2 V3.3
4 1 5 6
8 9 10 11
1 14 5 9
L M R OSCI IR_C OSCO 1.5K
1uF Q1
2 10
3904
6M 20P 20P
300K
300K
300K
300K PAN101BOI_1 R1
12 14 17 15 13 V3.3 16 7 8 9
4.7uF 0.1uF 0.1uF
XA XB YB YA
SCLK SDIO PD LED
18 19 20 2 3
18M HLMP-ED80
NC OSCOUT NC VDD OSCIN VDD VSS_LED VRB VSSD VRT VAY VSSA
4 1 5 6
10 11
1uF Q1
3904
V3.3
5 2 4
1K IR_C2
Z2


▲Up To Search▲   

 
Price & Availability of EKM8022

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X