Transcript
eKM8066 USB and PS/2 Mouse Controller
Product Specification DOC. VERSION 1.1
ELAN MICROELECTRONICS CORP. February 2009
Trademark 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 © 2007~2009 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 information or material contained in this specification. ELAN Microelectronics shall not be liable for direct, indirect, special incidental, or consequential damages arising from the use of such information 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 PART 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:
Hong Kong:
USA:
No. 12, Innovation Road 1 Hsinchu Science Park Hsinchu, TAIWAN 308 Tel: +886 3 563-9977 Fax: +886 3 563-9966 http://www.emc.com.tw
Elan (HK) Microelectronics Corporation, Ltd. Flat A, 19F., World Tech Centre 95 How Ming Street, Kwun Tong Kowloon, HONG KONG Tel: +852 2723-3376 Fax: +852 2723-7780
Elan Information Technology Group (U.S.A.) PO Box 601 Cupertino, CA 95015 U.S.A. Tel: +1 408 366-8225 Fax: +1 408 366-8225
Shenzhen:
Shanghai:
Elan Microelectronics Shenzhen, Ltd.
Elan Microelectronics Shanghai, Ltd.
3F, SSMEC Bldg., Gaoxin S. Ave. I Shenzhen Hi-tech Industrial Park (South Area), Shenzhen CHINA 518057 Tel: +86 755 2601-0565 Fax: +86 755 2601-0500
[email protected]
#23, Zone 115, Lane 572, Bibo Rd. Zhangjiang Hi-Tech Park Shanghai, CHINA 201203 Tel: +86 21 5080-3866 Fax: +86 21 5080-4600
[email protected]
Contents
Contents 1
General Description .................................................................................................. 1
2
Features ..................................................................................................................... 1
3
Pin Assignment ......................................................................................................... 2
4
Pin Description.......................................................................................................... 3 4.1
eKM8066B (18-Pin)............................................................................................ 3
4.2
eKM8066C (20-Pin)............................................................................................ 5
5
Functional Description ............................................................................................. 7
6
USB Functional Description................................................................................... 12 6.1
Device Descriptor ............................................................................................. 12
6.2
Configuration Descriptor................................................................................... 13
6.3
Interface Descriptor .......................................................................................... 13
6.4
Human Interface Device (HID) Descriptor........................................................ 14
6.5
Endpoint Descriptor.......................................................................................... 14
6.6
Report Descriptor ............................................................................................. 15
6.7
USB Mouse Report Data Type ......................................................................... 17
7
Absolute Maximum Rating ..................................................................................... 18
8
Electrical Characteristics ....................................................................................... 19
9
Pad List Information ............................................................................................... 20 9.1
eKM8066B Pad Diagram.................................................................................. 20 9.1.1
9.2
eKM8066C Pad Diagram ................................................................................. 21 9.2.1
10
eKM8066B Pad Coordinates.............................................................................20 eKM8066C Pad Coordinates ............................................................................21
Application Circuit .................................................................................................. 22
Product Specification (V1.1) 02.23.2009
• iii
Contents
Specification Revision History Doc. Version
iv •
Revision Description
Date
1.0
Initial released version
2007/05/02
1.1
Set PD as output always while controlling the sensor.
2009/02/23
Product Specification (V1.1) 02.23.2009
eKM8066 USB and PS/2 Mouse Controller
1
General Description The EKM8066 is an 18-pin, high performance, low power Mouse Controller designed to control both USB and PS/2 Mouse devices, with 2-wire SPI or serial peripheral interface (SCK and SDIO). Device flexibility is enhanced with an adjustable 400 (default) / 800 dots per inch (DPI) resolution. It supports ELAN OM10B and ADNS-2051 optical mouse sensor. This Mouse Controller can auto detect whether in USB or PS/2 mode, and supports 3D 3K, 3D 5K or 3D 3K with enhanced wheel (horizontal scrolling) mouse.
2
Features
Operating voltage: 4.4V ~ 5.2V
Compatible with Universal Serial Bus Specification, version 1.1
Compatible with USB HID Specification, version 1.11
Compatible with Microsoft 3D PS/2 mouse
Auto-detecting PS/2 port or USB port
External 6 MHz ceramic resonator for system clock
Supports mechanical Z/2 Z-axis input
Supports OM10 and ADNS-2051 optical mouse sensor
Supports USB 16-bits XY data for high speed motion
DPI switch type:
•
Button switch
•
Slide switch
Dynamic DPI switch: •
USB supports 800,1600 DPI (1600 DPI simulation by MCU)
•
PS/2 supports 400, 800 DPI
Applications: •
3D, 3 Buttons USB and PS/2 Combo Mouse
•
3D, 5 Buttons USB and PS/2 Combo Mouse
•
3D, 3 Buttons with enhanced wheel USB and PS/2 Combo Mouse
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
•1
eKM8066 USB and PS/2 Mouse Controller
3
Enhanced wheel function: •
USB horizontal scrolling enabled by default in the Windows Vista operating system.
•
USB and PS/2 horizontal scrolling enabled by ELAN enhanced wheel mouse S/W in the Windows XP and Windows 2000 operating system.
20-pin package (eKM8066C) has additional DPI LED display
Package: •
18-pin PDIP (300 mil) eKM8066BP
•
18-pin SOP (300 mil) eKM8066BM
•
20-pin PDIP (300 mil) eKM8066CP
•
20-pin SOP (300 mil) eKM8066CM
Pin Assignment (1)
18-Pin PDIP/SOP
CPI
(2) 20-Pin PDIP/SOP
18
1
Z1
1
20
Z1
2
19
Z2
R KEY
3
18
N / K_SEL
M KEY
4
17
PD / M_SEL
SCLK
5
16
SDIO
P / BTN_SWT
6
15
LED
14
D+ / CLK D- / DATA
17
Z2
16
N / K_SEL
M KEY
4
15
PD / M_SEL
SCLK
5
14
SDIO
P / BTN_SWT
6
13
D+ / CLK
VSS
7
VSS
7
12
D- / DATA
VSS
8
13
V3.3
8
11
VDD
V3.3
9
12
VDD
OSCI
9
10
OSCO
OSCI
10
11
OSCO
eKM8066C
2 3
eKM8066B
L KEY R KEY
Figure 3-1 eKM8066BP/BM
2•
CPI L KEY
Figure 3-2 eKM8066CP/CM
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
4
Pin Description 4.1 eKM8066B (18-Pin) Pin
Symbol
I/O
Function DPI select pin. Input port with internal 200 KΩ pulled high to V3.3V.
1
CPI
I
To select BTN DPI switch type, press this button to change the DPI. To select Slide DPI switch type USB : detect low for 800 DPI, detect high for 1600 DPI. PS/2 : detect low for 400 DPI, detect high for 800 DPI.
2
L
I
Left Key Input. Input port with internal 200 KΩ pulled high to V3.3V.
3
R
I
Right Key Input. Input port with internal 200 KΩ pulled high to V3.3V.
4
M
I
Middle Key Input. Input port with internal 200 KΩ pulled high to V3.3V.
5
SCLK
I/O
Serial port clock output, while eKM8066 transmits data to OM10. Serial port clock internal 200K resistor pulled high to V3.3V, while eKM8066 is idle. Input port with internal 200 KΩ pulled high to V3.3V. If 3D 5-Key or 3D 3-Key with enhanced wheel mode is selected, the DPI switch type is fixed on BTN DPI switch type. 3D 5-Key mode: Previous Key input 6
P/BTN_SWT
I
3D 3-Key with enhanced wheel mode : horizontal scrolling right Key Input If 3D 3-Key mode is selected, this pin is also used for DPI switch type selection. While in power on, this pin detects DPI switch type. This pin is connected to VSS for BTN DPI switch type. This pin is open or connected to V3.3V for Slide DPI switch type.
7
VSS
-
GND
8
V3.3V
O
3.3V DC voltage output from internal regulator. This pin has to be tied to a 4.7 µF capacitor.
9
OSCI
I
6 MHz ceramic resonator input.
10
OSCO
I/O
Return path for 6 MHz ceramic resonator.
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
•3
eKM8066 USB and PS/2 Mouse Controller
Pin
Symbol
I/O
Function
11
VDD
−
12
D- / DATA
I/O
USB D- or PS/2 Data
13
D+ / CLK
I/O
USB D+ or PS/2 CLK
14
SDIO
I/O
Serial port data I/O
5V Power supply
This pin is an internal 200 KΩ pulled high to V3.3V. It is used for mouse mode selection.
15
PD/M_SEL
I/O
This pin connects an external 100 KΩ to V3.3V for 3D 3-Key mode. This pin connects an external 1 MΩ to VSS for 3D 3-Key with enhanced wheel mode. Set output high to power down the sensor or output low to activate the sensor. Input port with internal 200 KΩ pulled high to V3.3V. This pin is also used for 3-Key or 5-Key selection. This pin connects to V3.3V for 3D 3-Key mode.
16
N/K_SEL
I
This pin connects an external 1MΩ to VSS for 3D 5-Key mode. Key function : 3D 5-Key mode : Next Key input 3D 3-Key with enhanced wheel mode : horizontal scrolling left Key Input
4•
17
Z2
I
Z axis Input 2. Input port with internal 200 KΩ pulled high to V3.3V.
18
Z1
I
Z axis Input 1. Input port with internal 200 KΩ pulled high to V3.3V.
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
4.2 eKM8066C (20-Pin) Pin
Symbol
I/O
Function DPI select pin. Input port with internal 200 KΩ pulled high to V3.3V.
1
CPI
I
To select BTN DPI switch type, press this button to change the DPI. To select Slide DPI switch type USB : detect low for 800 DPI, detect high for 1600 DPI. PS/2 : detect low for 400 DPI, detect high for 800 DPI.
2
L
I
Left Key Input. Input port with internal 200 KΩ pulled high to V3.3V.
3
R
I
Right Key Input. Input port with internal 200 KΩ pulled high to V3.3V.
4
M
I
Middle Key Input. Input port with internal 200 KΩ pulled high to V3.3V.
5
SCLK
I/O
Serial port clock output, while eKM8066 transmits data to OM10. Serial port clock internal 200KΩ resistor pulled high to V3.3V, while the eKM8066 is idle. Input port with internal 200 KΩ pulled high to V3.3V. If 3D 5-Key or 3D 3-Key with enhanced wheel mode is selected, the DPI switch type is fixed on BTN DPI switch type. 3D 5-Key mode: Previous Key input 6
P/BTN_SWT
I
3D 3-Key with enhanced wheel mode : horizontal scrolling right Key Input If 3D 3-Key mode is selected, this pin is also used for DPI switch type selection. While in power on, this pin detects DPI switch type. This pin is connected to VSS for BTN DPI switch type. This pin is open or connected to V3.3V for Slide DPI switch type.
7
VSS
-
GND
8
VSS
-
GND
9
V3.3V
O
3.3V DC voltage output from internal regulator. This pin has to be tied to a 4.7 µF capacitor.
10
OSCI
I
6 MHz ceramic resonator input.
11
OSCO
I/O
Return path for 6 MHz ceramic resonator.
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
•5
eKM8066 USB and PS/2 Mouse Controller
Pin
Symbol
I/O
Function
12
VDD
−
13
D- / DATA
I/O
USB D- or PS/2 Data
14
D+ / CLK
I/O
USB D+ or PS/2 CLK I/O
5V Power supply
DPI LED display pin. USB : LED off : 800 DPI (power-on default) 15
LED
O
LED on : 1600 DPI (double by F/W) PS/2 : LED off : 400 DPI (power-on default) LED on : 800DPI
16
SDIO
I/O
Serial port data I/O This pin is an internal 200 KΩ pulled high to V3.3V. It is used for mouse mode selection.
17
PD/M_SEL
I/O
Connect this pin with external 100 KΩ to V3.3V for 3D 3-Key OR 3D 5-Key mode. Connect this pin with an external 1 MΩ to VSS for 3D 3-Key with enhanced wheel mode. Set output high to power down the sensor or output low to activate the sensor. Input port with internal 200KΩ pulled high to V3.3V. This pin is also use for 3-Key or 5-Key selection. This pin connect to V3.3V for 3D 3-Key mode.
18
N / K_SEL
I
This pin connect an external 1MΩ to VSS for 3D 5-Key mode. Key function : 3D 5-Key mode : Next Key Input 3D 3-Key with enhanced wheel mode : horizontal scrolling left key Input.
6•
19
Z2
I
Z axis Input 2. Input port with internal 200 KΩ pulled high to V3.3V.
20
Z1
I
Z axis Input 1. Input port with internal 200 KΩ pulled high to V3.3V.
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
5
Functional Description CPIS
SCLK SDIO
X-Counter Sensor Interface
Y-Counter
Data Process
USB Protocol Controller
PD PS/2 Protocol Controller Z1 Z2
Z
Z-Counter
BTM Register
Multiplexer
Data I/O
D+/CLK D-/DATA
LMRPN Mode Selector L M R
Detect Circuit
P N
Figure 5-1 eKM8066 Functional Block Diagram
Figure 5-2 Quadrature Signal Timing Diagram
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
•7
eKM8066 USB and PS/2 Mouse Controller
PS/2 Functional Description •
PS/2 Mouse Command Description Hex Code
•
Command
eKM8066 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, XX
Set Resolution
FA,FA
E7
Set Autospeed
FA
E6
Reset Autospeed
FA
Microsoft 3D 3-Key PS/2 scrolling mouse (A) Entering procedure: Except in WRAP mode, while the eKM8066 received the following consecutive command i. F3 C8 ---- set sampling rate at 200/sec ii. F3 64 ---- set sampling rate at 100/sec iii. F3 50 ---- set sampling rate at 80/sec (B) Operating in PS/2 3D 3-Key scrolling mode: a. All of the commands in legacy mode are still valid b. The ID code of read device type command (F2) will change from "00" to be "03" c. Data report will be four bytes format
8•
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
[ 3D 3 Buttons Data Format ]
•
Byte
Bit
Description
1
0
Left button status; 1 = pressed
1
Right button status; 1 = pressed
2
Middle button status; 1 = pressed
3
Reserve to 1
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)
Microsoft 3D 5-Key PS/2 scrolling mouse (A) Entering procedure: after the eKM8066 enters scrolling mouse mode (Mouse ID= 03), while the eKM8066 received the following consecutive command, the eKM8066 will enter 5 buttons mode Mouse ID: 04). i F3 C8 ----- set sampling rate at 200/sec ii F3 C8 ---- set sampling rate at 200/sec iii F3 50 ---- set sampling rate at 80/sec (B) Operating PS/2 3D 5-Key scrolling mode: a. All of the commands in legacy mode are still valid b. The ID code of the read device type command (F2) will change from "03" to "04". c. Data report will be four bytes format:
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
•9
eKM8066 USB and PS/2 Mouse Controller
[ 3D 5 Buttons Data Format ] Byte
Bit
1
0
Left button status; 1 = pressed
1
Right button status; 1 = pressed
2
Middle button status; 1 = pressed
2
•
Description
3
Reserve to 1
4
X data sign; 1 = negative
5
Y data sign; 1 = negative
6
X data overflow; 1 = overflow
7
Y data overflow; 1 = overflow
0-7
X data (D0-D7)
3
0-7
Y data (D0-D7)
4
0-3
Z data (D0-D3)
4
4
P button status; 1 = pressed
4
5
N button status; 1 = pressed
4
6, 7
Reserve to 0
Microsoft 3D 3-Key PS/2 with enhanced wheel scrolling mouse (A) Entering procedure: after the eKM8066 enters scrolling mouse mode (Mouse ID= 03), while eKM8066 received the following consecutive command, the eKM8066 will enter enhanced wheel mode, Mouse ID: 03). i F3 C8 --- set sampling rate at 200/sec ii F3 50 --- set sampling rate at 80/sec iii F3 28 --- set sampling rate at 40/sec iv F3 C8 --- set sampling rate at 200/sec v F3 C8 --- set sampling rate at 200/sec vi F3 3C --- set sampling rate at 60/sec vii F3 64 --- set sampling rate at 100/sec (B) Operating PS/2 3D 3-Key enhanced wheel scrolling mode: a. All of the commands in legacy mode are still valid. b. The ID code of the read device type command (F2) will change from "00" to be "03". c. Data report will be four bytes format:
10 •
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
[ 3D 3 Buttons Enhanced Wheel Data Format ] Byte
Bit
Description
1
0
Left button status; 1 = pressed
1
Right button status; 1 = pressed
2
Middle button status; 1 = pressed
3
Reserve to 1
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) Z data (D0-D7)
4
0-7
or 0x41 when horizontal scrolling right key press or 0x7F when horizontal scrolling left key press
(C) Exiting Microsoft scrolling mode: There are two ways to exit: a. Power off b. Reset command (FF) •
Z-axis Input Function (A) The Z0-Z7 limit value is 7 (B) Z-axis counter accumulates the Z1, Z2 phase changed by movement. This mode includes noise immunity. (C) Z/2: 2 dot per count. The wheel should remain at Z1=0, Z2=0 or Z1=1, Z2=1 Phase
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
• 11
eKM8066 USB and PS/2 Mouse Controller
6
USB Functional Description 6.1 Device Descriptor Offset
Field
Size
Description
Value
0
bLength
1
The size of this descriptor is 18 bytes
0x12
1
bDescriptorType
1
Device Descriptor Type
0x01
2
bcdUSB
2
Device complies with the USB specification Version 1.10
0x0110
4
bDeviceClass
1
Each interface specifies its own class information
0x00
5
bDeviceSubClass
1
Each interface specifies its own sub class information
0x00
6
bDeviceProtocol
1
No protocols on the device basis
0x00
7
bMaxPacketSize0
1
Maximum packet size for endpoint zero is 8
0x08
8
idVendor
2
The Vendor ID is 0x04F3
0x04F3
10
idProduct
2
The Product ID is 0x0216 (3D3K or 3D5K) / 0x0221 (3D3K with enhanced wheel)
0x0216/ 0x0221
12
bcdDevice
2
The device release number is 0x6610
0x6610
14
iManufacturer
1
The device does not have the string descriptor 0x00 describing the manufacturer
15
iProduct
1
The index of the string descriptor describing 0x02 the product is “2”
16
iSerialNumber
1
The device does not have the string descriptor 0x00 that describes the serial number
17
bNumConfigurations
1
The device uses “1” as possible configurations
*1
*1
12 •
0x01
Product String: “USB Mouse”
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
6.2 Configuration Descriptor Offset
Field
Size
Description
Value
0
bLength
1
The size of this descriptor is 9 bytes
0x09
1
bDescritorType
1
Configuration Descriptor Type
0x02 0x0022
2
wTotalLength
2
The total length of data for this configuration is 34 bytes. This includes the combined length of all the descriptors returned
4
bNumInterfaces
1
This configuration supports “1” interfaces
0x01 0x01
5
bConfigurationValue
1
The value “1” should be used to select this configuration
6
iConfiguration
1
The device does not have the string descriptor describing this configuration
0x00
0xA0
7
bmAttributes
1
Configuration characteristics: • Bit 7: Reserved (set to one) • Bit 6: Self-powered • Bit 5: Remote Wakeup
8
MaxPower
1
Maximum power consumption of the device under this configuration is 100 mA
0x32
Description
Value
1 0 1
6.3 Interface Descriptor Offset
Field
Size
0
bLength
1
The size of this descriptor is 9 bytes
0x09
1
bDescriptorType
1
Interface Descriptor Type
0x04
2
bInterfaceNumber
1
The number of this interface is “0”
0x00 0x00
3
bAlternateSetting
1
The value used to select alternate setting for this interface is “0”
4
bNumEndpoints
1
The number of endpoints used by this Interface is “1” (excluding endpoint zero)
0x01
5
bInterfaceClass
1
The interface implements HID class
0x03
6
bInterfaceSubClass
1
The subclass code is 0x01
0x01
7
bInterfaceProtocol
1
The protocol code is 0x02
0x02
1
The device does not have the string descriptor describing this interface
0x00
8
iInterface
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
• 13
eKM8066 USB and PS/2 Mouse Controller
6.4 Human Interface Device (HID) Descriptor Offset
Field
Size
Description
Value
0
bLength
1
The size of this descriptor is 9 bytes
0x09
1
bDescriptorType
1
HID Descriptor Type
0x21
2
bcdHID
2
Device compliant to the HID specification version 1.11
0x0111
4
bCountryCode
1
The country code is 0x00
0x00
5
bNumDescriptors
1
The number of class descriptors is “1”
0x01
6
bDescriptorType
1
The class descriptor is Report descriptor
0x22
7
wDescriptorlength
2
The total size of the class descriptor is 64 bytes (3D 3K or 3D 5K) / 71 bytes (3D 3K with enhanced wheel)
0x0040/ 0x0047
Description
Value
6.5 Endpoint Descriptor Offset
Field
Size
0
bLength
1
The size of this descriptor is 7 bytes
0x07
1
bDescriptorType
1
Endpoint Descriptor Type
0x05
2
bEndpointAddress
1
This is an IN endpoint with address (endpoint number) 1
0x81
Types of attributes: 3
14 •
bmAttributes
1
• Transfer :
Interrupt
• Sync
:
No Sync
• Usage
:
Data EP
4
wMaxPacketSize
2
Maximum packet size value for this endpoint is 6 bytes (3D 3K or 3D 5K) / 7 bytes (3D 3K with enhanced wheel) (Bits 12-11: Addtl. Transactions/frame)
6
bInterval
1
bInterval: 10. The polling interval value is bInterval or 2**(bInterval-1)
0x03
0x0006/ 0x0007
0x0A
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
6.6 Report Descriptor
For 3D 3K or 3D 5K Mouse 0x05
0x01
Usage Page (Generic Desktop Control)
0x09
0x02
Usage (Mouse)
0xA1
0x01
Collection (Application)
0x09
0x01
Usage (Pointer)
0Xa1
0x00
Collection (Physical)
0x05
0x09
0x19
0x01
0x29
0x03 / 0x05 0x00
0x25
0x01
Usage Maximum (3) / (5) Logical Maximum (1)
0x03 / 0x05 0x01
0x81
0x02
Report Count (3) / (5)
*2
Report Size (1) Input (Data, Variable, Absolute) *2
0x05 / 0x03
Report Count (5) / (3)
*2
0x75
0x01
Report Size (1)
0x81
0x03
Input (Constant)
0x05
0x01
Usage Page (Generic Desktop Control)
0x09
0x30
Usage (X)
0x09
0x31
Usage (Y)
0x16
0x8000
Logical Minimum (-32767)
0x26
0x7FFF
Logical Minimum (+32767)
0x75
0x10
Report Size (16)
0x95
0x02
Report Count (2)
0x81
0x06
Input (Data, Variable, Relative)
0x09
0x38
Usage (Wheel)
0x15
0x81
Logical Minimum (-127)
0x25
0x7F
Logical Maximum (+127)
0x75
0x08
Report Size (8)
0x95
0x01
Report Count (1)
0x81
0x06
Input (Data, Variable, Relative)
0xC0 0xC0 *2
*2
Logical Minimum (0) *2
0x75 0x95
Usage Minimum (1) *2
0x15 0x95
Usage Page (Button)
End Collection End Collection
[3-Key mode] / [5-Key mode]
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
• 15
eKM8066 USB and PS/2 Mouse Controller
For 3D 3K with enhanced wheel Mouse 0x05
0x01
Usage Page (Generic Desktop Control)
0x09
0x02
Usage (Mouse)
0xA1
0x01
Collection (Application)
0x09
0x01
Usage (Pointer)
0Xa1
0x00
Collection (Physical)
0x05
0x09
Usage Page (Button)
0x19
0x01
Usage Minimum (1)
0x29
0x03
Usage Maximum (3)
0x15
0x00
Logical Minimum (0)
0x25
0x01
Logical Maximum (1)
0x95
0x03
Report Count (3)
0x75
0x01
Report Size (1)
0x81
0x02
Input (Data, Variable, Absolute)
0x95
0x05
Report Count (5)
0x75
0x01
Report Size (1)
0x81
0x03
Input (Constant)
0x05
0x01
Usage Page (Generic Desktop Control)
0x09
0x30
Usage (X)
0x09
0x31
Usage (Y)
0x16
0x8000
Logical Minimum (-32767)
0x26
0x7FFF
Logical Minimum (+32767)
0x75
0x10
Report Size (16)
0x95
0x02
Report Count (2)
0x81
0x06
Input (Data, Variable, Relative)
0x09
0x38
Usage (Wheel)
0x15
0x81
Logical Minimum (-127)
0x25
0x7F
Logical Maximum (+127)
0x75
0x08
Report Size (8)
0x95
0x01
Report Count (1)
0x81
0x06
Input (Data, Variable, Relative)
0x05
0x0C
Usage Page (Consumer)
0x0A
0x0238
0x81
0x06
0xC0 0xC0
16 •
Usage (AC PAN) Input (Data, Variable, Relative) End Collection End Collection
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
6.7 USB Mouse Report Data Type
Boot Mode Bit 7
Byte 1
Byte 2
Bit 5
Bit 4 *4
N
0
0
0
Bit 7
Bit 6
Bit 5
Bit 3
Bit 2
Bit 1
Bit 0
M
R
L
Bit 2
Bit 1
Bit 0
Bit 2
Bit 1
Bit 0
Bit 2
Bit 1
Bit 0
M
R
L
Bit 2
Bit 1
Bit 0
Bit 1
Bit 0
Bit 1
Bit 0
Bit 1
Bit 0
Bit 1
Bit 0
*4
P P
Bit 4
Bit 3
X-Movement Data Bit 7
Byte 3
Bit 6
Bit 5
Bit 4
Bit 3
Y-Movement Data *4
Bit 6
3D 3K Mode , P = N = 0
3D 3K or 3D 5K Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Bit 7
Bit 6
Bit 5
Bit 4 *4
N
0
0
0
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3 *4
P P
Bit 3
X-Movement Data Low Byte Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
X-Movement Data High Byte Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Y-Movement Data Low Byte Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Y-Movement Data High Byte Bit 7
Bit 6
Bit 5
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
Bit 4
Bit 3
Bit 2
Z-Movement Data
• 17
eKM8066 USB and PS/2 Mouse Controller
3D 3K with Enhanced Wheel Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6 Byte 7
7
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
0
0
0
0
M
R
L
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Bit 1
Bit 0
Bit 1
Bit 0
Bit 1
Bit 0
Bit 2
Bit 1
Bit 0
Bit 2
Bit 1
Bit 0
X-Movement Data Low Byte Bit 7
Bit 6
Bit 4
Bit 3
Bit 2
X-Movement Data High Byte Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Y-Movement Data Low Byte Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Y-Movement Data High Byte Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Z-Movement Data Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
AC_PAN
Absolute Maximum Rating Symbol
Min.
Max.
Unit
0
70
ºC
Storage temperature
–65
150
ºC
Input voltage
–0.5
6.0
V
Output voltage
–0.5
6.0
V
Temperature under bias
18 •
Bit 5
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
8
Electrical Characteristics Test Condition: T = 25ºC, VDD=5.0V, VSS=0V Parameters
Min.
Typ.
Max.
Unit
Remarks
VDD
4.5
5.0
5.5
V
-
IOP
-
-
10
mA
-
Isuspend
-
-
200
µA
-
Isleep
-
-
100
µA
-
Vreg
3.0
3.3
3.6
V
-
VIH
2.0
-
-
V
-
VIL
-
-
0.8
V
-
Rmi
–30%
170
+30%
KΩ
-
L, M, R, debounce time
Tb
17
-
-
ms
See Figure 7-1a below
Z-axis debounce time
Tz
1
-
-
ms
See Figure 7-1b below
Operating voltage Operating Current (normal operation) Operating Current (suspend) Operating Current (Sleep mode) Output voltage of 3.3V regulator L, M, R,P, N input high voltage L, M, R, P,N input low voltage L, M, R, internal pull high resistor
Sym.
BTM Tb Figure 8-1a L, M, R, Debounce Time Timing Diagram
Z2
Z1 Tz
Tz
Tz
Tz
Figure 8-1b Z-Axis Debounce Time Timing Diagram
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
• 19
eKM8066 USB and PS/2 Mouse Controller
9
Pad List Information 9.1 eKM8066B Pad Diagram
Figure 9-1 eKM8066B Pad Diagram
9.1.1 eKM8066B Pad Coordinates Pad Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
20 •
Chip Size : 1520 × 2580 µM Pad Name Pad Coordinates (X, Y) CPI 196.5, 1176.7 L 91.5, 1176.7 R -13.5, 1176.7 M -118.5, 1176.7 SCLK -652.7, -785 P -652.7, -890 VSS -652.7, -997.5 V3.3 -304.45, -1182.6 OSCI 44.3, -1182.6 OSCO 149.3, -1182.6 VDD 256.9, -1182.6 D_MNS 364.4, -1182.6 D_PLUS 647.3, -1015.8 NC 647.3, -901.6 SDIO 647.3, -796.6 PD 616.5, 1176.7 N 511.5, 1176.7 Z2 406.5, 1176.7 Z1 301.5, 1176.7
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
9.2 eKM8066C Pad Diagram
Figure 9-2 eKM8066C Pad Diagram
9.2.1 eKM8066C Pad Coordinates Pad Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Chip Size : 1520 × 2580 µM Pad Name Pad Coordinate (X, Y) CPI 196.5, 1176.7 L 91.5, 1176.7 R -13.5, 1176.7 M -118.5, 1176.7 SCLK -652.7, -785 P -652.7, -890 VSS V3.3 OSCI OSCO VDD D_MNS D_PLUS LED SDIO PD N Z2 Z1
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
-652.7, -997.5 -304.45, -1182.6 44.3, -1182.6 149.3, -1182.6 256.9, -1182.6 364.4, -1182.6 647.3, -1015.8 647.3, -901.6 647.3, -796.6 616.5, 1176.7 511.5, 1176.7 406.5, 1176.7 301.5, 1176.7
• 21
eKM8066 USB and PS/2 Mouse Controller
10 Application Circuits eKM8066B Mechanical Z/2 3D 3-Key Application
Vbus V3.3 CPI
SWT JP2
U1 1
CPI
2 3
CPI
BTM
4 5
SCLK V3.3
6
If JP1 select the V3.3 pin, the CPI pin must select SWT; If JP1 select the GND pin, the CPI pin must select BTM 5 4 3 2 1
JP1
7 C3
Shield Vss D+ DVbus
8 9
4.7uF
CPI
Z1
L KEY
Z2
R KEY
N(5K)
M KEY
SDIO
P(4K)
D+/CLK
VSS
D-/DATA
V3.3
VDD
OSCI
OSCO
C1 10uF
R5
17 16
V3.3
15
PD
SCLK
D+ D-
14
SDIO
LED
13
D+
12
U2
D-
R4
1
36K
2 3
C2 22uF
VDD
4 C6 0.1uF
C4 8pF
C7 10uF
C5 8pF
GND
ROSCA XY_LED
10
Ceramic resonator 6M
V3.3
ROSCB
11
EKM8066B
10ohm R1
USB
18
SCLK
PD
SIO
8 Q1 7 2N3904 6 5
OM10B
3D mouse mu have this resistance(R3) to V3.3.
R3 100K ohm
C9 0.1uF
C10 10uF
V3.3
SDIO SCLK
Vbus
V3.3
eKM8066B Mechanical Z/2 3D 5-Key Application
Vbus 5K mouse must have this resistance(R2)
U1 BTN 1 2 3 4 5
SCLK
6 7 C3 5 4 3 2 1
Shield Vss D+ DVbus
4.7uF
9
D+ D-
C1 10uF
Z1
L KEY
Z2
R KEY
N(5K)
M KEY
PD
SCLK
SDIO
P(4K)
D+/CLK
VSS
D-/DATA
V3.3
VDD
OSCI
OSCO
18 R5 17 16 R2
15 14
1M
SDIO
LED
13
D+
12
U2
D-
R4
1
36K
2
11 10 3
EKM8066B
10ohm R1
USB
8
CPI
C6 0.1uF
Ceramic resonator 6M
V3.3 C2 22uF
4
C4 8pF
C5 8pF
C7 10uF
3D mouse mus have this resistance(R3) to V3.3.
ROSCB
GND
ROSCA XY_LED VDD PD
SCLK SIO
8 Q1 7 2N3904 6 5
OM10B R3 100K ohm
C9 0.1uF
C10 10uF
V3.3
22 •
V3.3
SDIO SCLK
Vbus
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)
eKM8066 USB and PS/2 Mouse Controller
eKM8066B Mechanical Z/2 3D 3-K with Enhanced Wheel
Vbus U1 BTN 1 2 3 4 5
SCLK
6 7 C3 5 4 3 2 1
Shield Vss D+ DVbus
8 9
4.7uF D+ D-
Z1
L KEY
Z2
R KEY
18 R5 17 16
N(5K)
M KEY
15
PD
SCLK
SDIO
P(4K)
D+/CLK
VSS
D-/DATA
V3.3
VDD
OSCI
14
SDIO
LED
13
D+
12
U2
D-
R4
1
36K
2 3
C2 22uF
VDD
4 C6 0.1uF
C4 8pF
C7 10uF
4D mouse m have this resistance(R to GND.
C5 8pF
GND
ROSCA XY_LED
10
OSCO
Ceramic resonator 6M
V3.3
C1 10uF
ROSCB
11
EKM8066B
10ohm R1
USB
CPI
SCLK
PD
SIO
8 Q1 7 2N3904 6 5
OM10B R3 1M ohm
C9 0.1uF
C10 10uF
SDIO SCLK
Vbus
V3.3
eKM8066C Mechanical 3D 3-Key Application
V3.3 SWT JP2
CPI 1
CPI
2 3
CPI
BTM
4 5
SCLK V3.3
6
If JP1 select the V3.3 pin, the CPI pin must select SWT; If JP1 select the GND pin£¬ the CPI pin must select BTM 5 4 3 2 1
JP1
7 8 C3
Shield Vss D+ DVbus
9
4.7uF
D+ D-
10
USB
C1 10uF
CPI
Z1
L KEY
Z2
R KEY
N(5K)
M KEY
PD
SCLK
SDIO
P(4K)
LED
VSS
D+/CLK
VSS
D-/DATA
V3.3
VDD
OSCI
OSCO
20 R5 19 18
V3.3
17 16
SDIO
C2 22uF
LED
15 U2
LED2 14
D+
13
R
D-
C4 8pF
1
36K
2 3
11 4 C6 0.1uF
C7 10uF
3D mouse mus have this resistance(R3) to V3.3.
Ceramic resonator 6M
V3.3
R4
12
EKM8066C
10ohm R1
Vbus
LED2 on : 1600dpi(USB) / 800dpi(PS/2) LED2 off : 800dpi(USB)/400dpi(PS/2)
U1
C5 8pF
Vbus
(This specification is subject to change without further notice)
GND
ROSCA XY_LED VDD PD
SCLK SIO
8 Q1 7 2N3904 6 5
OM10B R3 100K ohm
C9 0.1uF
C10 10uF
V3.3
V3.3
Product Specification (V1.1) 02.23.2009
ROSCB
V3.3
SDIO SCLK
• 23
eKM8066 USB and PS/2 Mouse Controller
eKM8066C Mechanical 3D 5-Key Application
5K mouse must have this resistance(R2) Vbus LED2 on : 1600dpi(USB) / 800dpi(PS/2) LED2 off : 800dpi(USB)/400dpi(PS/2)
U1 BTN 1 2 3
5
7 8 C3
Shield Vss D+ DVbus
9
4.7uF
D+ D-
10
N(5K) PD
SCLK
SDIO
P(4K)
LED
VSS
D+/CLK
VSS
D-/DATA
V3.3
VDD
OSCI
OSCO
20 R5 19 18
16
C1 10uF
C2 22uF
1M
R2
17
SDIO
LED
15 U2
LED2 14
D+/CLK
13
R
D-/DATA
1
36K
2
ROSCB
VDD
11 4 C6 0.1uF
C4 8pF
GND
ROSCA XY_LED
3
SCLK
PD
C7 10uF
SIO
8 Q1 7 2N3904 6 5
OM10B
Ceramic resonator 6M
V3.3
R4
12
EKM8066C
10ohm R1
USB
Z2
M KEY
6
5 4 3 2 1
Z1
L KEY R KEY
4 SCLK
CPI
R3 100K ohm
3D mouse mu have this resistance(R3) to V3.3.
C5 8pF
C9 0.1uF
C10 10uF
V3.3
V3.3
SDIO SCLK
Vbus
V3.3
eKM8066C Mechanical Z/2 3D 3-Key with Enhanced Wheel
Vbus LED2 on : 1600dpi(USB) / 800dpi(PS/2 LED2 off : 800dpi(USB)/400dpi(PS/2)
U1 BTN 1 2 3 4 5
SCLK
6 7 8 5 4 3 2 1
C3
Shield Vss D+ DVbus
9
4.7uF
D+ D-
10
C1 10uF
Z1
L KEY
Z2
R KEY
N(5K)
M KEY
PD
SCLK
SDIO
P(4K)
LED
VSS
D+/CLK
VSS
D-/DATA
V3.3
VDD
OSCI
OSCO
20 R5 19 18 17 16
SDIO
C2 22uF
LED
15 U2
LED2 14
D+/CLK
13
R
D-/DATA
C4 8pF
1
36K
2 3
11 4 C6 0.1uF
C7 10uF
4D mouse must have this resistance(R3) to GND.
Ceramic resonator 6M
V3.3
R4
12
EKM8066C
10ohm R1
USB
CPI
C5 8pF
ROSCB
GND
ROSCA XY_LED VDD PD
SCLK SIO
8 Q1 7 2N3904 6 5
OM10B R3 1M ohm
C9 0.1uF
C10 10uF
V3.3
24 •
V3.3
SDIO SCLK
Vbus
Product Specification (V1.1) 02.23.2009 (This specification is subject to change without further notice)