PIXIPOINT? [ETC]
PixiPoint? Extended PS/2 Protocol Specification (116k) ; PixiPoint ?扩展PS / 2协议规范( 116K )\n![PIXIPOINT?](http://pdffile.icpdf.com/pdf1/p00016/img/icpdf/PIXIP_75749_icpdf.jpg)
型号: | PIXIPOINT? |
厂家: | ![]() |
描述: | PixiPoint? Extended PS/2 Protocol Specification (116k)
|
文件: | 总17页 (文件大小:116K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
![](http://public.icpdf.com/style/img/ads.jpg)
Technical Reference Manual
PixiPoint® Extended PS/2 Protocol
Specification
Preliminary
Document Number: DOC7-PXZ-TR-069
Date: February, 2002
Copyright ©1998-2002 Semtech Corporation. All Rights Reserved
Semtech Corporation
INTELLECTUAL PROPERTY DISCLAIMER
This specification is provided “as is” with no warranties whatsoever including any warranty of merchantability,
fitness for any particular purpose, or any warranty otherwise arising out of any proposal, specification or
sample.
A license is hereby granted to reproduce and distribute this specification for internal use only. No other
license, expressed or implied to any other intellectual property rights is granted or intended hereby. Authors
of this specification disclaim any liability, including liability for infringement of proprietary rights, relating to the
implementation of information in this specification. Authors of this specification also do not warrant or
represent that such implementation(s) will not infringe such rights.
All product names are trademarks, registered trademarks, or servicemarks of their respective owners.
PixiPoint® extended PS/2 spec
Preliminary
Table of contents
Semtech Corporation
MouseCoder product
Table of contents
Chapter 1 / PixiPoint ® extended PS/2 protocol
specification
Document revisions
1-1
1-3
1-3
1-5
Normal operations
Extended operations
Commands for the proprietary controls
DOC7-PXZ-TR-069
TOC-1
Copyright ©1999-2002 Semtech Corporation
Table of contents
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
This page intentionally left blank
DOC7-PXZ-TR-069
Confidential
Copyright ©1999-2002 Semtech Corporation
TOC-2
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
PixiPoint® extended PS/2 specification
Document revisions
Document revision history
Date
Version
Comments
2002/02/21 0.69
1999/10/21 0.68
C.A. Edited for Semtech; terminology updates
V.M. Added ESR.b6 (Disable USAR Gesture), defined default values for
the XY / Z Gain and Direction Register when the Select pin is grounded.
1999/09/17 0.67
1999/09/16 0.66
C.A. Reformatted and edited. Added a table listing the commands.
V.M. Added commands and Table 5 for Direction control, changed
logistics of Extended PS/2 commands and USAR “knocking” / Device ID.
1999/08/18 0.65
1999/08/12 0.64
V.M. Added setting for disabling of the Z axis sampling (in Tap Sensitivity
Register), Note for ESR.b1-b3, and changed wording in EStatus Register
V.M. Added levels for Tap Sensitivity, Note for the value of the Extended
Status Register, and changed text for the Power-down command
1999/07/02 0.63
1999/05/07 0.62
1999/05/06 0.61
1999/04/22 0.60
V.M. Added commands for Z Gain and Code CheckSum
V.M. Corrected size of Extended Status Register (Table 4)
V.M. Added commands for Device Type, Version, and XY Gain
V.M. First Draft
DOC7-PXZ-TR-069
Confidential
Copyright ©1999-2002 Semtech Corporation
1-1
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
This page intentionally left blank
DOC7-PXZ-TR-069
Confidential
1-2
Copyright ©1999-2002 Semtech Corporation
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
PixiPoint® extended PS/2 specification
Normal operations
At power-up or reset, the PixiPoint® PS/2 pointing device acts as a standard
legacy three-button mouse; as such, it fully supports all applicable PS/2
commands, issues three-byte reports, and has a device ID equal to zero. It
can also be switched into wheelmouse mode by the special wheelmouse
command sequence; in wheelmouse mode, it fully supports all PS/2
commands a standard wheelmouse supports, issues four-byte reports, and
has a device ID equal to three.
These standard functions do not affect or interfere with the PixiPoint®
extended PS/2 protocol or its proprietary controls.
Extended operations
The PixiPoint® extended PS/2 protocol includes (currently) 14 commands,
0xC0 through 0xCD. All these PixiPoint® extended PS/2 commands are
available at any time regardless of the current mode of the device (either
standard legacy mode with ID 0 and 3-byte reports, or wheelmouse mode
with ID 3 and 4-byte reports).
In order to determine whether the device can accept the PixiPoint®
extended PS/2 commands, the driver should perform a special "sequential"
(a.k.a. "knocking") command, shown in Table 1 below. All elements of this
sequential command are valid mouse commands, but the exact order and
number of these commands are very unlikely to happen during operations of
a standard mouse driver. The last command in the set is "Read device type"
(0xF2). A PixiPoint® extended PS/2 protocol device responds to this
command by returning a special value device ID; which value it returns
depends on its capabilities. A special value is returned for the device ID
only for a single "Read device type" (0xF2) command issued as part of the
special sequential command. Other "Read device type" (0xF2) commands,
not issued as part of the special sequential command, return the standard
device ID for the current mode, either 0 or 3.
DOC7-PXZ-TR-069
Confidential
Copyright ©1999-2002 Semtech Corporation
1-3
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
Read PixiPoint® extended ID sequential command
Command / data description
Host Data
0xF3
Device Data
0xFA
Set sampling rate
Acknowledgement
80 reports/second
Acknowledgement
Set Sampling Rate
Acknowledgement
60 reports/second
Acknowledgement
Set sampling rate
Acknowledgement
100 reports/second
Acknowledgement
Read device type
Acknowledgement
PixiPoint® extended device ID
0x50
0xF3
0x3C
0xF3
0x64
0xF2
0xFA
0xFA
0xFA
0xFA
0xFA
0xFA
0x20
Table 1. Read PixiPoint® extended ID sequential command
The driver must check the device ID returned by the sequential command.
Normal-mode-only pointing devices should always return a device ID of
0x00 or 0x03. If a device ID other then 0x20 is returned, it can not be
assumed that the device can properly process PixiPoint® extended PS/2
commands.
If the correct device ID (0x20) is received, the driver may further initialize the
pointing device with any appropriate proprietary controls, the correct mode
(three-byte or four-byte report mode), the sampling rate, stream/prompt
mode, and issue an Enable command to start operations.
DOC7-PXZ-TR-069
Confidential
1-4
Copyright ©1999-2002 Semtech Corporation
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
Commands for the proprietary controls
Proprietary controls for the PixiPoint® pointing device are serviced with the
following commands.
PixiPoint® extended PS/2 commands
Command Command name
byte
Number of data
bytes sent to
PixiPoint®
Number of data bytes
returned by PixiPoint®
(excluding
(excluding command acknowledge bytes)
byte)
0xC0
0xC1
0xC2
0xC3
0xC4
0xC5
0xC6
0xC7
0xC8
0xC9
0xCA
0xCB
0xCC
0xCD
Set tap sensitivity
Set translation profile
Read extended status
Write extended status
Power down
Read device type
Read device version
Read XY gain
Write XY gain
Read Z gain
Write Z gain
Read Checksum
Read direction
1
1
0
1
0
0
0
0
1
0
1
0
0
1
0
0
1
0
0
1
1
1
0
1
0
3
1
0
Write direction
Table 2. List of PixiPoint® extended PS/2 commands
DOC7-PXZ-TR-069
Confidential
Copyright ©1999-2002 Semtech Corporation
1-5
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
Set tap sensitivity (0xC0)
This command byte is followed by one byte of data. The extended mode
device responds to each of the two bytes with Acknowledge (0xFA). The
value of the second byte is written to the tap sensitivity register which
controls the tapping sensitivity of the PixiPoint® as shown in the following
table.
Tap sensitivity register
Value
0x00
0x01
Meaning
OFF
Soft
Comment
Tap feature is disabled
Default, recommended setting
0x02
-
0x03
Medium
0x04
-
0x05
Hard
0x06
-
0x07
Very Hard
0x08 – 0x7F
0x80
0x81 – 0xFF
-
All these values are reserved
Z-axis sampling is stopped
All these values are reserved
OFF
-
Table 3. Tap sensitivity register
Note: If Z-axis functionality is not required, some 25% savings in power
consumption by the PixiPoint® can be realized by termination of the Z-axis
sampling. Whenever the value of the tap sensitivity register changes to or
from the value of 0x80, the PixiPoint® performs a self-calibration cycle of
approximately 500 ms duration. The sensor should not be touched while the
self-calibration cycle is in progress.
DOC7-PXZ-TR-069
Confidential
1-6
Copyright ©1999-2002 Semtech Corporation
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
Set translation profile (0xC1)
This command byte is followed by one byte of data. The extended mode
device responds to each of the two bytes with Acknowledge (0xFA). The
value of the second byte controls the translation profile between the force on
the PixiPoint® sensor and relative motion as shown in the following table.
Translation profile register
Value
Meaning
Comment
0x00
0x01 – 0xFF
Semtech Profile #1
Default, recommended setting
All these values are reserved
Table 4. Translation profile register
Read extended status (0xC2)
The extended mode device responds to the command byte with an
Acknowledge (0xFA), and then returns a one-byte value. See the section on
the Write extended status command for the description of the extended
status register.
Write extended status (0xC3)
This command byte is followed by one byte of data. The extended mode
device responds to each of the two bytes with Acknowledge (0xFA). The
value of the second byte is written to the extended status register. See
Table 5 below for the description of individual bits.
Note: Possible values for the extended status register are 0x00 to 0x7F (i.e.
it is NOT required to pass "special" values like 0xFF, 0xFE, etc. via the 8042
host).
DOC7-PXZ-TR-069
Confidential
Copyright ©1999-2002 Semtech Corporation
1-7
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
Extended status register
Bit
number
Name
Default / Comment
power-
up value
0
Right Primary Enable
Left Wakeup Enable
0
When set (=1) this bit directs sensor press activation to the
Right button.
When this bit is reset (=0) sensor press activation is directed
to the Left button.
When set (=1) AND the PixiPoint® is in the extra-low-power
mode, press on the Left Button triggers generation of the Left
Button Press (and, possibly, zero motion) report.
When cleared (=0), the Left button is driven low and ignored
in the extra-low-power mode mode. See note below.
When set (=1) AND the PixiPoint® is in the extra-low-power
mode, press on the Right Button triggers generation of the
Right Button Press (and, possibly, zero motion) report.
When cleared (=0), the Right button is driven low and
ignored in the extra-low-power mode mode. See note below.
When set (=1) AND the PixiPoint® is in the Zero-Power
mode, press on the Middle Button triggers generation of the
Middle Button Press (and, possibly, zero motion) report.
When cleared (=0), the Middle button is driven low and
ignored in the extra-low-power mode mode. See note below.
1
2
3
0
Right Wakeup Enable
0
0
Middle Wakeup
Enable
4
Middle Normal Mode
0
When set (=1) this bit forces normal operation of the Middle
switch. In “Middle Normal Mode” PixiPoint® always sends
Z_Data=0, and Middle button event in response to the
Middle switch activation.
When cleared (=0), the middle switch controls generation of
Z_Data, and/or clicks, and/or presses of the middle button,
used in panning and scrolling operations with the “standard”
wheel mouse driver, as permitted by the setting of bit 6.
If the device operates in the normal (3-Byte) Mouse mode,
normal operation of the Middle button is enforced even if this
bit is cleared (=0).
5
6
Slow Drag Disable
0
0
When set (=1) this bit disables slowing-down of the cursor
speed when primary button is activated by sensor press.
When cleared (=0), the speed of the cursor is reduced when
primary button is activated by sensor press.
When set (=1) this bit inhibits reporting of all Middle button
events, and forces the PixiPoint® to send Z_Data in response
to the force in the Y direction when the Middle switch is
pressed.
Semtech Gesture
Disable
When cleared (=0), the generation of Z_Data and Middle
button events is controlled by the Semtech Gesture
Algorithm.
If the device operates in the normal (3-Byte) Mouse mode,
state of this bit has no effect on the operation of the device.
7
Reserved
0
Ignored, keep cleared (=0)
Table 5. Extended status register
DOC7-PXZ-TR-069
Confidential
1-8
Copyright ©1999-2002 Semtech Corporation
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
Note: If reports from the PixiPoint® are disabled while the "Power down"
command is issued, the left, middle, and right buttons' pins are driven low
and ignored in extra-low-power mode, regardless of the state of bit 1
through bit 3 of the extended status register.
Power down (0xC4)
The extended mode device responds to the command byte with
Acknowledge (0xFA). The "Power down" command forces the PixiPoint®
into extra-low-power mode.
If external PS/2 device is connected to the pass-through PS/2 port, the
PixiPoint® receives but ignores any motion reports from the external device
until the PixiPoint® returns to normal operating mode. The PixiPoint®
operates in normal (high) power mode for the duration of the transmissions
from the external PS/2 device, but returns to extra-low-power mode as soon
as the transmissions finish. Hot-plug of the external PS/2 pointing device
operates normally in extra-low-power mode.
The PixiPoint® receives and acknowledges all commands from the host
while it is in extra-low-power mode by temporarily resuming normal
operations for the duration of transmission, but returns to extra-low-power
mode immediately after the last Acknowledge to host is transmitted (see the
two exceptions below).
To resume normal operations, the host should do one of these two actions:
1. Issue an Enable (0xF4) command. In this case reinitialization is not
needed, and normal operations commence after a brief recalibration
delay (~500ms; all communications are active during recalibration).
2. Issue a Reset (0xFF) command and re-initialize the PixiPoint®.
Read device type (0xC5)
The extended mode device responds to the command byte with
Acknowledge (0xFA), and then returns a one-byte value. This data is used
for identification of the IC; it is hard-coded in the firmware.
Read device version (0xC6)
The extended mode device responds to the command byte with
Acknowledge (0xFA) , and then returns a one-byte value. This data is used
for identification of the IC; it is hard-coded in the firmware.
DOC7-PXZ-TR-069
Confidential
Copyright ©1999-2002 Semtech Corporation
1-9
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
Read XY Gain (0xC7)
The extended mode device responds to the command byte with
Acknowledge (0xFA), and then returns a one-byte value. See the "Write XY
gain" command for the description of the data.
Write XY gain (0xC8)
This command byte is followed by one byte of data. The extended mode
device responds to each of the two bytes with Acknowledge (0xFA). The
value of the second byte is written to the XY gain register. This parameter
allows fine control of the gain in the X/Y (but not Z) A/D processing
channels, in order to accommodate various sensors and/or heights of the
sensors. Power-up value is 0x80 (Gain=1, weight of individual bit = TBD) if
the Select pin (pin 19) is floating. Power-up value is 0x6C if the Select pin
(pin 19) is grounded.
Read Z gain (0xC9)
The extended mode device responds to the command byte with
Acknowledge (0xFA), and returns a one-byte value. See the "Write Z gain"
command for the description of the data.
Write Z gain (0xCA)
This command byte is followed by one byte of data. The extended mode
device responds to each of the two bytes with an Acknowledge (0xFA). The
value of the second byte is written to the Z gain register. This parameter
allows fine control of the gain in the Z (but not X/Y) A/D processing channel,
in order to accommodate various sensors. Power-up value is 0x80 (Gain=1,
weight of individual bit = TBD) if the Select pin (pin 19) is floating. Power-up
value is 0x58 if the Select pin (pin 19) is grounded.
Read CheckSum (0xCB)
The extended mode device responds to the command byte with
Acknowledge (0xFA), and then calculates and returns a three-byte value
(24-bit CheckSum). This command is intended for generation of the digital
signature of the firmware, and quick manufacturing test of the ROM-mask
devices. The data set consisting of data returned by "Read device type,"
"Read device version," and "Read CheckSum" is constant (i.e., for a device
with the specific Type and Version, the CheckSum can only have a single,
non-changing value). The range of ROM addresses over which the
CheckSum is calculated is preset in the device's firmware and can not be
changed.
DOC7-PXZ-TR-069
Confidential
1-10
Copyright ©1999-2002 Semtech Corporation
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
Read direction (0xCC)
The extended mode device responds to the command byte with
Acknowledge (0xFA), and returns a one-byte value. See the "Write
direction" command for the description of the data.
Write direction (0xCD)
This command byte is followed by one byte of data. The extended mode
device responds to each of the two bytes with an Acknowledge (0xFA). The
value of the second byte is written to the direction register. This register
allows control of the direction (swapping of X and Y signals), and polarity of
the X, Y, and Z signals, in order to accommodate various sensors. Power-
up value is 0x00 if the Select (pin 19) is floating. Power-up value is 0x80 if
Select (pin 19) is grounded. See Table 6 (Direction register) below for the
description of individual bits.
Direction register
Bit
Description Power-up value Power-up value Comment
(when Select is (when Select is
number
floating)
grounded)
0
1
2
3
X sign
0
0
A value of 1 inverts the X
signal
A value of 1 inverts the Y
signal
A value of 1 swaps the X
and Y signals
A value of 0 inverts the Z
signal
Y sign
0
0
0
0
0
1
XY swap
Z sign
4
5
6
7
Reserved
Reserved
Reserved
Reserved
0
0
0
0
0
0
0
0
Ignored, keep cleared
Ignored, keep cleared
Ignored, keep cleared
Ignored, keep cleared
Table 6. Direction register
DOC7-PXZ-TR-069
Confidential
Copyright ©1999-2002 Semtech Corporation
1-11
PixiPoint® extended PS/2 spec
Preliminary
Semtech Corporation
MouseCoder product
This page intentionally left blank
DOC7-PXZ-TR-069
Confidential
1-12
Copyright ©1999-2002 Semtech Corporation
For sales information
and product literature,
contact:
Semtech Corporation
Human Interface Device (HID)
and System Management Division
200 Flynn Road
Camarillo, CA 93012-8790
sales@semtech.com
http://www.semtech.com/
(805)498-2111 Telephone
(805)498-3804 Fax
Copyright ©1999-2002 Semtech Corporation. All rights reserved.
No part of this document may be reproduced in any way without
the express written consent of Semtech Corporation. Semtech and
PixiPoint are registered trademarks of Semtech Corporation. All
trademarks belong to their respective companies. Semtech
Corporation reserves the right to make changes without further
notice to any products herein to improve reliability, function, or
design. Semtech Corporation does not by this document convey
any license under its patent and copyright rights nor the rights of
others.
This specification is provided "as is" with no warranties whatsoever
including any warranty of merchantability, fitness for any particular
purpose, or any warranty otherwise arising out of any proposal,
specification or sample. Authors of this specification disclaim any
liability, including liability for infringement of proprietary rights,
relating to the implementation of information in this specification.
Authors of this specification also do not warrant or represent that
such implementation(s) will not infringe such rights.
相关型号:
©2020 ICPDF网 联系我们和版权申明