16
Byte0
Byte1
0x20
0x0A
PKT_COUNT:
progressive
packet number ranging from 0 to 255
Byte2
PKT_CNT
ACC_DATA :
acceleration
data sub-packed as following:
Byte3
Byte4
Byte5
Byte6
Byte7
Byte8
AccX_L
AccX_H
AccY_L
AccY_H
AccZ_L
AccZ_H
AccX_H : AccX_L
:
X
component
of the acceleration (16-bit, 2-complement)
AccY_H : AccY_L
:
Y
component
of the acceleration (16-bit, 2-complement)
AccZ_H : AccZ_L
:
Z
component
of the acceleration (16-bit, 2-complement)
GYR_DATA:
angular velocity
data packed as following:
Byte9
Byte10
Byte11
Byte12
Byte13
Byte14
GyrX_L
GyrX_H
GyrY_L
GyrY_H
GyrZ_L
GyrZ_H
GyrX_H : GyrX_L
:
X
component
of the angular rate (16-bit, 2-complement)
GyrY_H : GyrY_L
:
Y
component
of the angular rate (16-bit, 2-complement)
GyrZ_H : GyrZ_L
:
Z
component
of the angular rate (16-bit, 2-complement)
MAG_DATA:
magnetic field
data packed as following:
Byte15
Byte16
Byte17
Byte18
Byte19
Byte20
MagX_L
MagX_H
MagY_L
MagY_H
MagZ_L
MagZ_H
MagX_H : MagX_L
:
X
component
of the magnetic field (16-bit, 2-complement)
MagY_H : MagY_L
:
Y
component
of the magnetic field (16-bit, 2-complement)
MagZ_H : MagZ_L
:
Z
component
of the magnetic field (16-bit, 2-complement)
CHKSUM:
sum modulo-256 of all previous bytes:
Byte21
CHKSUM
8.3. Configuration Commands
The EXLs3
’s configuration parameters (sampling frequency, full-scale ranges, etc. ) are mapped into a
register file
, where each
parameter
has a specific
address
.
The user can modify each parameter in order to adapt the operation of the EXLs3 to the specific
requirement
of the user’s application.
The access to the
register file
is performed by
READ_PARAMETER
and
WRITE_PARAMETER
commands
described further.
8.4. Configuration Registers