ShenzhenShenzhenShenzhenShenzhen LIZELIZELIZELIZE ElectronicElectronicElectronicElectronic TechnologyTechnologyTechnologyTechnology Co.,Co.,Co.,Co., LtdLtdLtdLtd
SPECIFICATIONSPECIFICATIONSPECIFICATIONSPECIFICATION
MX84521
USB+PS/2 Mouse Controller
VERSION 1.0
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 2 of 13
TABLETABLETABLETABLE OFOFOFOF CONTENTSCONTENTSCONTENTSCONTENTS
1.1.1.1. GeneralGeneralGeneralGeneral DescriptionDescriptionDescriptionDescription....................................................................................................................................................................................................................................................................................................................................................................................................................................................................3333
2.2.2.2. FeaturesFeaturesFeaturesFeatures........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................3333
3.3.3.3. PinPinPinPin AssignmentAssignmentAssignmentAssignment....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................4444
4.4.4.4. FunctionFunctionFunctionFunction DescriptionDescriptionDescriptionDescription............................................................................................................................................................................................................................................................................................................................................................................................................................................................5555
4.1 PS/2 Function Description PS/2 Mouse Commands Description................................ 5
4.2 USB Function Description.................................................................................................. 6
4.2.1 Device Descriptor.......................................................................................................................... 6
4.2.2 Configuration Descriptor...............................................................................................................7
4.2.3 Interface Descriptor.......................................................................................................................7
4.2.4 Human Interface Device (HID) Descriptor................................................................................. 8
4.2.5 Endpoint Descriptor.......................................................................................................................8
4.2.6 Report Descriptor...........................................................................................................................9
4.2.7 USB Mouse Report Data Type.................................................................................................... 9
5.5.5.5. AbsoluteAbsoluteAbsoluteAbsolute MaximumMaximumMaximumMaximum RatingRatingRatingRating........................................................................................................................................................................................................................................................................................................................................................................................................ 10101010
6.6.6.6. ElectricalElectricalElectricalElectrical CharacteristicCharacteristicCharacteristicCharacteristic............................................................................................................................................................................................................................................................................................................................................................................................................................10101010
7.7.7.7. ApplicationApplicationApplicationApplication CircuitCircuitCircuitCircuit....................................................................................................................................................................................................................................................................................................................................................................................................................................................................10101010
7.1 Application for ADNS-2610,ADNS-2620........................................................................10
7.2 Application for PAN3101...................................................................................................11
7.3 Application for PAN-3102..................................................................................................11
7.4 Application for ADNS-5020.............................................................................................. 12
7.5 Application for machine ball mouse................................................................................12
8.8.8.8. PackagePackagePackagePackage................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ 13131313
9.9.9.9. RevisionRevisionRevisionRevision HistoryHistoryHistoryHistory....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................13131313
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 3 of 13
1.1.1.1. GGGGeneraleneraleneraleneral DescriptionDescriptionDescriptionDescription
The MX84521 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 three axes X,Y, Z, and three
buttons L, R, M in both USB and PS/2 mode.It is a true crystal-less and ultra low cost BOM solution.
2.2.2.2. FFFFeatureseatureseatureseatures
●Universal Serial Bus Specification, version 1.0
●USB HID Specification, version 1.11
●USB-IF certification pending
●WHQL certificated
●Auto-detecting PS/2 port or USB port
●Compatible with Microsoft 3D PS/2 mouse
●Supports 3D (X, Y, Z) 3-Key (L, R, M) input
●Supports Z/2 Z-axis input type
●Supports Agilent HDNS- 2610 & 2620 &5020 Optical Mouse Sensor
●Supports PXI PAN3101&PAN3102 Optical Mouse Sensor
●Firmware simulates 800DPI for 2610/2620 Optical Sensor
3.3.3.3. PPPPinininin AssignmentAssignmentAssignmentAssignment
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 4 of 13
PinPinPinPin No.No.No.No. SymbolSymbolSymbolSymbol I/OI/OI/OI/O FunctionFunctionFunctionFunction
1 VDD 5V Power Input
2 V33 3.3V DC voltage output from internal regulator. This pin has tobe tied to a 104 capacitor
3 Z1 I Z axis Input 1
4 Z2 I Z axis Input 1
5 CLK I/O USB D+ or PS/2 CLK I/O
6 DATA I /O USB D- or PS/2 Data I/O
7 Sensor_CTL O Sensor power control
8 GND GND
9 KR I Right key input
10 KM I Middle key input
11 KL I Left key input
12 SCLK I/O Serial Clock to sensor IC SCLK
13 SDIO I/O Serial Data from Agilent sensor IC SDIO
14 TEST2 I Test for chip
15 DPIS I CPI select pin
16 OSCO O Osco for sensor
4.4.4.4. FunctionFunctionFunctionFunction DescriptionDescriptionDescriptionDescription
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 5 of 13
4.14.14.14.1 PS/2PS/2PS/2PS/2 FunctionFunctionFunctionFunction DescriptionDescriptionDescriptionDescription PS/2PS/2PS/2PS/2 MouseMouseMouseMouse CommandsCommandsCommandsCommands DescriptionDescriptionDescriptionDescription
HexHexHexHex CodeCodeCodeCode CommandCommandCommandCommand MX84521MX84521MX84521MX84521 EchoEchoEchoEcho CodeCodeCodeCode
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
ByteByteByteByte BitBitBitBit DescriptionDescriptionDescriptionDescription
1 0 Left button status; 1 = pressed
1 Right buttson status; 1 = pressed
2 Middle button status; 1 = pressed
3 Reserve, set 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)
(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 stay at Z1=0, Z2=0 or Z1=1, Z2=1 Phase
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 6 of 13
4.24.24.24.2 USBUSBUSBUSB FunctionFunctionFunctionFunction DescriptionDescriptionDescriptionDescription
4.2.14.2.14.2.14.2.1 DeviceDeviceDeviceDevice DescriptorDescriptorDescriptorDescriptor
OffsetOffsetOffsetOffset FieldFieldFieldField SizeSizeSizeSize DescriptionDescriptionDescriptionDescription ValueValueValueValue
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 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 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 0x01c4F 0x1c4F
10 idProduct 2 The Product ID is 0x0003 0x0003
12 bcdDevice 2 The device release number is 0x0110 0x0110
14 iManufacturer 1
The device does not have the string*1
descriptor describing the manufacturer 0x01
15 iProduct 1
The index of the string*1 descriptor de
scribing the product is “2” 0x02
16 iSerialNumber 1
The device does not have the string*1
descriptor that describes the serial num
ber
0x00
17 bNumConfigurations 1
The device uses “1” as possible config
uration 0x01
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 7 of 13
4.2.24.2.24.2.24.2.2 ConfigurationConfigurationConfigurationConfiguration DescriptorDescriptorDescriptorDescriptor
OffsetOffsetOffsetOffset FieldFieldFieldField SizeSizeSizeSize DescriptionDescriptionDescriptionDescription ValueValueValueValue
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 con
figuration is 34. This includes the c
ombined length of all the descriptors
returned.
0x0022
4 bNumInterfaces 1 This configuration supports “1” interface. 0x01
5 bConfigurationValue 1
The value “1” should be used to sel
ect this configuration. 0x01
6 iConfiguration 1
The device does not have the string
descriptor describing this configurati
on.
0x00
7 bmAttributes 1
Configuration characteristics: • Bit 7:
Reserved (set to 1) 1 • Bit 6: Self-
powered 0 • Bit 5: Remote W
ake-up 1
0xA0
8 MaxPower 1
Maximum power consumption of the
device under this configuration is 9
8mA
0x31
4.2.34.2.34.2.34.2.3 InterfaceInterfaceInterfaceInterface DescriptorDescriptorDescriptorDescriptor
OffsetOffsetOffsetOffset FieldFieldFieldField SizeSizeSizeSize DescriptionDescriptionDescriptionDescription ValueValueValueValue
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
3 bAlternateSetting 1 The value used to select alternatesetting for this interface is “0”. 0x00
4 bNumEndpoints 1
The number of endpoints used by t
his interface is “1” (excluding Endpo
int 0).
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 strin
g descriptor describing this interfac
e.
0x00
4.2.44.2.44.2.44.2.4 HumanHumanHumanHuman InterfaceInterfaceInterfaceInterface DeviceDeviceDeviceDevice (HID)(HID)(HID)(HID) DescriptorDescriptorDescriptorDescriptor
OffsetOffsetOffsetOffset FieldFieldFieldField SizeSizeSizeSize DescriptionDescriptionDescriptionDescription ValueValueValueValue
0 bLength 1 The size of this descriptor is 9 bytes. 0x09
1 bDescriptorType 1 HID Descriptor Type 0x21
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 8 of 13
OffsetOffsetOffsetOffset FieldFieldFieldField SizeSizeSizeSize DescriptionDescriptionDescriptionDescription ValueValueValueValue
2 bcdHID 2 Device compliant to the HID specification version 1.10. 0x0110
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 34. 0x0032
4.2.54.2.54.2.54.2.5 EndpointEndpointEndpointEndpoint DescriptorDescriptorDescriptorDescriptor
OffsetOffsetOffsetOffset FieldFieldFieldField SizeSizeSizeSize DescriptionDescriptionDescriptionDescription ValueValueValueValue
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
3 bmAttributes 1
Types of attributes: • Transfer: Interr
upt • Sync: No Sync • Usage: Data
EP
0x03
4 wMaxPackerSize 2
Maximum packet size value for this
endpoint is 0x4 (Bits 12-11: Addtl. Tr
ansactions/frame)
0x000
4
6 bInterval 1 bInterval:10. The polling interval value is bInterval or 2**(bInterval-1) 0x0A
4.2.64.2.64.2.64.2.6 ReportReportReportReport DescriptorDescriptorDescriptorDescriptor
0x05 0x01 Usage Page (Generic Desktop Control)
0x09 0x02 Usage (Mouse)
0xA1 0x01 Collection (Application)
0x09 0x01 Usage (Pointer)
0xA1 0x00 Collection (Linked)
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)
0x81 0x03 Input (Constant)
0x05 0x01 Usage Page (Generic Desktop Control)
0x09 0x30 Usage (X)
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 9 of 13
0x09 0x31 Usage (Y)
0x09 0x38 Usage (Wheel)
0x15 0x81 Logical Minimum (-128)
0x25 0x7F Logical Maximum (127)
0x75 0x08 Report Size (8)
0x95 0x03 Report Count (3)
0x81 0x06 Input (Data, Variable, Relative)
0xC0 End Collection
0xC0 End Collection
4.2.74.2.74.2.74.2.7 USBUSBUSBUSB MouseMouseMouseMouse ReportReportReportReport DataDataDataData TypeTypeTypeType
Byte 1
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
0 0 0 0 0 M R L
Byte 2
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
X-Movement Data
Byte 3
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Y-Movement Data
Byte 4
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Z-Movement Data
5.5.5.5. AbsoluteAbsoluteAbsoluteAbsolute MaximumMaximumMaximumMaximum RatingRatingRatingRating
SymbolSymbolSymbolSymbol Min.Min.Min.Min. Max.Max.Max.Max. UnitUnitUnitUnit
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
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 10 of 13
6.6.6.6. ElectricalElectricalElectricalElectrical CharacteristicCharacteristicCharacteristicCharacteristic
Test Condition: T = 25ºC, VDD=5.0V, VSS=0V
7.7.7.7. ApplicationApplicationApplicationApplication CircuitCircuitCircuitCircuit
7.17.17.17.1 ApplicationApplicationApplicationApplication forforforfor ADNS-2610,ADNS-2620ADNS-2610,ADNS-2620ADNS-2610,ADNS-2620ADNS-2610,ADNS-2620
ParametersParametersParametersParameters Sym.Sym.Sym.Sym. Min.Min.Min.Min. Typ.Typ.Typ.Typ. Max.Max.Max.Max. UnitUnitUnitUnit
Operating voltage VDD 4.5 5.0 5.5 V
Operating Current (normal operation) IOP − − 10 mA
Operating Current (Sleep mode) Isleep − − 320 µA
Output voltage of 3.3V regulator Vreg 3.0 3.3 3.6 V
L, M, R, debounce time Tb 17 − − ms
Z-axis debounce time Tz 700 − − µs
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 11 of 13
7.27.27.27.2 ApplicationApplicationApplicationApplication forforforfor PAN3101PAN3101PAN3101PAN3101
7.37.37.37.3 ApplicationApplicationApplicationApplication forforforfor PAN-3102PAN-3102PAN-3102PAN-3102
MX84521
USB+PS/2 Mouse Controller
Tel:86-755-8835 3502/03/04 Fax:86-755-8835 3509
Website:http://www.lizhiic.com
Shenzhen LIZE Electronic Technology Co., Ltd Date: 06. Dec. 2007
Version: 1.0 Page: 12 of 13
7.47.47.47.4 ApplicationApplicationApplicationApplication forforforfor ADNS-5020ADNS-5020ADNS-5020ADNS-5020
7.57.57.57.5 ApplicationApplicationApplicationApplication forforforfor machinemachinemachinemachine ballballballball mousemousemousemouse
MX84521
USB+PS/2 Mouse Contr