![ST STEVAL-MKI132V1 Скачать руководство пользователя страница 17](http://html1.mh-extra.com/html/st/steval-mki132v1/steval-mki132v1_user-manual_1356013017.webp)
Supported commands
UM1579
16/26
Doc ID 023744 Rev 1
Debug command
The *debug command starts the continuous data acquisition in debug mode. When this
command is sent to the board, it returns the output values measured by the device
formatted in a readable text format. The values shown on the screen correspond to the LSB
data shown as a decimal number.
shows the format of the string returned for each device when a *debug command is
sent.
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
STM32F103TB microcontroller mounted on the demonstration board. These commands
allow the isolation of the sensor from the microprocessor and allow the user to interact with
the sensor in a pure analog way.
By default, when the board 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 commands.
Device name
The *dev command retrieves the name of the adapter connected to the demonstration
board. The returned value is, for example,
“
LIS3DH
”
.
Firmware version
The *ver command queries the demonstration board and returns the version of the firmware
loaded in the microprocessor, for example, “V1.0”.
Table 4.
Returned values for *debug command
STEVAL # (device)
Returned value
STEVAL-MKI089V1 (LIS331DLH)
STEVAL-MKI105V1 (LIS3DH)
STEVAL-MKI110V1 (AIS328DQ)
X=XXXXX Y=YYYYY Z=ZZZZZ
STEVAL-MKI106V1 (LSM303DLHC)
STEVAL-MKI303V1 (LSM303D)
AX=XXXXX AY=YYYYY AZ=ZZZZZ
MX=XXXXX MY=YYYYY MZ=ZZZZZ
STEVAL-MKI107V1 (L3G4200D)
STEVAL-MKI107V2 (L3GD20)
P=PPPPP R=RRRRR Y=YYYYY
STEVAL-MKI108V1 (9AXISMODULEV1)
STEVAL-MKI108V2 (9AXISMODULEV2)
AX=XXXXX AY=YYYYY AZ=ZZZZZ
MX=XXXXX MY=YYYYY MZ=ZZZZZ
GX=XXXXX GY=YYYYY GZ=ZZZZZ
STEVAL-MKI122V1 (LSM330DLC)
STEVAL-MKI123V1 (LSM330D)
AX=XXXXX AY=YYYYY AZ=ZZZZZ
GX=XXXXX GY=YYYYY GZ=ZZZZZ