beautypg.com

Kconfigresp (frame id 8, Ksave (frame id 9, Kstartcal (frame id 10 – PNI CompassPoint Prime User Manual

Page 47: 8 kconfigresp (frame id 8, 9 ksave (frame id 9, 10 kstartcal (frame id 10

background image

Prime User Manual r08

Page 41

7.3.8

kConfigResp (frame ID 8

d

)

This frame is the response to kGetConfig frame. The payload contains the configuration

ID and value.

Config ID

Value

UInt8

ID

Specific

Payload

Example: If a request to get the set declination angle, the payload would look like:

1

10.0

Declination ID

Declination

Angle

(Float32)

7.3.9

kSave (frame ID 9

d

)

This frame commands the module to save internal configurations and field calibration to

non-volatile memory. Internal configurations and field calibration is restored on power

up. The frame has no payload. This is the ONLY command that causes the module to

save information into non-volatile memory.

7.3.10 kStartCal (frame ID 10

d

)

This frame commands the module to start field calibration with the current sensor

acquisition parameters, internal configurations and FIR filter settings. See Section 6.2 for

more information on the various calibration procedures.

Note: The payload needs to be 32 bit (4 byte). If no payload is entered or if less than 4 bytes are
entered, the unit will default to the previous calibration method.

Cal Option

UInt32

Payload

The CalOption values are given below for the 3 different calibration methods:

Magnetic Sensor Only Calibration: 0

d

or 0

h

Accelerometer Only Calibration: 100

d

or 64

h

Mag and Accel Calibration: 110

d

or 6E

h