
19
8.5. Configuration Parameter Access
The access to the
register file
is performed by a generic
READ_PARAMETER
and
WRITE_PARAMETER
commands, which also allow readings or writings of a sequence of multiple
consecutive parameters
.
READ_PARAMETERS
Use this command to read one or more parameters from the sensors. Parameters are mapped in a
buffer as described in the related paragraph. The command lets the user read
N
bytes starting from
Add_H:Add_L
Byte0
Byte1
Byte2
Byte3
Byte4
0x65
N
Add_L
Add_H
CHKSUM
The sensor responds with a packet containing the
N
bytes required of the parameter buffer
Byte0
Byte1
Byte(N-1)
ByteN
Data0
Data1
…
Data(N-1)
CHKSUM
This command is only accepted if the sensor is not in streaming mode
WRITE_PARAMETERS
Use this command to write one or more parameters to the sensor.
Byte0
Byte1
Byte2
Byte3
Byte4 .. Byte(4+N-1)
Byte(4+N)
0x64
N
Add_L
Add_H
Buffer_data …
CHKSUM
The sensor responds with an acknowledge:
Byte0
0x01
This command is only accepted if the sensor is not in sampling/streaming mode. The parameters change
takes effect from the following sampling/streaming command. New parameters are stored in volatile
memory so they are lost when the device is switched-off. To save permanently the current parameters
use SAVE_PARAMETERS command.
SAVE_PARAMETERS
Use this command to save in non-volatile memory the current set of parameters, so that it will be
retained also after switching the EXLs3 off.
Byte0
Byte1
0x66
0x66
The sensor responds with an acknowledge
Byte0
0x01
This command is only accepted if the sensor is not in streaming mode