
15
CHKSUM:
sum modulo-256 of all previous bytes:
Byte32
CHKSUM
AGMB_Type (Accelerometer, Gyroscope, Magnetometer, vBattery)
Byte0
Byte1
Byte2..Byte3
Byte4 .. Byte9
Byte10 .. Byte15
Byte16 .. Byte21
Byte22 .. Byte23
Byte24
0x20
PKT_TYPE
PKT_CNT
ACC_DATA
GYR_DATA
MAG_DATA
V_BATT
CHKSUM
PKT_HEAD = 0x97 :
packet header which identify the
type
of packet
Remaining data fields are coded the same of AGMOB packet
O_Type (Orientation)
Byte0
Byte1
Byte2..Byte3
Byte4 .. Byte11
Byte12
0x20
PKT_TYPE
PKT_CNT
ORIENT_DATA CHKSUM
PKT_HEAD = 0x88:
packet header which identify the
type
of packet
Remaining data fields are coded the same of AGMOB packet
IMPORTANT:
Other customizable packet type can be chosen by setting
PACKET_TYPE
register properly (see the
configuration register
paragraph).
Every bit in the PACKET_TYPE register enable/disable a different measurement.
However, the field sequence in the packet is always derived from the generic AGMOB type by
suppressing the unused field.
For instance, the packet type
AO
has the following coding:
Byte0
Byte1
Byte2..Byte3
Byte4 .. Byte9
Byte10 .. Byte17
Byte18
0x20
PKT_TYPE PKT_CNT
ACC_DATA ORIENT_DATA
CHKSUM
RAW _Type
Raw data are values as read from the MEMS sensing elements, before any preprocessing and
compensation take place. This packet format can be useful for advanced users to operate directly on
native
data in order to perform specific calibration algorithms.
Byte 0
Byte 1
Byte2
Byte3 .. Byte8
Byte9 .. Byte14
Byte15 .. Byte20
Byte21
0x20
0x0A
PKT_COUNT
ACC_DATA GYR_DATA
MAG_DATA
CHECKSUM
PKT_HEAD:
packet header which identify the
type
of packet