ST STM32F103RET6 User Manual page 18

Motherboard for mems adapter boards
Table of Contents

Advertisement

STEVAL-MKI120V1 (LPS331AP)
STEVAL-MKI142V1 (LPS25H)
STEVAL-MKI165V1 (LPS25HB)
STEVAL-MKI177V1 (LPS35HW)
STEVAL-MET001V1 (LPS22HB)
STEVAL-MKI122V1 (LSM330DLC)
STEVAL-MKI123V1 (LSM330D)
STEVAL-MKI160V1 (LSM6DS3)
STEVAL-MKI161V1 (LSM6DS0)
STEVAL-MKI176V1 (LSM6DS3H)
STEVAL-MKI178V1 (LSM6DSL)
STEVAL-MKI124V1 (10AXISMODULE)
STEVAL-MKI141V2 (HTS221)
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 - Rev 6
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
STEVAL # (Device)
Returned value
P=PPPPP T=TTTTT
AX=XXXXX AY=YYYYY AZ=ZZZZZ GX=XXXXX GY=YYYYY
GZ=ZZZZZ
AX=XXXXX AY=YYYYY AZ=ZZZZZ MX=XXXXX MY=YYYYY
MZ=ZZZZZ GX=XXXXX GY=YYYYY GZ=ZZZZZ P=PPPPP T=TTTTT
H=HHHHH T=TTTTT
UM0979
Supported commands
page 18/39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F103RET6 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Emotion steval-mki109v1Emotion steval-mki109v2

Table of Contents