STEVAL-MKI109V2: eMotion motherboard for MEMS adapter boards
Introduction
The STEVAL-MKI109V2 (eMotion) is a motherboard designed to provide the user with a complete ready-to-use platform for the
demonstration of MEMS devices mounted on adapter boards.
The STEVAL-MKI109V2 uses an STM32F103RET6 microcontroller which functions as a bridge between the sensor on the
adapter board and the PC on which it is possible to use the Unico graphical user interface (GUI) downloadable from the ST
website or dedicated software routines for customized applications.
This user manual describes the hardware included with the demonstration kit and provides the information required to install the
demonstration board and how to upgrade the firmware of the microcontroller.
For details regarding the features of each sensor, please refer to the datasheet available for each individual device.
UM0979 - Rev 6 - February 2018
For further information contact your local STMicroelectronics sales office.
www.st.com/
Page 2
1 Demonstration kit description
Control Switches
(reset, left, right)
MEMS
device
USB
Connector
SPI/I C/
U.S.B.
Analog
Controls
(ST,PD,FS)
Power On LED
Interrupt LEDs
General Purpose LEDs
With DFU
Feature
DIL 24
Connector
Analog
(ADC)
STM32F103RET6
µC
2
The eMotion is a complete demonstration kit that allows demonstration of both digital and analog MEMS sensors.
Thanks to its DIL 24 connector, a wide range of MEMS adapter boards can be used.
The block diagram of the demonstration kit is shown in Figure 1. Demonstration board block diagram.
Figure 1. Demonstration board block diagram
UM0979
Demonstration kit description
As shown in the Figure 1. Demonstration board block diagram, the eMotion demonstration kit is based on the
STM32F103RET6 microcontroller and can be connected to the PC through the USB bus. Data coming from the
MEMS sensor connected to the board can be read through the PC GUI provided with the kit.
The eMotion also implements the DFU (device firmware upgrade) feature, therefore, in the case of a new
firmware release, it can be reprogrammed without the need to use a programmer. See www.st.com/mems for new
firmware releases.
The eMotion also integrates three general-purpose LEDs, two LEDs connected directly to the interrupt pins of
digital adapters and the power/USB LED. Moreover, the eMotion integrates three buttons: two are available to the
user on a dedicated GPIO of the microcontroller, while the other is used as reset for the microcontroller.
All the MEMS adapter pins are available on two connectors placed on the board (Figure 2. Top silkscreen of the
eMotion kit JP2 and JP3).
The top silkscreen view and image of the full board are shown in Figure 2. Top silkscreen of the eMotion kit and
Figure 3. Board top view respectively.
UM0979 - Rev 6
page 2/39
Page 3
Figure 2. Top silkscreen of the eMotion kit
UM0979
Demonstration kit description
UM0979 - Rev 6
page 3/39
Page 4
Figure 3. Board top view
UM0979
Demonstration kit description
In order to use the eMotion demonstration kit, installation of a dedicated driver is required, which is included in the
installation pack, together with a GUI interface which allows simple interaction with the sensor. The steps required
for driver and software installation are described in the following sections.
In Figure 3. Board top view some main components placed on the top layer of the eMotion kit are highlighted.
•Jumpers JP9 and JP10 (Figure 3. Board top view, ref 10, ref 11) are used to select the STM32 boot mode.
When the eMotion is used together with MEMS adapters, JP9 and JP10 must be fitted (see STM32
datasheet for more information).
•Jumper J2 (Figure 3. Board top view, ref 7) can be used to directly supply the board (from 3.5 V to 6 V)
instead of using the USB connector.
•Jumper JP1 allows the user to measure the sensor current consumption by connecting a multimeter in
series with its terminals (Figure 3. Board top view, ref 9).
•Jumpers JP4, JP5, and JP6 (Figure 3. Board top view, ref 8) are used to manually set some features which
are available for just some of the analog MEMS adapters (see Table 1. Jumper configuration for power-down
(PD), self test (ST), and high-pass filter reset (HP) for more details). JP4 is used to set the self-test feature,
JP5 to handle the power-down pin, and JP6 to reset the MEMS high-pass filter. When they are fitted on pins
2-3, these functions are handled by the firmware itself.
UM0979 - Rev 6
page 4/39
Page 5
UM0979
Demonstration kit description
Table 1. Jumper configuration for power-down (PD), self test (ST), and high-pass filter reset (HP)
Jumper on 1-2 positionJumper on 2-3 positionJumper unfitted
JP4
ST
JP5
PD
JP6
logic level 1: external high-pass filter resetHigh-pass filter reset is handled by the firmware
HP
•J1 connector (Figure 3. Board top view, ref 3) can be used to both reprogram the STM32 and to debug the
code through the JTAG or SWD protocols.
•Jumper JP7 (Figure 3. Board top view, ref 4) is used to select either JTAG (JP7 unfitted) or SWD (JP7 fitted)
mode.
•eMotion also integrates six LEDs and three buttons:
–LED D1 (Figure 3. Board top view, ref 6) is switched on when the board is power supplied.
–LEDs D2 and D3 (Figure 3. Board top view, ref 13) are directly connected to the interrupt pins of the
MEMS digital adapters (if available on the sensor mounted on the adapter board).
–LEDs D4, D5, and D6 (Figure 3. Board top view, ref 12) are general-purpose LEDs and are used to
indicate firmware states. For example, LED D6 is switched on when a specific firmware is selected
from those available. LED D5 on indicates that the microcontroller is well configured for communication
with the sensor. Finally the LED D4 blinks according to the sensor data rate selected.
–Button SW3 (Figure 3. Board top view, ref 1) is used to reset the STM32.
–Button SW1 and SW2 (Figure 3. Board top view, ref 2 and ref 5) are connected to STM32 GPIOs and
are available to the user.
Figure 4. How to connect the DIL24 adapter board to the STEVAL-MKI109V2 shows how to properly mount the
DIL24 adapter board on the STEVAL-MKI109V2 board.
logic level 1:
self-test ON
logic level 1:
power-down mode
Self-test is handled by the firmware
Power-down is handled by the firmware
logic level 0:
self-test OFF, default
logic level 0:
normal mode, default
logic level 0:
normal mode, default
UM0979 - Rev 6
page 5/39
Page 6
Demonstration kit description
Figure 4. How to connect the DIL24 adapter board to the STEVAL-MKI109V2
UM0979
UM0979 - Rev 6
page 6/39
Page 7
2 eMotion board installation
The software package can be downloaded from the st.com website and includes the following directory structure:
•DRIVER: it contains the installation package for the USB drivers needed to connect the eMotion board to the
PC. No driver is needed on Linux and Mac OS platforms, so this directory is included in the Windows
installation package only.
•DFU: it contains the .dfu files and the installation package for the software needed to upgrade the firmware
of the eMotion board.
•FIRMWARE: it contains the source code of the firmware of the eMotion board together with the
corresponding binary file that can be flashed to the board using the DFU software.
The section below describes the procedure to install the driver for the eMotion board (needed on Windows
platforms only) and the DFU software.
2.1 Hardware installation (Windows platforms)
No driver installation is needed on Linux and Mac OS platforms.
To install the STM32 virtual COM port driver on Windows platforms, launch the “VCPDriver_V1.4.0_Setup.exe”
included in the Windows installation package under the “DRIVER” folder and follow the instructions on the screen.
Once the driver is installed, insert the demonstration kit board into a free USB port. A notification message should
appear, as in Figure 5. Notification message.
UM0979
eMotion board installation
Figure 5. Notification message
Now the eMotion should be recognized by the PC as a virtual COM. In order to confirm which COM port has been
assigned to the board, right click on “My Computer” and select “Manage”, select “Device Manager” and scroll
through the list until “Ports (COM & LPT)”. In the following example (Figure 6. Virtual COM port assignment) the
COM11 has been assigned to the board.
UM0979 - Rev 6
page 7/39
Page 8
Figure 6. Virtual COM port assignment
UM0979
DFU
2.2 DFU
The MEMS STEVAL-MKI109V2 demonstration board is capable of reprogramming an application through the
USB, in accordance with the DFU class specification defined by the USB Implementers Forum. This capability is
useful because it allows reprogramming the microcontroller directly in the field and is particularly well-suited to
USB applications where the same USB connector can be used both for the standard operating mode and for the
reprogramming process.
In order to configure the eMotion board in DFU mode button SW2 must be pressed before supplying the board
and released when the LEDs D1, D4, D5, and D6 light up.
If the firmware version in use is lower than V3.0.0, it’s mandatory to patch the DFU feature using the
“DFU_Patcher_V1.0.2.dfu” file available under the “DFU” folder before proceeding with the upgrade of the
firmware with a version equal to or higher than V3.0.0. The procedure to patch the DFU feature corresponds to
the one used during a standard firmware upgrade with the DFU tool. At the end of this procedure, if the green
LED D4 is on, it indicates that the procedure is successfully completed; if the red LED D5 is on, the procedure
failed and has to be repeated. Before proceeding with the new firmware upgrade the board must be reset using
the SW3 button.
2.2.1 DFU on Windows
To install the DFU software, launch the “DfuSe_Demo_V3.0.5_Setup.exe” included in the software package under
the “DFU” folder and follow the instructions on the screen. To launch the software, select “Start >
STMicroelectronics > DfuSe > DfuSe Demonstration”.
In the ‘Upgrade or Verify Action’ section of the Dfuse Demo tool click on the ‘Choose...’ button and select the
target .dfu file; then click the ‘Upgrade’ button to start the firmware upgrade.
For more details regarding DFU and the microcontroller ST GUI, see the related user manual located under “Start
> STMicroelectronics > DfuSe > Docs > DfuSe Getting Started”.
UM0979 - Rev 6
page 8/39
Page 9
2.2.2 DFU on Linux
The DFU program used for Linux operating systems is ‘dfu-util’.
The procedure for Ubuntu Linux operating systems is described below.
To install this program, open a terminal and write the following command (with sudo to ensure having the correct
permissions):
sudo apt-get install dfu-util
Create a udev rules file:
sudo gedit /etc/udev/49-emotion.rules
and fill it with the following content:
# 0483:5740 - STM32F4 in USB Serial Mode (CN5) ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740",
ENV{ID_MM_DEVICE_IGNORE}="1"
You should now be able to program the board. So, connect the eMotion board in DFU mode, and run the following
command:
sudo dfu-util -a 0 -D dfu_path/file.dfu -d 0483:df11
where dfu_path and file.dfu are the path to the dfu file and the dfu file name respectively
(example: sudo dfu-util -a 0 -D Desktop/eMotionV2_REL_4_0.dfu -d 0483:df11).
To use the board with the upgraded firmware you need to disconnect and reconnect it, in order to exit DFU mode.
UM0979
DFU
2.2.3 DFU on Mac OS
The DFU program used for Mac operating systems is ‘dfu-util’. Before installing it, you need to install Homebrew.
To do that, you need to open a terminal and run the following command:
Once Homebrew is installed on your Mac, you can install dfu-utils with the following command:
brew install dfu-util
You should now be able to program the board. So, connect the eMotion board in DFU mode, and run the following
command:
dfu-util -a 0 -D dfu_path/file.dfu -d 0483:df11
where dfu_path and file.dfu are the path to the dfu file and the dfu file name respectively
(example: dfu-util -a 0 -D Desktop/eMotionV2_REL_4_0.dfu -d 0483:df11).
To use the board with the upgraded firmware you need to disconnect and reconnect it, in order to exit DFU mode.
UM0979 - Rev 6
page 9/39
Page 10
3 Supported MEMS adapter boards
Table 2. List of supported MEMS adapter boards below provides the complete list of supported adapter boards.
The microcontroller mounted on the eMotion board is equipped with dedicated firmware that supports a set of
commands which allow to control either the digital or the analog output MEMS sensor and permits the acquisition
of the measured data. The firmware also handles the communication between the board and the PC through the
USB bus. These features allow the user to easily write their own applications to exploit the capabilities of the
sensor chosen.
This section describes the commands that are supported by the firmware for the microcontroller of the eMotion
demonstration kit.
4.1 Getting started
Before using the commands supported by the firmware, the following procedure must be performed:
3.Create a new connection, enter a name (e.g. “STEVAL-MKI109V2”), and click “OK”
4.In the “Connect Using” field, select the virtual COM port to which the USB port has been mapped, and click
“OK”
5.In port settings, set bits per second to 115200, data bits to 8, parity to none, stop bits to 1, and flow control to
none. Click “OK”
6.In the “HyperTerminal” application window choose “files” > “properties” > “settings”, then click on the “ASCII
Setup” button
7.Select “Send line ends with line feeds” and “Echo typed characters locally”
8.Click the “OK” button to close the “ASCII Setup” window
9.Click the “OK” button to close the “Properties” window.
Once this procedure has been completed, the user can utilize the commands described in the following sections
by typing them in the “HyperTerminal” window.
UM0979
Supported commands
UM0979 - Rev 6
page 12/39
Page 13
Supported commands
4.2 Supported commands
The firmware supports a wide range of MEMS adapters; the next section provides the complete list of supported
commands (see Table 3. Supported commands list) and their description.
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
Table 3. Supported commands list
CommandDescriptionReturned value
*setdbXXXVYSelects firmware according to the adapter connected
*startStarts continuous data acquisition(see Table 4. Returned values for *start command)
*debugReturns the output data in readable text format(see Table 5. Returned values for *debug command)
*stopStops data acquisition
*ZonForces 3-state
*ZoffExits from 3-state
*devDevice namee.g.: LIS3DH
*verFirmware versione.g.: V1.0
*rAAAccelerometer register reade.g.: RAAhDDh
*wAADDAccelerometer register write
*grAAGyroscope register reade.g.: GRAAhDDh
*gwAADDGyroscope register write
*mrAAMagnetometer register reade.g.: MRAAhDDh
*mwAADDMagnetometer register write
*prAAPressure sensor register reade.g.: PRAAhDDh
*pwAADDPressure sensor register write
*hrAAHumidity sensor register reade.g.: HRAAhDDh
*hwAADDHumidity sensor register write
*singleIt gets a single X, Y, and Z data acquisition(see Table 5. Returned values for *debug command)
*listPrints the list of MKIs supportede.g.: MKI105V1
*listdevPrints the list of devices supportede.g.: LIS3DH
*echoonActivates the write verbose modee.g.: RAAhDDh
*echooffDeactivates the write verbose mode
*fiforstAccelerometer “Reset mode” enablest 0 0 0 0 0 0 IR FC FS
*fifomdeAccelerometer “FIFO mode” enablest 0 0 0 0 0 0 IR FC FS
*fifostrAccelerometer “FIFO Stream” enablest 0 0 0 0 0 0 IR FC FS
*fifostfAccelerometer “Stream-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
*fifobtfAccelerometer “Bypass-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
*fifobtsAccelerometer “Bypass-to-Stream” enablest 0 0 0 0 0 0 IR FC FS
*fifodstrAccelerometer “Dynamic Stream” enablest 0 0 0 0 0 0 IR FC FS
*gfiforstGyroscope “Reset mode” enablest 0 0 0 0 0 0 IR FC FS
*gfifomdeGyroscope “FIFO mode” enablest 0 0 0 0 0 0 IR FC FS
UM0979
UM0979 - Rev 6
page 13/39
Page 14
Supported commands
CommandDescriptionReturned value
*gfifostrGyroscope “FIFO Stream” enablest 0 0 0 0 0 0 IR FC FS
*gfifostfGyroscope “Stream-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
*gfifobtfGyroscope “Bypass-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
*gfifobtsGyroscope “Bypass-to-Stream” enablest 0 0 0 0 0 0 IR FC FS
*gfifodstrGyroscope “Dynamic Stream” enablest 0 0 0 0 0 0 IR FC FS
*mfiforstMagnetometer “Reset mode” enablest 0 0 0 0 0 0 IR FC FS
*mfifomdeMagnetometer “FIFO mode” enablest 0 0 0 0 0 0 IR FC FS
*mfifostrMagnetometer “FIFO Stream” enablest 0 0 0 0 0 0 IR FC FS
*mfifostfMagnetometer “Stream-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
*mfifobtfMagnetometer “Bypass-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
*mfifobtsMagnetometer “Bypass-to-Stream” enablest 0 0 0 0 0 0 IR FC FS
*mfifodstrMagnetometer “Dynamic Stream” enablest 0 0 0 0 0 0 IR FC FS
*pfiforstPressure sensor “Reset mode” enablest 0 0 0 0 0 0 IR FC FS
*pfifomdePressure sensor “FIFO mode” enablest 0 0 0 0 0 0 IR FC FS
*pfifostrPressure sensor “FIFO Stream” enablest 0 0 0 0 0 0 IR FC FS
*pfifostfPressure sensor “Stream-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
*pfifobtfPressure sensor “Bypass-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
*pfifobtsPressure sensor “Bypass-to-Stream” enablest 0 0 0 0 0 0 IR FC FS
*pfifodstrPressure sensor “Dynamic Stream” enablest 0 0 0 0 0 0 IR FC FS
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.
page 14/39
Page 15
UM0979
Supported commands
Specifically, bit#0 of the “BT” data corresponds to the status of the SW1 button on the demonstration kit board: it
is set to 1 when the SW1 is pressed (otherwise 0). Bit#1 has the same behavior but is dedicated to the SW2.
Before sending the *start command, the device must be out from 3-state and some registers must be configured
according to user needs, therefore, *start must be preceded by a *zoff and some “Register Write” commands.
Table 4. Returned values for *start command shows the format of the string returned for each device when a *start
command is sent.
Table 4. Returned values for *start command
STEVAL # (Device)Returned value
STEVAL-MKI009V1 (LIS3LV02DL)
STEVAL-MKI089V1 (LIS331DLH
STEVAL-MKI092V1 (LIS331HH)
STEVAL-MKI105V1 (LIS3DH)
STEVAL-MKI107V2 (L3GD20)
STEVAL-MKI110V1 (AIS328DQ)
STEVAL-MKI125V1 (A3G4250D)
STEVAL-MKI134V1 (LIS3DSH)
STEVAL-MKI135V1 (LIS2DH)
STEVAL-MKI136V1 (L3GD20H)
STEVAL-MKI151V1 (LIS2DH12)
STEVAL-MKI153V1 (H3LIS331DL)
STEVAL-MKI158V1 (AIS3624DQ)
STEVAL-MKI164V1 (LIS2HH12)
STEVAL-MKI166V1 (H3LIS100DL)
STEVAL-MKI167V1 (H3LIS200DL)
STEVAL-MKI168V1 (IIS2DH)
STEVAL-MKI169V1 (I3G4250D)
STEVAL-MKI170V1 (IIS328DQ)
STEVAL-MKI179V1 (LIS2DW12)
STEVAL-MKI180V1 (LIS3DHH)
STEVAL-MKI186V1 (IIS3DHHC)
STEVAL-MKI013V1 (LIS302DL)
STEVAL-MKI087V1 (LIS331DL)
STEVAL-MKI152V1 (LIS2DM)
STEVAL-MKI175V1 (LIS2DE12)
STEVAL-MKI176V1 (LSM6DS3H)
STEVAL-MKI178V1 (LSM6DSL)
STEVAL-MKI182V1 (ISM330DLC)
STEVAL-MKI015V1 (LIS344ALH)
STEVAL-MKI114V1 (MAG PROBE)
STEVAL-MKI137V1 (LIS3MDL)
STEVAL-MKI181V1 (LIS2MDL)
STEVAL-MKI185V1 (IIS2MDC)
s t A_XH A_XL A_YH A_YL A_ZH A_ZL G_XH G_XL G_YH G_YL
s t A_XH A_XL A_YH A_YL A_ZH A_ZL G_XH G_XL G_YH G_YL
G_ZH G_ZL STEP_L STEP_H TEMP_L TEMP_H int1_int2_sw1|sw2 \\r
\\n
s t A_XH A_XL A_YH A_YL A_ZH A_ZL G_XH G_XL G_YH G_YL
G_ZH G_ZL int1_int2_sw1|sw2 \\r \\n
s t A_XH A_XL A_YH A_YL A_ZH A_ZL M_XH M_XL M_YH M_YL
M_ZH M_ZL A_int1 A_int2 M_int3 sw1|sw2 \\r \\n
UM0979
UM0979 - Rev 6
Note: XH: X-axis output high byte (same for Y-axis, Z-axis, P pressure, H humidity, and TEMP temperature)
XL: X-axis output low byte (same for Y-axis, Z-axis, P pressure, H humidity, and TEMP temperature)
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.
Table 5. Returned values for *debug command shows the format of the string returned for each device when a
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.
UM0979 - Rev 6
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
page 18/39
Page 19
UM0979
Supported commands
address of the register and the data to be written. For example, to write 0xC7 to the register at address 0x20, the
user issues the command *w20C7.
Gyroscope register read
The *grAA command allows the contents of the gyroscope registers in the demonstration kit board to be read. AA,
expressed as 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 GRAAhDDh, 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 *gr20, which returns, e.g.,
GR20hC7h.
Gyroscope register write
The *gwAADD command allows writing to the contents of the gyroscope registers in the demonstration kit board.
AA and DD, expressed as hexadecimal values and written in upper case, represent, respectively, the address of
the register and the data to be written. To write 0xC7 to the register at address 0x20, for example, the user issues
the command *gw20C7.
Magnetometer register read
The *mrAA command allows the contents of the magnetometer 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 MRAAhDDh, 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 0x00, the user issues the command *mr00, which returns, e.g.,
MR00h10h.
Magnetometer register write
The *mwAADD command allows writing to the contents of the magnetometer registers in the demonstration kit
board. AA and DD, expressed as hexadecimal values and written in upper case, represent, respectively, the
address of the register and the data to be written. To write 0x20 to the register at address 0x01, for example, the
user issues the command *mw0120.
Pressure sensor register read
The *prAA command allows the contents of the pressure sensor 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 PRAAhDDh, 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 *pr20, which returns, e.g.,
PR20h10h.
Pressure sensor register write
The *pwAADD command allows writing to the contents of the pressure sensor registers in the demonstration kit
board. AA and DD, expressed as hexadecimal values and written in upper case, represent, respectively, the
address of the register and the data to be written. To write 0xC7 to the register at address 0x20, for example, the
user issues the command *pw20C7.
Humidity sensor register read
The *hrAA command allows the contents of the humidity sensor 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 HRAAhDDh, where AA is the address sent by the user and
DD is the data present in the register.
UM0979 - Rev 6
page 19/39
Page 20
UM0979
Supported commands
For example, to read the register at address 0x20, the user issues the command *hr20, which returns, e.g.,
HR20h10h.
Humidity sensor register write
The *hwAADD command allows writing to the contents of the humidity sensor registers in the demonstration kit
board. AA and DD, expressed as hexadecimal values and written in upper case, represent, respectively, the
address of the register and the data to be written. To write 0xC7 to the register at address 0x20, for example, the
user issues the command *hw20C7.
Single acquisition
The *single command may be used to read just one set of data. It requires the sensor to be well configured and
once invoked, returns the read values of one data sample.
The format of the returned value is exactly the same as the *debug command (Table 5. Returned values for
*debug command), in fact, the *debug command is used for continuous data acquisition purposes whereas a
*single command returns just one set of data.
List
The *list command returns the list of MKI adapters supported by the firmware, printed in ASCII format.
Listdev
The *listdev command returns the list of devices supported by the firmware, printed in ASCII format.
Echo on
The *echoon command is used to activate the write command verbose mode. Once this command is launched,
after every write command the firmware automatically performs also a read of the register just written. This
function is useful to check if the write has succeeded. For instance, if the *echoon command is launched, after a
*w2027 it results R2027.
Echo off
The *echooff command stops the write command verbose mode.
Accelerometer FIFO reset enable
The *fiforst command enables the accelerometer FIFO reset mode. For more details see the AN3308 application
note.
Accelerometer FIFO mode enable
The *fifomde command is used to enable the accelerometer FIFO mode. For more details see the AN3308
application note.
Accelerometer FIFO Stream mode enable
The *fifostr command is used to enable the accelerometer FIFO stream mode. For more details see the AN3308
application note.
Accelerometer Stream-to-FIFO mode enable
UM0979 - Rev 6
The *fifostf command enables the accelerometer Stream-to-FIFO mode. For more details see the AN3308
application note.
Accelerometer Bypass-to-FIFO mode enable
The *fifobtf command is used to enable the accelerometer Bypass-to-FIFO mode.
Accelerometer Bypass-to-Stream mode enable
The *fifobts command is used to enable the accelerometer Bypass-to-Stream mode.
page 20/39
Page 21
Accelerometer Dynamic Stream mode enable
The *fifodstr command enables the accelerometer Dynamic Stream mode.
Gyroscope FIFO reset enable
The *gfiforst command enables the gyroscope FIFO reset mode.
Gyroscope FIFO mode enable
The *gfifomde command is used to enable the gyroscope FIFO mode.
Gyroscope FIFO Stream mode enable
The *gfifostr command is used to enable the gyroscope FIFO stream mode.
Gyroscope Stream-to-FIFO mode enable
The *gfifostf command enables the gyroscope Stream-to-FIFO mode.
Gyroscope Bypass-to-FIFO mode enable
The *gfifobtf command is used to enable the gyroscope Bypass-to-FIFO mode.
UM0979
Supported commands
Gyroscope Bypass-to-Stream mode enable
The *gfifobts command is used to enable the gyroscope Bypass-to-Stream mode.
Gyroscope Dynamic Stream mode enable
The *gfifodstr command enables the gyroscope Dynamic Stream mode.
Magnetometer FIFO reset enable
The *mfiforst command enables the magnetometer FIFO reset mode.
Magnetometer FIFO mode enable
The *mfifomde command is used to enable the magnetometer FIFO mode.
Magnetometer FIFO Stream mode enable
The *mfifostr command is used to enable the magnetometer FIFO stream mode.
Magnetometer Stream-to-FIFO mode enable
The *mfifostf command enables the magnetometer Stream-to-FIFO mode.
Magnetometer Bypass-to-FIFO mode enable
The *mfifobtf command is used to enable the magnetometer Bypass-to-FIFO mode.
Magnetometer Bypass-to-Stream mode enable
UM0979 - Rev 6
The *mfifobts command is used to enable the magnetometer Bypass-to-Stream mode.
Magnetometer Dynamic Stream mode enable
The *mfifodstr command enables the magnetometer Dynamic Stream mode.
Pressure sensor FIFO reset enable
The *pfiforst command enables the pressure sensor FIFO reset mode.
page 21/39
Page 22
Pressure sensor FIFO mode enable
The *pfifomde command is used to enable the pressure sensor FIFO mode.
Pressure sensor FIFO Stream mode enable
The *pfifostr command is used to enable the pressure sensor FIFO stream mode.
Pressure sensor Stream-to-FIFO mode enable
The *pfifostf command enables the pressure sensor Stream-to-FIFO mode.
Pressure sensor Bypass-to-FIFO mode enable
The *pfifobtf command is used to enable the pressure sensor Bypass-to-FIFO mode.
Pressure sensor Bypass-to-Stream mode enable
The *pfifobts command is used to enable the pressure sensor Bypass-to-Stream mode.
Pressure sensor Dynamic Stream mode enable
The *pfifodstr command enables the pressure sensor Dynamic Stream mode.
UM0979
Supported commands
PDON and PDOFF
The *PDON and *PDOFF commands are employed respectively to set to 1, and to clear to 0, the “power-down”
pin in analog devices.
STON and STOFF
The *STON and *STOFF commands are employed respectively to set to 1, and to clear to 0, the “self test” pin in
analog devices.
HPON and HPOFF
The *HPON and *HPOFF commands are employed respectively to set to 1, and to clear to 0, the “high-pass filter”
pin in analog devices.
FSON and FSOFF
The *FSON and *FSOFF commands are employed respectively to set to 1 and to clear to 0 the “full scale” pin in
analog devices.
UM0979 - Rev 6
page 22/39
Page 23
Supported commands
4.2.2 Digital output accelerometers: supported commands
Table 6. Digital output accelerometers: supported commands list below lists the commands supported by the
devices/demonstration boards including a digital output accelerometer.
Table 6. Digital output accelerometers: supported commands list
CommandDescriptionReturned value
*setdbXXXVYSelects firmware according to the adapter connected
*startStarts continuous data acquisition(see Table 4. Returned values for *start command)
*debugReturns the output data in readable text format(see Table 5. Returned values for *debug command)
*stopStops data acquisition
*ZonForces 3-state
*ZoffExits from 3-state
*devDevice namee.g.: LIS3DH
*verFirmware versione.g.: V1.0
*rAAAccelerometer register reade.g.: RAAhDDh
*wAADDAccelerometer register write
*singleIt gets a single X, Y, and Z data acquisition(see Table 5. Returned values for *debug command)
*listPrints the list of MKIs supportede.g.: MKI105V1
*listdevPrints the list of devices supportede.g.: LIS3DH
*echoonActivates the write verbose modee.g.: RAAhDDh
*echooffDeactivates the write verbose mode
*fiforst
*fifomde
*fifostr
*fifostf
*fifobtf
*fifobts
*fifodstr
(1)
(1)
(1)
(1)
(1)
(1)
(1)
Accelerometer “Reset mode” enablest 0 0 0 0 0 0 IR FC FS
Accelerometer “FIFO mode” enablest 0 0 0 0 0 0 IR FC FS
Accelerometer “FIFO Stream” enablest 0 0 0 0 0 0 IR FC FS
Accelerometer “Stream-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
Accelerometer “Bypass-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
Accelerometer “Bypass-to-Stream” enablest 0 0 0 0 0 0 IR FC FS
Accelerometer “Dynamic Stream” enablest 0 0 0 0 0 0 IR FC FS
4.2.5 Analog output gyroscopes: supported commands
Table 9. Analog output gyroscopes: supported commands list below lists the commands supported by the
devices/demonstration boards including an analog output gyroscope.
Table 9. Analog output gyroscopes: supported commands list
CommandDescriptionReturned value
*setdbXXXVYSelects firmware according to the adapter connected
*startStarts continuous data acquisition(see Table 4. Returned values for *start command)
*debugReturns the output data in readable text format(see Table 5. Returned values for *debug command)
*stopStops data acquisition
*ZonForces 3-state
*ZoffExits from 3-state
*devDevice namee.g.: LIS3DH
*verFirmware versione.g.: V1.0
*singleIt gets a single X, Y, and Z data acquisition(see Table 5. Returned values for *debug command)
*listPrints the list of MKIs supportede.g.: MKI105V1
*listdevPrints the list of devices supportede.g.: LIS3DH
*echoonActivates the write verbose modee.g.: RAAhDDh
*echooffDeactivates the write verbose mode
*PDONSets power-down pin
*PDOFFClears power-down pin
*STONSets self-test pin
*STOFFClears self-test pin
*HPONSets high-pass filter pin
*HPOFFClears high-pass filter pin
UM0979
UM0979 - Rev 6
page 26/39
Page 27
Supported commands
4.2.6 Digital output magnetometers: supported commands
Table 10. Digital output magnetometers: supported commands list below lists the commands supported by the
devices/demonstration boards including a digital output magnetometer.
Table 10. Digital output magnetometers: supported commands list
CommandDescriptionReturned value
*setdbXXXVYSelects firmware according to the adapter connected
*startStarts continuous data acquisition(see Table 4. Returned values for *start command)
*debugReturns the output data in readable text format(see Table 5. Returned values for *debug command)
*stopStops data acquisition
*ZonForces 3-state
*ZoffExits from 3-state
*devDevice namee.g.: LIS3DH
*verFirmware versione.g.: V1.0
*mrAAMagnetometer register reade.g.: MRAAhDDh
*mwAADDMagnetometer register write
*singleIt gets a single X, Y, and Z data acquisition(see Table 5. Returned values for *debug command)
*listPrints the list of MKIs supportede.g.: MKI105V1
*listdevPrints the list of devices supportede.g.: LIS3DH
*echoonActivates the write verbose modee.g.: MRAAhDDh
*echooffDeactivates the write verbose mode
*mfiforst
*mfifomde
*mfifostr
*mfifostf
*mfifobtf
*mfifobts
*mfifodstr
(1)
(1)
(1)
(1)
(1)
(1)
(1)
Magnetometer “Reset mode” enablest 0 0 0 0 0 0 IR FC FS
Magnetometer “FIFO mode” enablest 0 0 0 0 0 0 IR FC FS
Magnetometer “FIFO Stream” enablest 0 0 0 0 0 0 IR FC FS
Magnetometer “Stream-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
Magnetometer “Bypass-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
Magnetometer “Bypass-to-Stream” enablest 0 0 0 0 0 0 IR FC FS
Magnetometer “Dynamic Stream” enablest 0 0 0 0 0 0 IR FC FS
UM0979
1. Available only for devices with embedded FIFO.
UM0979 - Rev 6
page 27/39
Page 28
Supported commands
4.2.7 Digital output pressure sensors: supported commands
Table 11. Digital output pressure sensors: supported commands list below lists the commands supported by the
devices/demonstration boards including a digital output pressure sensor.
Table 11. Digital output pressure sensors: supported commands list
CommandDescriptionReturned value
*setdbXXXVYSelects firmware according to the adapter connected
*startStarts continuous data acquisition(see Table 4. Returned values for *start command)
*debugReturns the output data in readable text format(see Table 5. Returned values for *debug command)
*stopStops data acquisition
*ZonForces 3-state
*ZoffExits from 3-state
*devDevice namee.g.: LIS3DH
*verFirmware versione.g.: V1.0
*prAAPressure sensor register reade.g.: PRAAhDDh
*pwAADDPressure sensor register write
*singleIt gets a single X, Y, and Z data acquisition(see Table 5. Returned values for *debug command)
*listPrints the list of MKIs supportede.g.: MKI105V1
*listdevPrints the list of devices supportede.g.: LIS3DH
*echoonActivates the write verbose modee.g.: PRAAhDDh
*echooffDeactivates the write verbose mode
*pfiforst
*pfifomde
*pfifostr
*pfifostf
*pfifobtf
*pfifobts
*pfifodstr
(1)
(1)
(1)
(1)
(1)
(1)
(1)
Pressure sensor “Reset mode” enablest 0 0 0 0 0 0 IR FC FS
Pressure sensor “FIFO mode” enablest 0 0 0 0 0 0 IR FC FS
Pressure sensor “FIFO Stream” enablest 0 0 0 0 0 0 IR FC FS
Pressure sensor “Stream-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
Pressure sensor “Bypass-to-FIFO” enablest 0 0 0 0 0 0 IR FC FS
Pressure sensor “Bypass-to -Stream” enablest 0 0 0 0 0 0 IR FC FS
Pressure sensor “Dynamic Stream” enablest 0 0 0 0 0 0 IR FC FS
UM0979
1. Available only for devices with embedded FIFO.
UM0979 - Rev 6
page 28/39
Page 29
4.2.8 Digital output humidity sensors: supported commands
Table 11. Digital output pressure sensors: supported commands list below lists the commands supported by the
devices/demonstration boards including a digital output humidity sensor.
Table 12. Digital output humidity sensors: supported commands list
CommandDescriptionReturned value
*setdbXXXVYSelects firmware according to the adapter connected
*startStarts continuous data acquisition(see Table 4. Returned values for *start command)
*debugReturns the output data in readable text format(see Table 5. Returned values for *debug command)
*stopStops data acquisition
*ZonForces 3-state
*ZoffExits from 3-state
*devDevice namee.g.: LIS3DH
*verFirmware versione.g.: V1.0
*hrAAHumidity sensor register reade.g.: HRAAhDDh
*hwAADDHumidity sensor register write
*singleIt gets a single X, Y, and Z data acquisition(see Table 5. Returned values for *debug command)
*listPrints the list of MKIs supportede.g.: MKI105V1
*listdevPrints the list of devices supportede.g.: LIS3DH
*echoonActivates the write verbose modee.g.: PRAAhDDh
*echooffDeactivates the write verbose mode
UM0979
Quick start
4.3 Quick start
This section shows the basic sequence of commands, based on the LIS3DH accelerometer, to start a data
communication session and to retrieve the X, Y, and Z acceleration data from the demonstration kit:
3.Inside the “HyperTerminal” window, enter the command *setdb105v1 (supposing the LIS3DH adapter board
is used, for other adapters see the relevant datasheets to check the register configuration), enter the
command *Zoff to enable the control of the device by the STM32F103RET6 microcontroller, and *w2047 to
switch on the LIS3DH and to set the data rate to 50 Hz
4.Send the *debug command to get the X, Y, and Z data measured by the sensor
5.Send *stop to end the continuous acquisition and visualization.
UM0979 - Rev 6
page 29/39
Page 30
5 Schematic diagrams
USB_5V
GND
V+
1
DM
2
DP
3
GND
5
nc
4
Min i-USB B
J3
100nF
C9
+
10u F
C1
USBDM
USBDP
22R
R37
22R
R38
BC81 7
Q1
1.5K
R36
VDD
36K
R34
10K
R8
USB_5V
GND
BC81 7
Q2
47K
R39
VDD
1K
R31
USB_Disc
0R
R1
Not mount ed
I/O1
1
GND
2
I/O2
3
I/O2
4
Vb us
5
I/O1
6
USBLC6 -2P6
U5
100nFC6
GND
USB_5V
GND
D1
180R
R35
GND
Vin
1
Gn d
2
EN
3
BYPASS
4
Vo ut
5
lds3985xx3 0
U2
33n F
C14
100nF
C2
1uF
C11
1
2
Power Su pply
J2
TP1
USB_5V
1
2
Current_Measure
JP1
Vd d_dut
100nF
C3
+
10u F
C13
VDD
(TANT.)
Vp s
USBDM
USBDP
USB_Disc
USBDM
USBDP
USB_Disc
Vdd_dut
Vdd_dut
The schematic diagrams of the eMotion demonstration kit are shown in Figure 7. eMotion board (power supply
and USB) and Figure 8. STEVAL-MKI109V2 eMotion board (STM32F103RET6 and connectors).
Figure 7. eMotion board (power supply and USB)
UM0979
Schematic diagrams
UM0979 - Rev 6
page 30/39
Page 31
Figure 8. STEVAL-MKI109V2 eMotion board (STM32F103RET6 and connectors)
INT2
INT1
18pF
Cosc2
18pF
Cosc1
1M
R7
OSCINOSCOUT1
2
3
4
16MHz
Osc1
D2
D3
100R
R24
100R
R25
ST
PD
1
2
3
ST
JP4
1
2
3
PD
JP5
PD_u
ST_u
123
HP
JP6
HP
HP_u
VDD
VDD
VDD
10K
R11
10K
R12
10K
R19
Rled
Gled
100R
R23
100R
R22
VDD
SW1
VDD
10K
R17
SW1
SW2
VDD
10K
R18
SW2
BOOT0
10K
R14
BOOT1
10K
R13
VDD
10K
R6
10K
R5
10K
R4
10K
R3
10K
R2
Not Mounted
JTMS_SWDIO
JTDI
JNTRST
JTDO
JTCK_SWCLK
NRST
123
456
7
8
91011
12
Header 12
J4
242322
21
20
19
181716
151413
Header 12
J5
PD
ST
HP
OUT2
OUT1
OUT4
OUT5
INT2
INT1
SCL_DEV
SDA_DEV
SDO_DEV
CS_DEV
Vref
O1
O2
OUT3
OUT6
O3
DIL24 Device Adapter
D4
D5
1
3
5
7
9 10
8
6
4
2
SWD Connector
J1
VDD
12
JP7
VDD
VDD
VDD
VDD
100nF
C5
100nF
C8
10nF
C17
+
1uF
C12
+
4.7uF
C10
VDD
VDD
VDD
VDD
VDD
100nF
C4
Vref_u
OUT4_u
OUT5_u
OUT2_u
OUT1_u
INT2
INT1
JTMS_SWDIO
OSCIN
OSCOUT
I2C_SCL
I2C_SDA
4.7K
R26
4.7K
R27
VDD
NRST
BOOT0
USBDP
USARTRX
USARTTX
JTDI
JNTRST
JTDO
JTCK_SWCLK
USBDM
Rled
Gled
SW1
SW2
BOOT1
SW3
100nF
C7
OUT3_u
OUT6_u
I2C_SCL
I2C_SDA0RR16
0R
R15
SCL_DEV
SDA_DEV
100nF
C26
VDD
CS_DEV
PD_u
ST_u
SPI2_SCL
SPI2_SDA
PA3/ADC3
17
Vss4
18
Vdd4
19
PA4/NSS/ADC4
20
PA5/SCK/ADC5
21
PA6/MISO/ADC6
22
PA7/MOSI/ADC7
23
PC4/ADC14
24
PC5/ADC15
25
PB0/ADC8
26
PB1/ADC9
27
PB2/BOOT1
28
PB10
29
PB11
30
Vss1
31
Vdd1
32
PB12/SPI2_NSS
33
PB13/SPI2_SCK
34
PB14/SPI2_MISO
35
PB15/SPI2/MOSI
36
PC6
37
PC738PC8
39
PC9
40
PA8/MCO
41
PA9/USART1_TX
42
PA10/USART1_RX
43
PA11/USBDM
44
PA12/USBDP
45
PA13/JTMS-SWDIO
46
Vss2
47
Vdd2
48
PA14/JTCK/SWCLK
49
PA15/JTDI
50
PC10
51
PC11
52
PC12
53
PD2
54
PB3/JTDO
55
PB4/JNTRST
56
PB5
57
PB6/I2C_SCL
58
PB7/I2C_SDA
59
BOOT0
60
PB8
61
PB9
62
Vss3
63
Vdd3
64
Vbat
1
PC13/Tamper/RTC
2
PC14/OSC32in
3
PC15/OSC32out
4
PD0/OSCin
5
PD1/OSCout
6
NRST
7
PC0/ADC10
8
PC1/ADC11
9
PC2/ADC12
10
PC3/ADC1311VssA12VddA13PA0/WKUP/ADC014PA1/ADC1
15
PA2/ADC2
16
STM32F10xRx
0R
R32
0RR33
SPI2_SDA
SPI2_SCL
SDO_DEV
Vdd_dut
1
2
345
678
9
10
11
12
Header 12X2
JP2
1
2
3
4
567
8
9
10
11
12
Header 12X2
JP3
GP_GPIO1
GP_GPIO1
USB_Disc
Not Mounted
7
In-
6
In+
5
- +
TS924
U1B
14
In-
13
In+
12
- +
TS924
U1D
7
In-
6
In+
5
- +
TS924
U3B
14
In-
13
In+
12
- +
TS924
U3D
VDD
VDD
VDD
VDD
OUT1
OUT2
OUT3
OUT4
OUT3_u
OUT4_u
OUT2_u
OUT1_u
1
In-
2
In+
3
- +
TS924
U1A
8
In-
9
In+
10
- +
TS924
U1C
1
In-
2
In+
3
- +
TS924
U3A
8
In-
9
In+
10
- +
TS924
U3C
VDD
VDD
VDD
VDD
OUT5
OUT6
OUT6_u
OUT5_u
Vref_u
Vref
GP_led
VDD
100R
R30
D6
GP_led
1
In-
2
In+
3
- +
TS922
U4A
7
In-
6
In+
5
- +
TS922
U4B
VDD
VDD
O2
HP_u
O2_u
O1_u
O3_u
O1
O3
O1_u
O3_u
R0
R10
R0
R21
R0
R29
R0
R9
R0
R20
R0
R28
USBDM
USBDP
USB_Disc
USBDM
USBDP
USB_Disc
O2_u
1
2
JP10
1
2
JP9
Not Mounted
Not Mounted
Not Mounted
1
2
3
Header 3
JP11
1
2
3
Header 3
JP8
Vdd_dut
Vdd_dut
VDD
CE_RF
CS_RF
SCK_RF
MOSI_RF
MISO_RF
IRQ_RF
SCK_RF
MISO_RF
MOSI_RF
CE_RF
CS_RF
IRQ_RF
1
2
3
456
7
8
MHDR1X8
JP12
FS
FS
UM0979
Schematic diagrams
UM0979 - Rev 6
page 31/39
Page 32
6 Bill of materials
The bill of materials for the eMotion demonstration kit is provided in Table 13. Bill of materials for STEVAL-
MKI109V2 below.
Table 13. Bill of materials for STEVAL-MKI109V2
DesignatorDescriptionCommentFootprint
C1Capacitor10 µFC1206_POL
C2Capacitor100 nF0805
C3Capacitor100 nF0805
C4Capacitor100 nF0805
C5Capacitor100 nF0805
C6Capacitor100 nF0805
C7Capacitor100 nF0805
C8Capacitor100 nF0805
C9Capacitor100 nF0805
C10Capacitor4.7 µFC0805_POL
C11Capacitor1 µF0805
C12Capacitor1 µFC0805_POL
C13Capacitor10 µFC0805_POL
C14Capacitor33 nF0805
C17Capacitor10 nF0805
C26Capacitor100 nF0805
Cosc1Capacitor18 pF0805
Cosc2Capacitor18 pF0805
D1SMD LEDBlue LED0805
D2SMD LEDGreen LED0805
D3SMD LEDOrange LED0805
D4SMD LEDGreen LED0805
D5SMD LEDRed LED0805
D6SMD LEDOrange LED0805
J1Header_HE10_5X2JTAG/SWD connectorHDR5X2 1.27 mm
J2CON2Power supplyHeader 1x2 2 mm
J3USB_mini_BMini-USB BUSB_mini_B
J4Header 12Header 12HDR1X12
J5Header 12Header 12JP 1X12
JP1CON2Current_MeasureHeader 1x2 2 mm
JP2Header 12Header 12X2HDR1X12
JP3Header 12Header 12X2HDR1X12
JP4Header 3STMicroelectronicsHeader 1x3 2 mm
JP5Header 3PDHeader 1x3 2 mm
JP6Header 3HPHeader 1x3 2 mm
UM0979
Bill of materials
UM0979 - Rev 6
page 32/39
Page 33
Bill of materials
DesignatorDescriptionCommentFootprint
JP7CON2Header 1x2 2 mm
JP9CON2Header 1x2 2 mm
JP10CON2Header 1x2 2 mm
Osc1Ceramic SMD crystal 3.2X2.5 mm16 MHzCeramic SMD Crystal 3.2x2.5 mm
Q1BC817-25BC817SOT-23
Q2BC817-25BC817SOT-23
R2Resistor10 kΩ0805
R3Resistor10 kΩ0805
R4Resistor10 kΩ0805
R5Resistor10 kΩ0805
R6Resistor10 kΩ0805
R7Resistor1 MΩ0805
R8Resistor10 kΩ0805
R9Resistor0 Ω0805
R10Resistor0 Ω0805
R11Resistor10 kΩ0805
R12Resistor10 kΩ0805
R13Resistor10 kΩ0805
R14Resistor10 kΩ0805
R15Resistor0 Ω0805
R16Resistor0 Ω0805
R17Resistor10 kΩ0805
R18Resistor10 kΩ0805
R19Resistor10 kΩ0805
R20Resistor0 Ω0805
R21Resistor0 Ω0805
R22Resistor100 Ω0805
R23Resistor100 Ω0805
R24Resistor100 Ω0805
R25Resistor100 Ω0805
R26Resistor4.7 kΩ0805
R27Resistor4.7 kΩ0805
R28Resistor0 Ω0805
R29Resistor0 Ω0805
R30Resistor100 Ω0805
R31Resistor1 kΩ0805
R32Resistor0 Ω0805
R33Resistor0 Ω0805
R34Resistor36 kΩ0805
R35Resistor180 Ω0805
UM0979
UM0979 - Rev 6
page 33/39
Page 34
DesignatorDescriptionCommentFootprint
R36Resistor1.5 kΩ0805
R37Resistor22 Ω0805
R38Resistor22 Ω0805
R39Resistor47 kΩ0805
SW1SMT SWITCH
SW2SMT SWITCH
SW3SMT SWITCH
U1TS924TS924TS924
U2Component_1lds3985xx30SOT23-5
U3TS924TS924TS924
U4TS922TS922SO8_2
U5USBLC6-2P6USBLC6-2P6SOT-666
U6STM32F103RET6LQF64
UM0979
Bill of materials
UM0979 - Rev 6
page 34/39
Page 35
Revision history
02-Mar-20111Initial release
18-Apr-20122
09-Sep-20133
03-Nov-20144
20-Oct-20165
05-Feb-20186
UM0979
Table 14. Document revision history
DateRevisionChanges
•Added: STEVAL-MKI109V2
•Modified: Bill of materials for STEVAL-MKI109V2
•Added new supported demo kits.
•Updated Table 2: List of supported MEMS adapter boards, Table 4: Returned
values for *start command and Table 5: Returned values for *debug command.
Updated: Section 2.2: DFU, Table 2: List of supported MEMS adapter boards, Table 4:
Returned values for *start command and Table 5: Returned values for *debug
command.
Updated: Section 2.1: Hardware installation (Windows platforms), Table 2: List of
supported MEMS adapter boards, Table 4: Returned values for *start command, and
Table 5: Returned values for *debug command
Added: Section 2.2.2: DFU on Linux, Section 2.2.3: DFU on Mac OS, and Section 4.2.8:
Digital output humidity sensor: supported commands
Removed: STEVAL-MKI109V1
Added Figure 4: How to connect the DIL24 adapter board to the STEVAL-MKI109V2
Updated version of VCP Driver to V.1.4.0 in Section 2.1: Hardware installation
(Windows platforms)
Updated reference to version of firmware in use to lower than V3.0.0 in Section 2.2:
DFU
Updated version of DFU software to V3.0.5 in Section 2.2.1: DFU on Windows
Updated Table 2: List of supported MEMS adapter boards
Updated Table 4: Returned values for *start command
Updated Table 5: Returned values for *debug command
Updated Table 2. List of supported MEMS adapter boards
Updated Table 4. Returned values for *start command
Figure 6. Virtual COM port assignment .......................................................... 8
Figure 7. eMotion board (power supply and USB) .................................................. 30
Figure 8. STEVAL-MKI109V2 eMotion board (STM32F103RET6 and connectors) ........................... 31
UM0979 - Rev 6
page 38/39
Page 39
UM0979
IMPORTANT NOTICE – PLEASE READ CAREFULLY
STMicroelectronics NV and its subsidiaries (“ST”) reserve the right to make changes, corrections, enhancements, modifications, and improvements to ST
products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST
products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Purchasers are solely responsible for the choice, selection, and use of ST products and ST assumes no liability for application assistance or the design of
Purchasers’ products.
No license, express or implied, to any intellectual property right is granted by ST herein.
Resale of ST products with provisions different from the information set forth herein shall void any warranty granted by ST for such product.
ST and the ST logo are trademarks of ST. All other product or service names are the property of their respective owners.
Information in this document supersedes and replaces information previously supplied in any prior versions of this document.