3M PX5 Series Скачать руководство пользователя страница 16

16 

3M

™ Multi-Touch ASIC Controller Reference Guide 

3M Touch Systems, Inc. Proprietary Information 

 

The computer can also send requests to the controller to change how it operates or 
receives information about the controller. The controller issues a synchronous report in 
response to some of these requests. 

You need to know product ID and the vendor ID to write your own driver. These values 
are required for identifying the controller and can be found in spec # TSD-48146. 

Receiving Reports from the Controller 

The controller sends a variety of reports to the computer. The first byte of each report is 
the Report ID that defines the structure and content of the report. The controller sends 
some reports as a direct response to a computer request (synchronous).  The controller 
will also send some reports as the result of an external event, such as a touch 
(asynchronous).  

Command Set 

The USB command set is implemented by using HID Get Feature and Set Feature 
commands.  The various requests and reports are grouped together by report size under a 
common feature ID. The following table summarizes the available HID class requests. 

Table 5. HID Class Requests Summary 

Set Feature 

– Calibration 

This is a command to do a Calibrate Extended style calibration.  The controller will auto-
orient on this 2 point calibration.  

Table 6. Calibration Setup Stage 

Offset  Field 

Size 

Value 

Description 

bmRequestType 

0x21 

Class,H2D,Interface 

bRequest 

0x09 

Set Report 

wValue 

0x0303 

Msb 03 = Feature  
Lsb 03 = Feature Report ID 

wIndex 

Always 0 

wLength 

Always 8 

 

 

HID Report  Command 

Name 

bmRequest
Type 

bRequest 

Feature 
Report ID 

Report 
Subtype 

Data 
Stage 
Bytes 

Get Feature  

GetStatus 

0xA1 (D2H) 

0x01 

0x06 

Set Feature  

Calibrate 

0x21 (H2D) 

0x09 

0x03 

Set Feature   

Reset 

0x21 (H2D) 

0x09 

0x03 

Set Feature   

Restore Defaults 

0x21 (H2D) 

0x09 

0x03 

Get Feature  

GetMaxCount 

0xA1 (D2H) 

0x01 

0x12 

Get Feature  

GetControllerID 

0xA1 (D2H) 

0x01 

0x04 

24 

Содержание PX5 Series

Страница 1: ...roller PX5nnn Dual Mode Reference Guide PX5232 Please read understand and follow all safety information contained in the 3M Multi Touch PCT System Integration Guide found at 3M com Touch prior to the...

Страница 2: ...tems Inc products and software are not specifically designed for use in medical devices as defined by United States federal law 3M Touch Systems Inc products and software should not be used in such ap...

Страница 3: ...Establishing the Data Connection 9 Sensor Connection 10 Supplying Power to the Controller 11 Mounting the Sensor 12 Windows Compatibility 12 All Other Platforms 12 Multi Touch Application Support 12 V...

Страница 4: ...munications Overview of Firmware Commands 25 Controller Default Settings 26 Communicating with the Controller 27 Firmware Commands 28 Calibrate 29 Guidelines for Calibrate Command 30 Mode Down Up 31 M...

Страница 5: ...so includes a complete description of the firmware commands and controller specifications Table 1 3M Multi Touch Controller Descriptions Sensor Size Model Number 16 to 24 PX5232 3M Touch Systems is co...

Страница 6: ...ns 3M Touch Systems Support Services 3M Touch Systems provides extensive support services through our website and technical support organization Visit the 3M Touch Systems website at www 3m com touch...

Страница 7: ...can contact 3M Touch Systems Technical Support US only Eastern Standard Time by calling the hot line or by sending an email Toll Free 1 866 407 6666 Option 3 Email US TS techsupport mmm com Contact 3M...

Страница 8: ...user applications This chapter covers the following 3M PX5nnn controller specifications Cable connections Mounting requirements Power requirements and options Overview of the 3M PX5nnn Controllers Th...

Страница 9: ...to a USB port on your PC When creating a custom cable use the components found in Table 4 Page 11 The following table describes the interconnections of the 3M Touch Systems USB cable Table 2 USB Cable...

Страница 10: ...uest to Send RTS 1 Request to Send RTS 8 Clear to Send CTS 4 Clear to Send CTS 9 Not Used Do not ground Sleeve 5V not used 6 DC power jack Not Used Pin Ground 7 Cable shield connected to ground DC pow...

Страница 11: ...cables and noisy electronics The mounting screws should be connected to the chassis ground It is recommended that the AC power use a chassis ground connection for best operation Supplying Power to the...

Страница 12: ...lti touch functionality All Other Platforms 3M Multi Touch PCT technology also works seamlessly with the Linux operating system kernel 3 5 or later When using any other operating system you may need a...

Страница 13: ...compensate for any variability in touch sensor placement during integration you should perform a video alignment of the sensor to the display to ensure touch accuracy There are three ways to perform...

Страница 14: ...c Proprietary Information 2 If you are using 3M MicroTouch MT 7 Software launch the MT 7 Control Panel and follow the instructions on the Main tab You ll be asked to touch 3 targets 3 If you are writi...

Страница 15: ...perating modes and execute diagnostic functions Note This document assumes you are familiar with USB standards and modes of communication with USB devices as well as firmware commands and how to use t...

Страница 16: ...Command Set The USB command set is implemented by using HID Get Feature and Set Feature commands The various requests and reports are grouped together by report size under a common feature ID The fol...

Страница 17: ...ints a target in the lower left corner 2 Controller is waiting for a touch in the upper right corner Calibration software paints a target in the upper right corner 3 Calibration completed successfully...

Страница 18: ...re Report ID 4 wIndex 2 0 Always 0 6 wLength 2 8 Always 8 Table 10 Get Status Data Stage Offset Field Size Value Description 0 Report ID 1 0x06 Feature Report ID 1 POC Status 1 0xXX Power On Check Sta...

Страница 19: ...fect the contents of this field i e successful or unsuccessful processing of a previous status request does not cause the command status field to be updated Table 12 Valid Command Status Field Entries...

Страница 20: ...rt 2 wValue 2 0x0303 msb 03 Feature lsb 03 Feature Report ID 4 wIndex 2 0 Always 0 6 wLength 2 8 Always 8 Table 16 Reset Data Stage Offset Field Size Value Description 0 Report ID 1 0x03 Feature Repor...

Страница 21: ...alibration the controller enumerates and the HID descriptor will contain accurate calculated dimensions Table 17 Restore Defaults Setup Stage Offset Field Size Value Description 0 bmRequestType 1 0x21...

Страница 22: ...lsb 1 0xXX Application code checksum lsb 7 Code ChkSum msb 1 0xXX Application code checksum msb 8 MaxParamWrite lsb 1 0x40 Max block data bytes for a set get param request 9 MaxParamWritemsb 1 0x00 1...

Страница 23: ...alue from 0 to 255 Ignore all other data within a touch report structure with a status marked not valid The coordinate system s origin is in the upper left corner of the touch screen consistent with m...

Страница 24: ...31 Touch Report 6 See Table 24 touch report structure 37 Touch Report 6 See Table 24 touch report structure 43 Touch Report 6 See Table 24 touch report structure 49 Touch Report 6 See Table 24 touch r...

Страница 25: ...nd includes the command syntax the default value how the command works and the expected response from the controller Overview of Firmware Commands Developers may use these commands when writing touch...

Страница 26: ...0 X6 X5 X4 X3 X2 X1 X0 X Byte 3 0 X13 X12 X11 X10 X9 X8 X7 Y Byte 4 0 Y6 Y5 Y4 Y3 Y2 Y1 Y0 Y Byte 5 0 Y13 Y12 Y11 Y10 Y9 Y8 Y7 ID Byte 6 0 N6 N5 N4 N3 N2 N1 N0 Note 1 P is the proximity bit It is set...

Страница 27: ...and Terminator Note The following descriptions of header command and terminator use 3M Touch Systems terminal emulator key sequences You may need to enter the sequence in a different format depending...

Страница 28: ...le reasons for a command failure include The command was not formatted correctly The system parameters were not set up to allow command execution The controller does not support the command The termin...

Страница 29: ...Response SOH 1 CR Valid point response A Valid Point Response 1 signifies that a touch coordinate was detected and is in range of the expected screen target area Two valid point responses indicate su...

Страница 30: ...using the Calibrate commands The controller uses the data immediately before liftoff to register a calibration touch Therefore you can touch the coordinate target hold for a few seconds and then lift...

Страница 31: ...only Mode Inactive Syntax SOH MI CR Response SOH 0 CR Positive response Description Turns off touch reports Mode Stream Syntax SOH MS CR Response SOH 0 CR Positive response The controller will respond...

Страница 32: ...of time needed to execute a Reset command is typically 500 milliseconds with a defined maximum of 2000 milliseconds Therefore the application program should wait and be sure it receives the command re...

Страница 33: ...string identifies the type of controller currently attached to the system lists the features supported by the controller and outputs the status of the controller hardware a self test code Returns an i...

Страница 34: ...us Byte Bit Description Notes 0 Not used 1 ROM_ERROR Code area checksum error 2 PWM Error Touch screen not connected or potential problem 3 NOV_ERROR Parameter Block1 checksum error 4 HDW_ERROR Proble...

Отзывы: