STEVAL # (Device)
Returned value
STEVAL-MKI120V1 (LPS331AP)
STEVAL-MKI142V1 (LPS25H)
STEVAL-MKI165V1 (LPS25HB)
STEVAL-MKI177V1 (LPS35HW)
STEVAL-MET001V1 (LPS22HB)
P=PPPPP T=TTTTT
STEVAL-MKI122V1 (LSM330DLC)
STEVAL-MKI123V1 (LSM330D)
STEVAL-MKI160V1 (LSM6DS3)
STEVAL-MKI161V1 (LSM6DS0)
STEVAL-MKI176V1 (LSM6DS3H)
STEVAL-MKI178V1 (LSM6DSL)
AX=XXXXX AY=YYYYY AZ=ZZZZZ GX=XXXXX GY=YYYYY
GZ=ZZZZZ
STEVAL-MKI124V1 (10AXISMODULE)
AX=XXXXX AY=YYYYY AZ=ZZZZZ MX=XXXXX MY=YYYYY
MZ=ZZZZZ GX=XXXXX GY=YYYYY GZ=ZZZZZ P=PPPPP T=TTTTT
STEVAL-MKI141V2 (HTS221)
H=HHHHH T=TTTTT
Stop command
The *stop command interrupts any acquisition session that has been started with either the *start or *debug
commands.
Zon and Zoff
The *Zon and *Zoff commands are employed, respectively, to put into 3-state the STM32F103RET6
microcontroller mounted on the demonstration kit. These commands allow the isolation of the sensor from the
microprocessor and let the user interact with the sensor in a pure analog way.
By default, when the kit is first turned on, the lines are in 3-state mode and the user is required to send the *Zoff
command to allow communication between the sensor and the microcontroller. If Zoff has not been launched, the
firmware ignores any other command.
Device name
The *dev command retrieves the name of the adapter connected to the demonstration kit. The returned value is,
for example, “LIS3DH”.
Firmware version
The *ver command queries the demonstration kit and returns the version of the firmware loaded in the
microprocessor, for example, “V1.0”.
Accelerometer register read
The *rAA command allows the contents of the accelerometer registers in the demonstration kit board to be read.
AA, expressed as a hexadecimal value and written in upper case, represents the address of the register to be
read.
Once the read command is issued, the board returns RAAhDDh, where AA is the address sent by the user and
DD is the data present in the register.
For example, to read the register at address 0x20, the user issues the command *r20, which returns, e.g.,
R20hC7h.
Accelerometer register write
The *wAADD command allows writing to the contents of the accelerometer registers in the demonstration kit
board. AA and DD, expressed as hexadecimal values and written in upper case, represent, respectively, the
UM0979
Supported commands
UM0979
-
Rev 6
page 18/39