beautypg.com

Table 5-3: asic period values – PNI CompassPoint V2Xe User Manual

Page 15

background image

PNI Sensor Corporation

DOC#1017814 r01

V2Xe User Manual

– May 2012

Page 13

kDeclination (Config. ID 0x01)

This sets the declination angle to determine True North heading. Positive

declination is easterly declination and negative is westerly declination. This is not

applied unless kTrueNorth is set to TRUE.

kTrueNorth (Config. ID 0x02)

Flag to set compass heading output to true north heading by adding the

declination angle to the magnetic north heading.

kCalSampleFreq (Config. ID 0x03)

This sets the sampling frequency during calibration.

kSampleFreq (Config. ID 0x04)

This sets the sampling frequency when damping is enabled. If this is greater than

0 Hz, then the last calculated heading is returned when a heading query command

is received from the host. If kSampleFreq is set to 0 Hz, then X and Y counts are

sampled and the heading calculated after a query is received.

kPeriod (Config. ID 0x05)

This sets the period or number of sensor circuit oscillation cycles (cycle counts) to

be counted while simultaneously using the internal fixed reference clock to

measure the time to obtain this count, as defined in Table 5-3.

Table 5-3: ASIC Period Values

Period Select

Value

Cycle Counts

(1/Period)

1

32

2

64

3

128

4

256

5

512 (default)

6

1024

7

2048

8

4096

kBigEndian (Config. ID 0x06)

Sets the Endianness of packets. TRUE is Big Endian. FALSE is Little Endian.

kDampingSize (Config. ID 0x07)

kDampingSize indicates the number of heading samples to be averaged, and then

returned as the heading reading. When damping is enabled and a value (n = 1 to

8) for the damping range is selected, the V2Xe will perform a simple average of