4.2
Supported commands
The firmware supports a wide range of MEMS adapters; the next section provides the complete list of supported
commands (see
Then, split into sections, the list of commands available for each sensor supported by the eMotion firmware is
provided.
4.2.1
Commands list and description
Command
*setdbXXXVY
Selects firmware according to the adapter connected
*start
*debug
Returns the output data in readable text format
*stop
*Zon
*Zoff
*dev
*ver
*rAA
*wAADD
*grAA
*gwAADD
*mrAA
*mwAADD
*prAA
*pwAADD
*hrAA
*hwAADD
*single
It gets a single X, Y, and Z data acquisition
*list
*listdev
*echoon
*echooff
*fiforst
Accelerometer "Reset mode" enable
*fifomde
*fifostr
Accelerometer "FIFO Stream" enable
*fifostf
Accelerometer "Stream-to-FIFO" enable
*fifobtf
Accelerometer "Bypass-to-FIFO" enable
*fifobts
Accelerometer "Bypass-to-Stream" enable
*fifodstr
Accelerometer "Dynamic Stream" enable
*gfiforst
*gfifomde
UM0979 - Rev 6
Table 3. Supported commands
Table 3.
Supported commands list
Description
Starts continuous data acquisition
Stops data acquisition
Forces 3-state
Exits from 3-state
Device name
Firmware version
Accelerometer register read
Accelerometer register write
Gyroscope register read
Gyroscope register write
Magnetometer register read
Magnetometer register write
Pressure sensor register read
Pressure sensor register write
Humidity sensor register read
Humidity sensor register write
Prints the list of MKIs supported
Prints the list of devices supported
Activates the write verbose mode
Deactivates the write verbose mode
Accelerometer "FIFO mode" enable
Gyroscope "Reset mode" enable
Gyroscope "FIFO mode" enable
list) and their description.
(see
Table 4. Returned values for *start
(see
Table 5. Returned values for *debug
(see
Table 5. Returned values for *debug
st 0 0 0 0 0 0 IR FC FS
st 0 0 0 0 0 0 IR FC FS
st 0 0 0 0 0 0 IR FC FS
st 0 0 0 0 0 0 IR FC FS
st 0 0 0 0 0 0 IR FC FS
st 0 0 0 0 0 0 IR FC FS
st 0 0 0 0 0 0 IR FC FS
st 0 0 0 0 0 0 IR FC FS
st 0 0 0 0 0 0 IR FC FS
UM0979
Supported commands
Returned value
command)
command)
e.g.: LIS3DH
e.g.: V1.0
e.g.: RAAhDDh
e.g.: GRAAhDDh
e.g.: MRAAhDDh
e.g.: PRAAhDDh
e.g.: HRAAhDDh
command)
e.g.: MKI105V1
e.g.: LIS3DH
e.g.: RAAhDDh
page 13/39
Need help?
Do you have a question about the STEVAL-MKI109V2 and is the answer not in the manual?
Questions and answers