beautypg.com

Kparamresp (frame id 14, Kpowerdown (frame id 15, Ksavedone (frame id 16 – PNI CompassPoint Prime User Manual

Page 50: Kusercalsampcount (frame id 17, 14 kparamresp (frame id 14, 15 kpowerdown (frame id 15, 16 ksavedone (frame id 16, 17 kusercalsampcount (frame id 17, Indicates no error, 0001

background image

PNI Sensor Corporation

DOC# 1014177 r08

Prime User Manual

– July 2011

Page 44

7.3.14 kParamResp (frame ID 14

d

)

This frame is the response to kGetParam and contains the current FIR filter settings. The

format and values will be the same as defined by kSetParam.

Parameter ID

Axis ID

Count

Value

1

Value

2

UInt8

UInt8

UInt8

Filter Top

Value

ID

Specific

Value

3

Value

Count

ID

Specific

ID

Specific

Payload

7.3.15 kPowerDown (frame ID 15

d

)

This frame is used to completely power-down the module, which is referred to as putting

the module in Sleep Mode. The frame has no payload. The module will power down all

peripherals including the RS-232 driver but the driver chip has the feature to keep the Rx

line enabled. Any character sent to the module causes it to exit Sleep Mode. It is

recommended to send the byte FF

h

.

7.3.16 kSaveDone (frame ID 16

d

)

This frame is the response to kSave frame. The payload contains a UInt16 error code,

0000

h

indicates no error, 0001

h

indicates an error when attempting to save data into non-

volatile memory.

Error code

UInt16

Payload

7.3.17 kUserCalSampCount (frame ID 17

d

)

This frame is sent from the module after taking a calibration sample point. The payload

contains the sample count with the range of 1 to 32

Sample count

UInt32

Payload