ST STEVAL-MKI109V2 User Manual
Hide thumbs Also See for STEVAL-MKI109V2:
Table of Contents

Advertisement

Quick Links

UM0979

User manual

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.
November 2014
DocID017768 Rev 4
1/39
www.st.com
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

Summary of Contents for ST STEVAL-MKI109V2

  • Page 1: User Manual

    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...
  • Page 2: Table Of Contents

    Contents UM0979 Contents Demonstration kit description ....... . . 5 eMotion board installation .
  • Page 3 Bill of materials for STEVAL-MKI109V2 ........
  • Page 4 (power supply and USB) ........33 Figure 7. STEVAL-MKI109V2 eMotion board (STM32F103RET6 and connectors) ... . . 34 4/39...
  • Page 5: Demonstration Kit Description

    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.
  • Page 6: Figure 2. Top Silkscreen Of The Emotion Kit

    Demonstration kit description UM0979 Figure 2. Top silkscreen of the eMotion kit 6/39 DocID017768 Rev 4...
  • Page 7: Figure 3. Board Top View

    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.
  • Page 8: Table 1. Jumper Configuration For Power-Down (Pd), Self Test (St) And High-Pass Filter Reset (Hp)

    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:...
  • Page 9: Emotion Board Installation

    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.
  • Page 10: Dfu

    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...
  • Page 11: Dfu On Windows

    .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”.
  • Page 12: Dfu On Mac Os

    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.
  • Page 13: Supported Mems Adapter Boards

    UM0979 Supported MEMS adapter boards Supported MEMS adapter boards Table 2 below provides the complete list of supported adapter boards. Table 2. List of supported MEMS adapter boards Adapter board Device STEVAL-MKI009V1 LIS3LV02DL STEVAL-MKI013V1 LIS302DL STEVAL-MKI015V1 LIS344ALH STEVAL-MKI074V1 LY330ALH STEVAL-MKI075V1 LY3100ALH STEVAL-MKI076V1 LY3200ALH...
  • Page 14 Supported MEMS adapter boards UM0979 Table 2. List of supported MEMS adapter boards (continued) Adapter board Device STEVAL-MKI120V1 LPS331AP STEVAL-MKI122V1 LSM330DLC STEVAL-MKI123V1 LSM330D STEVAL-MKI124V1 10AXISMODULE [LSM303DLHC + L3GD20+ LPS331AP] STEVAL-MKI125V1 A3G4250D STEVAL-MKI133V1 LSM303D STEVAL-MKI134V1 LIS3DSH STEVAL-MKI135V1 LIS2DH STEVAL-MKI136V1 L3GD20H STEVAL-MKI137V1 LIS3MDL STEVAL-MKI141V1 HTS221 (I2C i/f only)
  • Page 15: Supported Commands

    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”...
  • Page 16: Commands List And Description

    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...
  • Page 18: Table 4. Returned Values For *Start Command

    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...
  • Page 20: Table 5. Returned Values For *Debug Command

    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.
  • Page 26: Digital Output Accelerometers: Supported Commands

    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 27: Analog Output Accelerometers: Supported Commands

    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.
  • Page 28: Digital Output Gyroscopes: Supported Commands

    RAAhDDh *echooff Deactivates the write verbose mode *gfiforst Gyroscope “Reset mode” enable st 0 0 0 0 0 0 IR FC FS *gfifomde Gyroscope “FIFO mode” enable st 0 0 0 0 0 0 IR FC FS *gfifostr Gyroscope “FIFO stream” enable...
  • Page 29: Analog Output Gyroscopes: Supported Commands

    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...
  • Page 30: Digital Output Pressure Sensor: Supported Commands

    MRAAhDDh *echooff Deactivates the write verbose mode *mfiforst Magnetometer “Reset mode” enable st 0 0 0 0 0 0 IR FC FS *mfifomde Magnetometer “FIFO mode” enable st 0 0 0 0 0 0 IR FC FS *mfifostr Magnetometer “FIFO stream” enable...
  • Page 31: Digital Output Humidity Sensor: Supported Commands

    PRAAhDDh *echooff Deactivates the write verbose mode *pfiforst Pressure sensor “Reset mode” enable st 0 0 0 0 0 0 IR FC FS *pfifomde Pressure sensor “FIFO mode” enable st 0 0 0 0 0 0 IR FC FS *pfifostr Pressure sensor “FIFO stream”...
  • Page 32: Quick 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...
  • Page 33: Schematic Diagrams

    UM0979 Schematic diagrams Schematic diagrams The schematics diagram of the eMotion demonstration kit is shown in Figure 6 Figure Figure 6. eMotion board (power supply and USB) DocID017768 Rev 4 33/39...
  • Page 34: Figure 7. Steval-Mki109V2 Emotion Board (Stm32F103Ret6 And Connectors)

    Schematic diagrams UM0979 Figure 7. STEVAL-MKI109V2 eMotion board (STM32F103RET6 and connectors) 34/39 DocID017768 Rev 4...
  • Page 35: Bill Of Materials

    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...
  • Page 38: Revision History

    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.

This manual is also suitable for:

Emotion

Table of Contents