ST STM32F103RET6 User Manual page 14

Motherboard for mems adapter boards
Table of Contents

Advertisement

Command
*gfifostr
*gfifostf
*gfifobtf
*gfifobts
*gfifodstr
*mfiforst
*mfifomde
*mfifostr
*mfifostf
*mfifobtf
*mfifobts
*mfifodstr
*pfiforst
*pfifomde
*pfifostr
*pfifostf
*pfifobtf
*pfifobts
*pfifodstr
*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
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
Description
Gyroscope "FIFO Stream" enable
Gyroscope "Stream-to-FIFO" enable
Gyroscope "Bypass-to-FIFO" enable
Gyroscope "Bypass-to-Stream" enable
Gyroscope "Dynamic Stream" enable
Magnetometer "Reset mode" enable
Magnetometer "FIFO mode" enable
Magnetometer "FIFO Stream" enable
Magnetometer "Stream-to-FIFO" enable
Magnetometer "Bypass-to-FIFO" enable
Magnetometer "Bypass-to-Stream" enable
Magnetometer "Dynamic Stream" enable
Pressure sensor "Reset mode" enable
Pressure sensor "FIFO mode" enable
Pressure sensor "FIFO Stream" enable
Pressure sensor "Stream-to-FIFO" enable
Pressure sensor "Bypass-to-FIFO" enable
Pressure sensor "Bypass-to-Stream" enable
Pressure sensor "Dynamic Stream" 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 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