STMicroelectronics STEVAL-MKI109V2 User Manual page 14

Emotion motherboard for mems adapter boards
Table of Contents

Advertisement

Command
*gfifostr
*gfifostf
Gyroscope "Stream-to-FIFO" enable
*gfifobtf
Gyroscope "Bypass-to-FIFO" enable
*gfifobts
Gyroscope "Bypass-to-Stream" enable
*gfifodstr
Gyroscope "Dynamic Stream" enable
*mfiforst
Magnetometer "Reset mode" enable
*mfifomde
*mfifostr
Magnetometer "FIFO Stream" enable
*mfifostf
Magnetometer "Stream-to-FIFO" enable
*mfifobtf
Magnetometer "Bypass-to-FIFO" enable
*mfifobts
Magnetometer "Bypass-to-Stream" enable
*mfifodstr
Magnetometer "Dynamic Stream" enable
*pfiforst
Pressure sensor "Reset mode" enable
*pfifomde
Pressure sensor "FIFO mode" enable
*pfifostr
Pressure sensor "FIFO Stream" enable
*pfifostf
Pressure sensor "Stream-to-FIFO" enable
*pfifobtf
Pressure sensor "Bypass-to-FIFO" enable
*pfifobts
Pressure sensor "Bypass-to-Stream" enable
*pfifodstr
Pressure sensor "Dynamic Stream" enable
*PDON
*PDOFF
*STON
*STOFF
*HPON
*HPOFF
*FSON
*FSOFF
Note: IR: interrupt byte; FC: FIFO control register; FS: FIFO source register.
Set demonstration board
The command *setdbxxxvy selects the part of the firmware able to handle the adapter board sensor connected to
the board. e.g., in order to select the firmware for the LIS3DH the command must be: *setdb105V1. The D6 LED
(green) is automatically switched on.
Start command
The *start command initiates the continuous data acquisition. When this command is sent to the device, it returns
a string of bytes (plus carriage return and line feed) similar to "st OUT1 OUT2 OUT3 IR BT".
The first two bytes are always the ASCII char "s" and "t" which correspond to the hexadecimal values {73h 74h}.
OUT1, OUT2, and OUT3 are the bytes that contain the values measured at device outputs; if the output data is
represented on more than 8 bits, OUT1, OUT2, and OUT3 are split into two bytes: high byte (e.g.: "XH") and low
byte (e.g.: "XL").
IR contains the interrupt bytes and BT contains the bytes that describe the state of the buttons integrated on the
board.
UM0979 - Rev 6
Description
Gyroscope "FIFO Stream" enable
Magnetometer "FIFO mode" enable
Sets power-down pin
Clears power-down pin
Sets self-test pin
Clears self-test pin
Sets high-pass filter pin
Clears high-pass filter pin
Sets full-scale pin
Clears full-scale pin
UM0979
Supported commands
Returned value
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
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
st 0 0 0 0 0 0 IR FC FS
page 14/39

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STEVAL-MKI109V2 and is the answer not in the manual?

Questions and answers

Table of Contents