ChipFind - документация

Электронный компонент: EKM8050

Скачать:  PDF   ZIP

Document Outline

eKM8050
Preliminary
USB & PS/2 Optical Mouse Controller
1. General Description
The eKM8050 is a Mouse Controller designed to control both USB & PS/2 Optical Mouse device.
This Mouse Controller can auto detect USB or PS/2 mode, and supports X,Y,Z three axes , 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.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, Z/2 Photo, and Z/4 Photo(eKM8050B) Z-axis input type.
Support Agilent HDNS-2051 & 2610 & 2620 Optical Mouse Sensor.
Applications
3D, 3 Buttons USB and PS/2 Combo Mouse.

3. Pin assignment












eKM8050A (18-Pin)


1
2003/7/1
CPIS 1
18 Z1
L KEY 2 17 Z2
R KEY 3 16 IR_C
M KEY 4 15 PD
SCLK 5 14 SDIO
VSS 6 13 D+/CLK
VSS 7 12 D-/Data
V3.3 8 11 VDD
OSCI 9 10 OSCO
eKM8050
Preliminary
USB & PS/2 Optical Mouse Controller









eKM8050B (18-Pin)

Symbol I/O
PIN
Function
OSCI
I
9
6MHz ceramic resonator input.
OSCO
I/O
10
Return path for 6-MHz ceramic resonator.
V
3.3V
O
8
3.3V DC voltage output from internal regulator. This pin has to be tied to a 4.7F capacitor.
Z1
I
18
Z axis Input 1
Z2 I
17
Z axis Input 2
IR_C I/O 16
IR Control Pin
PD I
15
2051 Power Down Pin
CPIS I 1
400/800 CPI Selection Pin ; 1 : 800 CPI ; 0 : 400 CPI
R I
3
Right Key Input
M
I
4
Middle Key Input
L
I
2
Left Key Input
SCLK
I/O
5
Serial Clock to Agilent sensor IC SCLK
SDIO
I/O
14
Serial Data from Agilent sensor IC SDIO
D+ / CLK
I/O
13
USB D+ or PS/2 CLK I/O
D- / DATA
I/O
12
USB D- or PS/2 Data I/O
V
DD
-
11
5 V Power Input
V
SS
-
6,7
GND
Z_SEL
I
6
Z/2 : GroundZ/4: Floating This function only support by eKM8050B
2
2003/7/1
CPIS 1
18 Z1
L KEY 2 17 Z2
R KEY 3 16 IR_C
M KEY 4 15 PD
SCLK 5 14 SDIO
Z_SEL 6 13 D+/CLK
VSS 7 12 D-/Data
V3.3 8 11 VDD
OSCI 9 10 OSCO
eKM8050
Preliminary
USB & PS/2 Optical Mouse Controller
4. Function description
Z
DETECT
CIRCUIT
X-COUNTER
Y-COUNTER
Z-COUNTER
MODE
SELECTOR
DATA
I/O
D+/CLK
D-/DATA
BTM
REGISTER
L M R
SCLK
SDIO
Z1
Z2
L M R
DATA
PROCESS
MULTIPLEXER
USB PROTOCOL
CONTROLLER
PS/2 PROTOCOL
CONTROLLER
IR_C
IR_C
SENSOR
Interface
PD
CPIS
Fig-1 : Function block
PS/2 function description
PS/2 Mouse Commands Description
3
2003/7/1
Hex Code
Command
eKM8050 echo code
FF Reset
FA,AA,00
FE Resend
XX,(XX,XX)
F6 Set
Default FA
F5 Disable
FA
F4 Enable
FA
F3,XX
Set Sampling Rate
FA,FA
F2
Read Device Type
FA,00
F0
Set Remote Mode
FA
EE
Set Wrap Mode
FA
EC
Reset Wrap Mode
FA
EB Read
Data
FA,XX,XX,XX
EA
Set Stream Mode
FA
E9 Status
Request FA,XX,XX,XX
E8 Set
Resolution FA,FA
E7 Set
Autospeed FA
E6 Reset
Autospeed
FA
eKM8050
Preliminary
USB & PS/2 Optical Mouse Controller


Microsoft PS/2 scrolling mouse
(A) Entering procedure: Except in WRAP mode, while eKM8050 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 Bit
Description
1
0
Left button status; 1 = pressed
1
Right buton status; 1 = pressed
2
Middle button status; 1 = pressed
3
Reserve
4
X data sign; 1 = negative
5
Y data sign; 1 = negative
6
X data overflow; 1 = overflow
7
Y data overflow; 1 = overflow
2
0-7
X data (D0-D7)
3
0-7
Y data (D0-D7)
4
0-7
Z data (D0-D7)

(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.



4
2003/7/1
eKM8050
Preliminary
USB & PS/2 Optical Mouse Controller



USB function Description
Each Descriptor in USB Mode.
Descriptor Type
Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8
12 01 10 01 00 00 00 08
67 12 02 02 01 00 00 02
Device Descriptor
00
01
09 02 22 00 01 01 00 A0
Configuration Descriptor
32
09 04 00 00 01 03 01 02
Interface Descriptor
00
09 21 10 01 00 01 22 48
HID Descriptor
00
Endpoint
07 05 81 03 04 00 0A
05 01 09 02 A1 01 05 09
19 01 29 03 15 00 25 01
95 03 75 01 81 02 95 01
75 05 81 03 05 01 09 01
A1 00 09 30 09 31 15 81
25 7F 75 08 95 02 81 06
C0 09 38 95 01 81 06 09
3C 15 00 25 01 75 01 95
HID Report Descriptor
01 B1 22 95 07 B1 01 C0

USB Mouse Report Data Type
5
2003/7/1
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Byte0
0 0 0 0 0 M R L
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Byte1
X-AXIS
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Byte2
Y-AXIS
Byte3
Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
eKM8050
Preliminary
USB & PS/2 Optical Mouse Controller
Z-AXIS

5. Absolute Maximum Rating
Symbol
min
Max
unit
Temperature under bias
0
70
C
Storage temperature
-65
150
C
Input voltage
-0.5
6.0
V
Output voltage
-0.5
6.0
V
6. Electrical Characteristic
(T = 25C, V
DD
=4.4~5.2V, V
SS
=0V)
6
2003/7/1
Symbol
Parameter
Condition
Min Type Max
Unit
3.3V Regulator
V
Rag
Output voltage of 3.3v Regulator
V
DD
= 4.2V ~ 5.2V
3.0
3.3
3.6
V
V
ResetL
Low Power Reset detecting low Voltage
-
2.3
V
V
ResetH
Low Power Reset detecting high Voltage
2.4
-
V
MCU operating
I
IL
Input Leakage Current for input pins
V
IN
=V
DD
,V
SS
- - 1
A
V
IHX
Clock Input High Voltage
OSCI
2.5
-
-
V
V
ILX
Clock Input Low Voltage
OSCI
-
-
1.0
V
GPIO Pins
V
HL
High/Low level transfer point
Input
1.1
-
V
V
OH
Output High Voltage
I
Drive
= 5.0mA
2.4
-
-
V
V
OL
Output Low Voltage
I
Sink
= 5.0mA
-
-
0.4
V
I
PH
Input current with pull-high resister
The input pin with internal
pull-high resistor of Port6 or
port7 is connected to V
SS.
- 25 -
A
I
PL
Input current with pull-low resister
The input pin with internal
pull-low resistor of Port6 is
connected to V
DD
.
- 330 -
A
USB Interface
V
OH
Static Output High
2.8
-
3.6
V
V
OL
Static Output Low
-
-
0.3
V
V
DI
Differential Input Sensitivity
0.2
-
-
V
V
CM
Differential Input Command Mode Range
USB operation Mode
0.8 - 2.5
V
V
SE
Single Ended Receiver Threshold
0.8
-
2.0
V
C
IN
Transceiver
Capacitance
- - 20
pF
V
RG
Output Voltage of Internal Regulator
3.0
-
3.6
V
R
PH
Internal Pull-high Resistor
(USB Spec 5%)
USB operation Mode
-20% 1.5
+20
%
k
eKM8050
Preliminary
USB & PS/2 Optical Mouse Controller
7. Application circuit
eKM8050 for ADNS-2051
1
2
17
13
9
10
+
2.2uF
18
12
11
18M
ADNS-2051
VDD
SCLK
SDIO
PD
XA
XB
YB
YA
R_BIN
GND
GND
REFA
REFB
XY_LED
OSC_OUT
OSC_IN
0.1uF
14
+
4.7uF
PORT
VDD
VSS
D+/CLK
D-/DATA
1
5
VDD
0.1uF
100K
4
8
VDD
eKM8050_B
VDD
D+/CLK
D-/DATA
V3.3
Z_SEL
Z1
Z2
IR_Control
L
R
M
SCLK
SDIO
PD
CPIS
OSCI
OSCO
VSS
Z-AXIS
3
7
0.1uF
1
2
2
R1
15
9
6
1
2
10
+
4.7uF
12
20P
16
15
10
1
14
8
13
5
+
10uF
HLMP-ED80
20P
2
V3.3
4
3
7
16
6M
11
6
+
4.7uF
3
1
14
7
12
1
2
+
2.2uF
16
14
1
ADNS-2051_5
VDD
SCLK
SDIO
PD
XA
XB
YB
YA
R_BIN
GND
GND
REFA
REFB
XY_LED
OSC_OUT
OSC_IN
VDD
4
PORT
VDD
VSS
D+/CLK
D-/DATA
10
ZENER 3V
15
18M
20P
2
6M
10
15
6
2
16
+
4.7uF
20P
9
Z-AXIS
11
10
100K
3
1
2
13
PNP
1
2
13
R1
4
3K
VDD
300
8
0.1uF
5
12
17
0.1uF
6
7
18
9
+
10uF
5
0.1uF
eKM8050_B
VDD
D+/CLK
D-/DATA
V3.3
Z_SEL
Z1
Z2
IR_Control
L
R
M
SCLK
SDIO
PD
CPIS
OSCI
OSCO
VSS
HLMP-ED80
V3.3
11
IR_Control
8
Guarantee Suspend Current under 500 uA
7
2003/7/1
eKM8050
Preliminary
USB & PS/2 Optical Mouse Controller
eKM8050 for ADNS-2610
+
10uF
15
R0
12
VDD
PORT
VDD
VSS
D+/CLK
D-/DATA
10
20P
24M
VDD
13
9
10
ADNS-2610
VDD
SCLK
SDIO
REFA
GND
LED_CNTL
OSC_IN
OSC_OUT
1
2
7
+
4.7uF
1
1K
HLMP-ED80
6
1
2
18
6M
17
0.1uF
Q1
PNP
eKM8050_B
VDD
D+/CLK
D-/DATA
V3.3
Z_SEL
Z1
Z2
IR_Control
L
R
M
SCLK
SDIO
PD
CPIS
OSCI
OSCO
VSS
0.1uF
11
2
16
1
3
2.2uF
7
20P
8
100K
4
5
3
2
+
4.7uF
4
V3.3
5
6
8
14
Z-AXIS

0.1uF
ZENER 3V
3K
24M
4
Q1
PNP
+
4.7uF
15
1K
+
10uF
1
5
0.1uF
2.2uF
3
20P
100K
1
ADNS-2610
VDD
SCLK
SDIO
REFA
GND
LED_CNTL
OSC_IN
OSC_OUT
14
2
16
13
VDD
+
4.7uF
6
PORT
VDD
VSS
D+/CLK
D-/DATA
5
12
eKM8050_B
VDD
D+/CLK
D-/DATA
V3.3
Z_SEL
Z1
Z2
IR_Control
L
R
M
SCLK
SDIO
PD
CPIS
OSCI
OSCO
VSS
IR_Control
11
VDD
6
2
Z-AXIS
300
V3.3
17
9
3
PNP
HLMP-ED80
R0
18
7
8
20P
6M
10
10
1
2
1
2
7
4
8
Guarantee Suspend Current under 500 uA






8
2003/7/1
eKM8050
Preliminary
USB & PS/2 Optical Mouse Controller
9
2003/7/1
eKM8050 for ADNS-2620
Q1
PNP
ADNS-2620
VDD
SCLK
SDIO
REFA
GND
LED_CNTL
OSC_IN
OSC_OUT
eKM8050_B
VDD
D+/CLK
D-/DATA
V3.3
Z_SEL
Z1
Z2
IR_Control
L
R
M
SCLK
SDIO
PD
CPIS
OSCI
OSCO
VSS
2
+
4.7uF
HLMP-ED80
17
6
3
0.1uF
24M
0.1uF
+
4.7uF
10
16
1
2
6M
20P
18
100K
11
8
1K
3
VDD
20P
1
4
12
V3.3
13
8
Z-AXIS
PORT
VDD
VSS
D+/CLK
D-/DATA
R0
7
15
+
10uF
6
5
V3.3
2
9
14
2.2uF
VDD
1
2
5
7
1
10
4
Q1
PNP
100K
16
5
3K
VDD
24M
4
+
10uF
8
14
V3.3
+
4.7uF
6
PNP
10
8
eKM8050_B
VDD
D+/CLK
D-/DATA
V3.3
Z_SEL
Z1
Z2
IR_Control
L
R
M
SCLK
SDIO
PD
CPIS
OSCI
OSCO
VSS
9
+
4.7uF
V3.3
6
7
1K
1
2
13
3
17
20P
Z-AXIS
3
1
18
1
2
300
1
2
6M
0.1uF
ADNS-2620
VDD
SCLK
SDIO
REFA
GND
LED_CNTL
OSC_IN
OSC_OUT
12
15
0.1uF
ZENER 3V
IR_Control
2
4
20P
10
HLMP-ED80
11
R0
VDD
2.2uF
5
7
PORT
VDD
VSS
D+/CLK
D-/DATA
Guarantee Suspend Current under 500 uA