beautypg.com

Kgetconfig (frame id 7, Table 7-5: number of calibration points, 7 kgetconfig (frame id 7 – PNI CompassPoint Prime User Manual

Page 46

background image

PNI Sensor Corporation

DOC# 1014177 r08

Prime User Manual

– July 2011

Page 40

kUserCalStableCheck (Config. ID 11

d

)

This flag is used during field calibration. If set to FALSE, a calibration point can be

taken if the magnetic field is stable to <23 µT for each axis. If set to TRUE a

calibration point can be taken if the magnetic field is stable to <5 µT for each axis.

kUserCalNumPoints (Config. ID 12

d

)

The user must select the number of points to take during a field calibration. The

number of points must be within “Allowable Range”. Performance may suffer

somewhat, but still be acceptable for the application, if the number of calibration

points is less than the “Minimum Recommended” value.

Table 7-5: Number of Calibration Points

Calibration Mode

Number of Calibration Points

Allowable

Range

Minimum

Recommended

Magnetic Sensor Only

10 to 32

12

Accelerometer Only

12 to 32

18

Mag and Accel

12 to 32

18

kUserCalAutoSampling (Config. ID 13

d

)

This flag is used during field calibration. If set to TRUE, the module automatically

takes calibration sample points until the kUserCalNumPoints number of calibration

points is taken. When auto-sampling, a new calibration point is taken when the

kUserCalStableCheck condition is met and the change in the magnetic field from the

prior calibration point exceeds 30 µT for at least one axis. If set to FALSE, the Prime

waits for the kTakeUserCalSample frame to take a calibration point.

kBaudRate

(Config. ID 14

d

)

The baud rate index value sets the baud rate. A power-down power-up cycle is

required when changing the baud rate.

7.3.7

kGetConfig (frame ID 7

d

)

This frame queries the module for the current internal configuration value. The payload

contains the configuration ID requested.

Config ID

UInt8

Payload