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...
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.
UM0979 Demonstration kit description Figure 3. Board top view ref 5 ref 3 ref 4 ref 2 ref 1 ref 13 ref 12 ref 6 ref 10 ref 8 ref 9 ref 7 ref 11 AM07758v1 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.
Demonstration kit description UM0979 Table 1. Jumper configuration for power-down (PD), self test (ST) and high-pass filter reset (HP) Jumper on 1-2 position Jumper on 2-3 position Jumper unfitted logic level 1: Self-test is handled by the logic level 0:...
UM0979 eMotion board installation 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.
UM0979 Figure 5. Virtual COM port assignment 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...
.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”.
eMotion board installation UM0979 To use the board with the upgraded firmware you need to disconnect and reconnect it, in order to exit DFU mode. 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.
HyperTerminal” program available with the Windows XP operating system Create a new connection, enter a name (e.g. “STEVAL-MKI109V2”), and click “OK” In the “Connect Using” field, select the virtual COM port to which the USB port has been mapped, and click “OK”...
RAAhDDh *echooff Deactivates the write verbose mode *fiforst Accelerometer “Reset mode” enable st 0 0 0 0 0 0 IR FC FS *fifomde Accelerometer “FIFO mode” enable st 0 0 0 0 0 0 IR FC FS *fifostr Accelerometer “FIFO stream” enable...
Page 17
Command Description Returned value *gfifomde Gyroscope “FIFO mode” enable st 0 0 0 0 0 0 IR FC FS *gfifostr Gyroscope “FIFO stream” enable st 0 0 0 0 0 0 IR FC FS *gfifostf Gyroscope “Stream to FIFO” enable...
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}.
Page 19
UM0979 Supported commands Table 4. Returned values for *start command STEVAL # (Device) Returned value STEVAL-MKI074V1 (LY330ALH) STEVAL-MKI075V1 (LY3100ALH) STEVAL-MKI076V1 (LY3200ALH) STEVAL-MKI082V1 (LPY4150AL) STEVAL-MKI083V1 (LPY450AL) STEVAL-MKI084V1 (LPY430AL) s t vrefH vrefL o1H o1L out1H out1L out4H out4L o2H STEVAL-MKI085V1 (LPY410AL) o2L out2H out2L out5H out5L o3H o3L out3H out3L STEVAL-MKI086V1 (LPY403AL) out6H out6L sw1|sw2 \r \n...
Supported commands UM0979 Table 5 shows the format of the string returned for each device when a *debug command is sent. Table 5. Returned values for *debug command STEVAL # (Device) Returned value STEVAL-MKI009V1 (LIS3LV02DL) STEVAL-MKI013V1 (LIS302DL) STEVAL-MKI015V1 (LIS344ALH) STEVAL-MKI087V1 (LIS331DL) STEVAL-MKI088V1 (LIS33DE) STEVAL-MKI089V1 (LIS331DLH) STEVAL-MKI090V1 (LIS331DLF)
Page 21
UM0979 Supported commands Table 5. Returned values for *debug command STEVAL # (Device) Returned value AX=XXXXX AY=YYYYY AZ=ZZZZZ MX=XXXXX MY=YYYYY MZ=ZZZZZ STEVAL-MKI124V1 (10AXISMODULE) GX=XXXXX GY=YYYYY GZ=ZZZZZ P=PPPPP T=TTTTT STEVAL-MKI141V1 (HTS221 - I2C i/f) H=HHHHH T=TTTTT STEVAL-MKI141V2 (HTS221) Stop command The *stop command interrupts any acquisition session that has been started with either the *start or *debug commands.
Page 22
Supported commands UM0979 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.
Page 23
UM0979 Supported commands 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.
Page 24
Supported commands UM0979 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.
Page 25
UM0979 Supported commands 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.
Description Returned value *fifobts Accelerometer “Bypass-to-Stream” enable st 0 0 0 0 0 0 IR FC FS *fifodstr Accelerometer “Dynamic Stream” enable st 0 0 0 0 0 0 IR FC FS 1. Available only for devices with embedded FIFO.
UM0979 Supported commands 4.2.5 Analog output gyroscopes: supported commands Table 9 below lists the commands supported by the devices/demonstration boards including an analog output gyroscope: Table 9. Analog output gyroscopes: supported commands list Command Description Returned value Selects firmware according to the adapter *setdbXXXVY connected *start...
Supported commands UM0979 Table 12. Digital output humidity sensor: supported commands list (continued) Command Description Returned value *list Prints the list of MKIs supported e.g.: MKI105V1 *listdev Prints the list of devices supported e.g.: LIS3DH *echoon Activates the write verbose mode e.g.: PRAAhDDh *echooff Deactivates the write verbose mode...
UM0979 Bill of materials Bill of materials The bill of materials for the eMotion demonstration kit is provided in Table 13 below. Table 13. Bill of materials for STEVAL-MKI109V2 Designator Description Comment Footprint Capacitor 10 μF C1206_POL Capacitor 100 nF...
Page 36
Bill of materials UM0979 Table 13. Bill of materials for STEVAL-MKI109V2 (continued) Designator Description Comment Footprint CON2 Header 1x2 2 mm CON2 Header 1x2 2 mm JP10 CON2 Header 1x2 2 mm Ceramic SMD Osc1 16 MHz Ceramic SMD Crystal 3.2x2.5 mm crystal 3.2X2.5 mm...
Page 37
UM0979 Bill of materials Table 13. Bill of materials for STEVAL-MKI109V2 (continued) Designator Description Comment Footprint 180 Resistor 0805 Resistor 1.5 k 0805 22 Resistor 0805 22 Resistor 0805 Resistor 47 k 0805 SMT SWITCH SMT SWITCH...
Date Revision Changes 02-Mar-2011 Initial release. – Added: STEVAL-MKI109V2 – Modified: Bill of materials for STEVAL-MKI109V2 – Added new supported demo kits. 18-Apr-2012 – Updated Table 2: List of supported MEMS adapter boards, Table 4: Returned values for *start command...
Page 39
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.
Need help?
Do you have a question about the STEVAL-MKI109V2 and is the answer not in the manual?
Questions and answers