eKM8065 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 5 Functional Description ............................................................................................. 7 6 USB Functional Description................................................................................... 11 6.1 Device Descriptor ............................................................................................. 11 6.2 Configuration Descriptor................................................................................... 12 6.3 Interface Descriptor .......................................................................................... 12 6.4 Human Interface Device (HID) Descriptor........................................................ 13 6.5 Endpoint Descriptor.......................................................................................... 13 6.6 Report Descriptor ............................................................................................. 14 6.7 USB Mouse Report Data Type ......................................................................... 16 7 Absolute Maximum Rating ..................................................................................... 17 8 Electrical Characteristics ....................................................................................... 18 9 Pad List Information ............................................................................................... 19 9.1 eKM8065B Pad Diagram.................................................................................. 19 9.1.1 9.2 eKM8065C Pad Diagram ................................................................................. 20 9.2.1 10 eKM8065B Pad Coordinates.............................................................................19 eKM8065C Pad Coordinates ............................................................................20 Application Circuits ................................................................................................ 21 Product Specification (V1.1) 02.12.2009 • iii Contents Specification Revision History Doc. Version iv • Revision Description Date 1.0 Initial released version 2007/04/13 1.1 Set PD as output always while controlling the sensor. 2009/02/12 Product Specification (V1.1) 02.12.2009 eKM8065 USB and PS/2 Mouse Controller 1 General Description The eKM8065 is a Mouse Controller designed to control both USB and PS/2 Mouse device with 2-wire SPI (SCK and SDIO) interface sensor. This Mouse Controller can auto detect whether in USB or PS/2 mode, and supports 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 sensor Support USB 16-bit XY data for high speed motion DPI switch type: • Button switch • Slide switch Dynamic DPI switch: • USB supports 800,1600 DPI • PS/2 supports 400, 800 DPI Applications: • 3D, 3 Buttons USB and PS/2 Combo Mouse • 3D, 3 Buttons with enhanced wheel USB and PS/2 Combo Mouse Enhanced wheel function: • USB horizontal scrolling enabled by default in Windows Vista operating system. • USB and PS/2 horizontal scrolling enabled by ELAN enhanced wheel mouse S/W in Windows XP and Windows 2000 operating system. 20-pin package (eKM8065C) has additional DPI LED display Package: • 18-pin PDIP (300 mil) eKM8065BP • 18-pin SOP (300 mil) eKM8065BM • 20-pin PDIP (300 mil) eKM8065CP • 20-pin SOP (300 mil) eKM8065CM Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) •1 eKM8065 USB and PS/2 Mouse Controller 3 Pin Assignment eKM8065B (18-Pin) 1 18 Z1 L KEY 2 17 Z2 R KEY 3 16 ZX_L M KEY 4 15 PD / M_SEL SCLK 5 14 SDIO ZX_R/BTN_SWT 6 13 D+ / CLK VSS 7 12 D- / DATA V3.3 8 11 VDD OSCI 9 10 OSCO eKM8065B CPI Figure 3-1 eKM8065B (18-Pin) Pin Assignment eKM8065C (20-Pin) CPI 1 20 Z1 L KEY 2 19 Z2 R KEY 3 18 ZX_L M KEY 4 17 PD / M_SEL SCLK 5 16 SDIO ZX_R / BTN_SWT 6 15 LED VSS 7 14 D+ / CLK VSS 8 13 D- / DATA V3.3 9 12 VDD OSCI 10 11 OSCO Figure 3-2 eKM8065C (20-Pin) Pin Assignment 2• Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) eKM8065 USB and PS/2 Mouse Controller 4 Pin Description eKM8065B (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Ω puledl 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. Serial port clock output, while eKM8065 transmits data to OM10. 5 SCLK I/O Serial port clock internal 200K resistor pulled high to V3.3V, while eKM8065 is idle. Input port with internal 200 KΩ pulled high to V3.3V. To select 3D 3-Key with enhanced wheel mode, the DPI switch type is fixed on BTN DPI switch type. 6 ZX_R / BTN_SWT I 3D 3-Key with enhanced wheel mode : horizontal scrolling right Key Input To select 3D 3-Key mode, this pin is also use 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.12.2009 (This specification is subject to change without further notice) •3 eKM8065 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. Key function : 16 ZX_L I 3D 3-Key mode : this pin connects to V3.3V 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.12.2009 (This specification is subject to change without further notice) eKM8065 USB and PS/2 Mouse Controller eKM8065C (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Ω puledl 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. Serial port clock output, while eKM8065 transmits data to OM10. 5 SCLK I/O Serial port clock internal 200K resistor pulled high to V3.3V, while eKM8065 is idle. Input port with internal 200 KΩ pulled high to V3.3V. To select 3D 3-Key with enhanced wheel mode, the DPI switch type is fixed on BTN DPI switch type. 6 ZX_R / BTN_SWT I 3D 3Key with enhanced wheel mode : horizontal scrolling right Key Input To select 3D 3-Key mode, this pin is also use 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.12.2009 (This specification is subject to change without further notice) •5 eKM8065 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 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 : 800 DPI (double by F/W) 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 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. Key function : 18 ZX_L I 3D 3-Key mode : this pin connects to V3.3V 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.12.2009 (This specification is subject to change without further notice) eKM8065 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 eKM8065 Functional Block Diagram Figure 5-2 Quadrature Signal Timing Diagram Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) •7 eKM8065 USB and PS/2 Mouse Controller PS/2 Functional Description • PS/2 Mouse Command Description Hex Code • Command eKM8065 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 eKM8065 received the following consecutive commands. 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 the read device type command (F2) will change from "00" to "03". c. Data report will be four bytes format. 8• Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) eKM8065 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 3-Key PS/2 with enhanced wheel scrolling mouse (A) Entering procedure: after eKM8065 enter scrolling mouse mode (Mouse ID = 03), while eKM8065 received the following consecutive commands. The eKM8065 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 Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) •9 eKM8065 USB and PS/2 Mouse Controller (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 "03". c. Data report will be four bytes format: [ 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) 4 0-7 Z data (D0-D7) 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 dots per count. The wheel should remain at Z1=0, Z2=0 or Z1=1, Z2=1 Phase 10 • Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) eKM8065 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 USB Specification Version 1.10 0x0110 4 bDeviceCalss 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 protocol 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 0x0217(3D3K)/0x0222(3D3K with enhanced wheel) 0x0217 / 0x0222 12 bcdDevice 2 The device release number is 0x6510 0x6510 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 configuration 0x01 *1 *1 Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) Product String: “USB Mouse” • 11 eKM8065 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 2 wTotalLength 2 The total length of data for this configuration is 34 bytes. This includes the 0x0022 combined length of all the descriptors returned. 4 bNumInterfaces 1 This configuration supports “1” interface 5 bConfigurationValue 1 The value “1” should be used to select this 0x01 configuration. 6 iConfiguration 1 The device does not have the string descriptor describing this configuration. 0x00 0xA0 0x32 7 bmAttributes 1 Configuration characteristics: • Bit 7: Reserved (set to one) 1 • Bit 6: Self-powered 0 • Bit 5: Remote Wake-up 1 8 MaxPower 1 Maximum power consumption of the device under this configuration is 100 mA 0x01 6.3 Interface Descriptor Offset 0 12 • Field bLength Size 1 Description Value 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 3 bAlternateSetting 1 The value used to select an alternate setting for this interface is “0” 0x00 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 8 iInterface 1 The device does not have the string descriptor describing this interface 0x00 Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) eKM8065 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 descriptor 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) / 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 bmAttributes 1 • Transfer : Interrupt • Sync : No Sync • Usage : Data EP 0x03 4 wMaxPackerSize 2 Maximum packet size value for this endpoint is 6 bytes (3D3K) / 7 bytes (3D3K 0x0006/ with enhanced wheel) (Bits 12-11: Addtl. 0x0007 Transactions/frame) 6 bInterval 1 bInterval:10. The polling interval value is bInterval or 2**(bInterval-1) Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) 0x0A • 13 eKM8065 USB and PS/2 Mouse Controller 6.6 Report Descriptor For 3D 3K 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) 0xC0 0xC0 14 • End Collection End Collection Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) eKM8065 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 USAGE (AC PAN) INPUT (DATA, VARIABLE, RELATIVE) 0xC0 0xC0 End Collection End Collection Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) • 15 eKM8065 USB and PS/2 Mouse Controller 6.7 USB Mouse Report Data Type BOOT Mode 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 2 Bit 1 Bit 0 Byte 1 Byte 2 X-Movement Data Byte 3 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Y-Movement Data 3D 3K Byte 1 Byte 2 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 1 Bit 0 X-Movement Data Low Byte Byte 3 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 X-Movement Data High Byte Byte 4 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Y-Movement Data Low Byte Byte 5 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Y-Movement Data High Byte Byte 6 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Z-Movement Data 16 • Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) eKM8065 USB and PS/2 Mouse Controller 3D 3K with Enhanced Wheel Byte 1 Byte 2 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 Byte 3 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 X-Movement Data High Byte Byte 4 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Y-Movement Data Low Byte Byte 5 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Y-Movement Data High Byte Byte 6 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Z-Movement Data Byte 7 Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 AC_PAN 7 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 Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) • 17 eKM8065 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 8-1a below Z-axis debounce time Tz 1 - - ms See Figure 8-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 7-1a L, M, R, Debounce Time Timing Diagram Z2 Z1 Tz Tz Tz Tz Figure 7-1b Z-Axis Debounce Time Timing Diagram 18 • Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) eKM8065 USB and PS/2 Mouse Controller 9 Pad List Information 9.1 eKM8065B Pad Diagram Figure 8-1 eKM8065B Pad Diagram 9.1.1 eKM8065B Pad Coordinates Pad Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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 ZX_R -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 ZX_L 511.5, 1176.7 Z2 406.5, 1176.7 Z1 301.5, 1176.7 Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) • 19 eKM8065 USB and PS/2 Mouse Controller 9.2 eKM8065C Pad Diagram Figure 8-2 eKM8065C Pad Diagram 9.2.1 eKM8065C Pad Coordinates Pad Number 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 20 • Chip Size : 1520*2580 UM 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 ZX_R -652.7, -890 VSS V3.3 OSCI OSCO VDD D_MNS D_PLUS LED SDIO PD ZX_L Z2 Z1 -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 Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) eKM8065 USB and PS/2 Mouse Controller 10 Application Circuits eKM8065B Mechanical Z/2 3D 3-Key Application Vbus V3.3 CPI SWT JP2 U1 1 CPI 2 3 CPI BTM 4 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 9 C1 10uF Z2 R KEY ZX_L 18 17 SDIO ZX_R D+/CLK VSS D-/DATA V3.3 VDD R5 16 V3.3 15 PD SCLK OSCI D+ D- 14 SDIO LED 13 D+ 12 U2 D- R4 1 36K 2 OSCO 3 VDD 4 C6 C7 0.1uF 10uF C4 8pF C5 8pF 3D mouse mus have this resistance(R3) to V3.3. 8 GND Q1 7 ROSCA XY_LED 10 Ceramic resonator 6M V3.3 C2 22uF ROSCB 11 EKM8065B 10ohm R1 USB 8 4.7uF Z1 L KEY M KEY 5 SCLK CPI 2N3904 6 SCLK PD 5 SIO OM10B R3 100K ohm C9 C10 0.1uF 10uF V3.3 SDIO SCLK Vbus V3.3 eKM8065B Mechanical Z/2 3D 3-Key with Enhanced Wheel Vbus 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 ZX_L M KEY PD SCLK SDIO ZX_R D+/CLK VSS D-/DATA V3.3 VDD OSCI OSCO 18 R5 17 16 15 14 SDIO LED 13 D+ 12 U2 D- R4 1 36K 2 11 10 3 4 EKM8065B 10ohm R1 USB 8 CPI C2 22uF C6 C7 0.1uF 10uF Ceramic resonator 6M V3.3 C4 8pF C5 8pF 4D mouse m have this resistance(R to GND. 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 Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice) SDIO SCLK Vbus • 21 eKM8065 USB and PS/2 Mouse Controller eKM8065C Mechanical Z/2 3D 3-Key Application V3.3 CPI SWT JP2 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 7 8 C3 Shield Vss D+ DVbus 9 4.7uF D+ D- 10 C1 10uF Z1 L KEY Z2 R KEY ZX_L M KEY PD SCLK SDIO ZX_R LED VSS D+/CLK VSS D-/DATA V3.3 VDD OSCI OSCO 20 R5 19 18 V3.3 17 16 SDIO LED 15 C2 22uF U2 LED2 14 D+ 13 R D- 1 36K 2 ROSCB VDD 11 4 C6 C7 0.1uF 10uF C4 8pF 3D mouse mus have this resistance(R3) to V3.3. C5 8pF Vbus 8 GND Q1 7 ROSCA XY_LED 3 Ceramic resonator 6M V3.3 R4 12 EKM8065C 10ohm R1 USB CPI 2N3904 6 SCLK PD 5 SIO OM10B R3 100K ohm C9 C10 0.1uF 10uF V3.3 V3.3 SDIO SCLK 5 4 3 2 1 JP1 Vbus LED2 on : 1600dpi(USB) / 800dpi(PS/2) LED2 off : 800dpi(USB)/400dpi(PS/2) U1 V3.3 eKM8065C 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 ZX_L M KEY PD SCLK SDIO ZX_R 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 EKM8065C 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 22 • V3.3 SDIO SCLK Vbus Product Specification (V1.1) 02.12.2009 (This specification is subject to change without further notice)