22
3M™ MicroTouch™ Controller SX112 Reference Guide
3M Touch Systems, Inc. Proprietary Information
To terminate Format Raw, issue a Reset command. The controller may return several
bytes of data between the time you issue a Reset command and the controller receives it.
You can either scan the data stream for the Reset acknowledgment, or you can ignore the
response to the first Reset command and then issue a second Reset after approximately 10
seconds has passed.
Use the Format Raw command for diagnostics. Use Format Tablet for standard sensor
operation.
Response:
<SOH>
0
<CR> Positive
response.
After the controller is in Format Raw mode, the controller returns a continuous response
in the following format:
<
41-byte-packet
><
41-byte-packet
>...<
41-byte-packet
>...
Table 8 General Packet Formats
Byte
Bits 0 – 7
1
b0 – b6: Reserved
b7: Synchronization bit (Always 1)
2-6
I component of upper left (UL) corner
7-11
Q component of upper left (UL) corner
12-16 I component of upper right (UR) corner
17-21 Q component of upper right (UR) corner
22-26 I component of lower left (LL) corner
27-31 Q component of lower left (LL) corner
32-36 I component of lower right (LR) corner
37-41 Q component of lower right (LR) corner
Table 9 I/Q Corner Components
Byte
Bits 0 – 7
N
b0 – b6: bits 0-6 of respective I/Q corner data
b7: Always 0
N+1
b0 – b6: bits 7-13 of respective I/Q corner data
b7: Always 0
N+2
b0 – b6: bits 14-20 of respective I/Q corner data
b7: Always 0
N+3
b0 – b6: bits 21-27 of respective I/Q corner data
b7: Always 0
N+4
b0 – b3: bits 28-31 of respective I/Q corner data
b4 – b7: Always 0