
PNI Sensor Corporation
DOC#1014688 r09.2
TCM User Manual
Page 59
7.4
Using Multiple Coefficient Sets
The ability to store and access multiple calibration coefficients sets the FieldForce TCM apart
from our Prime or legacy TCM. This section will detail the command list and provide two
examples for utilizing this functionality.
Table 7-7 Multiple Coefficient Command List
Magnetometer Calibration
kSetConfig
(frame ID)
kCoeffCopySet
(config ID)
Value
(UInt32)
Examples
Command
Bytes
TCM Response
0x06
0x12
0-7
Set kCoeffCopySet to
be copy 0
0x00 0x0A 0x06
0x12 0x00 0x00
0x00 0x00 0x3E
0x76
0x00 0x05 0x13 0xDD
0xA7
Set kCoeffCopySet to
be copy 1
0x00 0x0A 0x06
0x12 0x00 0x00
0x00 0x01 0x2E
0x57
0x00 0x05 0x13 0xDD
0xA8
Set kCoeffCopySet to
be copy 4
0x00 0x0A 0x06
0x12 0x00 0x00
0x00 0x04 0x7E
0xF2
0x00 0x05 0x13 0xDD
0xA9
kGetConfig
(frame ID)
kCoeffCopySet
(config ID)
Value
(UInt32)
Examples
Command
Bytes
TCM Response
0x07
0x12
get kCoeffCopySet
value which is
currently used in
TCM
0x00 0x06 0x07
0x12 0x19 0x44
0x00 0x0A 0x08 0x12
0x00 0x00 0x00 0x??
CRC1 CRC2
Accelerometer Calibration
kSetConfig
(frame ID)
AccelCoeffCopySet
(config ID)
Value
(UInt32)
Examples
Command
Bytes
TCM Response
0x06
0x13
0 - 2
Set
kAccelCoeffCopySet
to be copy 0
0x00 0x0A 0x06
0x13 0x00 0x00
0x00 0x00 0x94
0x27
0x00 0x05 0x13 0xDD
0xA7
Set
kAccelCoeffCopySet
to be copy 1
0x00 0x0A 0x06
0x13 0x00 0x00
0x00 0x01 0x84
0x06
0x00 0x05 0x13 0xDD
0xA8