Ktakeusercalsample (frame id 31, Kfactoryaccelcoeff (frame id 36, Kfactoryaccelcoeffdone (frame id 37 – PNI SeaTRAX User Manual
Page 61: Ksetsyncmode (frame id 46, 31 ktakeusercalsample (frame id 31, 32 kfactoryaccelcoeff (frame id 36, 33 kfactoryaccelcoeffdone (frame id 37, 34 ksetsyncmode (frame id 46
PNI Sensor Corporation
DOC#1018154 r02
SeaTRAX User Manual
Page 56
7.3.31 kTakeUserCalSample (frame ID 31
d
)
This frame commands the SeaTRAX to take a sample during user calibration. The frame
has no payload.
7.3.32 kFactoryAccelCoeff (frame ID 36
d
)
For the current designated kAccelCoeffSet, this frame clears the accelerometer
calibration coefficients and loads the original factory-generated coefficients. The frame
has no payload. This frame must be followed by the kSave frame to save the change in
non-volatile memory.
7.3.33 kFactoryAccelCoeffDone (frame ID 37
d
)
This frame is the response to kFactoryAccelCoeff frame. The frame has no payload.
7.3.34 kSetSyncMode (frame ID 46
d
)
When the SeaTRAX operates in Sync Mode the module will stay in Sleep Mode until the
user’s system sends a trigger to report data. When so triggered, the SeaTRAX will wake
up, report data once, and then return to Sleep Mode. One application of this is to reduce
power consumption. Another use of the Sync Mode is to trigger a reading during an
interval when local magnetic sources are well understood. For instance, if a system has
considerable magnetic noise due to nearby motors, the Synch Mode can be used to take
measurements when the motors are turned off.
Note: When Sync Mode is selected, the SeaTRAX will acknowledge the change in mode and
immediately trigger the Sync Mode and send a data frame.
This frame allows the module to be placed in Sync Mode. The payload contains the
Mode ID requested, as given below.
Mode ID
UInt8
Payload
If the module is in Sync Mode and the user desires to switch back to Normal Mode, an
“FFh” string first must be sent, followed by some minimum delay time prior to sending
the kSetSyncMode frame. The minimum delay time is dependent on the baud rate, and
for a baud rate equal to or slower than 9600 there is no delay. For baud rates greater than
9600 the minimum delay is equal to:
Minimum delay after sending “FF
h
” (in seconds) = 7E-3 – (10/baud rate)
Mode ID:
Normal Mode = 0
Sync Mode = 100