Table 5.1 Setups Block
Setups data is sent from the host to the QT in a block of hex data. The block can only be loaded in Setups mode following two se quential 0x01 commands (page 12). All
devices this datasheet pertain to have the same block length. Refer also to Table 5.3, page 23 for further details, and all of Section 5.
Item
#
1
2
3
Key
Default
Byte Parameter
Symbol Bytes Valid range Bits Scope Value Description
Page
Neg thresh
0
NTHR
NTHR = 0..15
4
4
1
1
6
Lower nibble = Neg Threshold - take operand and add 4 to get value
Upper nibble = Neg Drift comp - Via LUT
18
24
24
24
Neg Drift Comp
NDRIFT
NDRIFT = 0..15
10
18
Normal DI Limit
NDIL
NDIL = 0..15
4
1
2
Lower nibble = Normal DI Limit, values same as operand (0 = disables key)
24
19
19
Fast DI Limit
FDIL
FDIL = 0..15
4
1
5
Upper nibble = Fast DI Limit, values same as operand (0 does not work)
Range is in 0.5 sec increments; 0 = infinite; default = 10s (operand = 20)
Range is { infinite, 0.5...127s }; 255 is illegal to use
48
72
Neg recal delay
NRD
0..254
8
1
20
Burst Length
AKS
BL
BL = 0, 1, 2, 3
AKS = 0, 1
2
1
1
1
1
1
2
0
0
Bits 5, 4: = BL, via LUT, default = 48 (setting =2)
20
20
20
4
AKS
24
Bit 6 = AKS, 1 - enabled
Scope Sync
SSYNC
SSYNC = 0, 1
Bit 7 = Scope sync, 1 = enabled
5
6
96
97
Mains Sync
Burst spacing
MSYNC
BS
1
1
MSYNC = 0, 1
BS = 0..11
1
4
24
24
0
1
Bit 6 = Mains sync, negative edge, 1 = enabled; default = 0 (off)
Lower nibble = burst spacing
20
20
Lower limit of acceptable signal; below this value, device declares an error.
7
8
98
Lower signal Limit
LSL
2
0..2048
0..255
16
8
24
-
100
-
21
21
The low order byte should be sent first.
100 Host CRC byte
HCRC
1
Block length
101
CRC Note: A CRC calculator for Windows is available free of charge from Quantum Research on request.
Table 5.2 Key Mapping
Some commands return bitfields related to keys. For example, command 0x07 (report all keys) returns 3 bytes containing flag bits, one per key, to indicate which keys are reporting
touches. The following table shows the byte and bit order of the keys. The table contains the key number reported in each bit.
The key number is related to the X and Y scan lines which address each particular key. Each byte in the return stream represents one set of keys along a Y line, ie up to 8 keys.
Thus, key 0 is at location X0,Y0 and key 19 is at location X3,Y2. .
Bit (X line)
7
7
15
23
6
6
14
22
5
5
13
21
4
4
3
3
2
2
10
18
1
1
0
0
0
1
2
Byte
12
20
11
19
9
8
(Y line)
17
16
Note: Byte 0 is returned first.
lQ
22
QT60248-AS R4.02/0405