Summary of Contents for ST eMotion STEVAL-MKI109V1
Page 1
STEVAL-MKI109V2 uses an STM32F103RET6 microcontroller; these function 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.
Page 3
List of tables Table 1. Jumper configuration for power-down (PD), self test (ST) and high-pass filter reset (HP) . . 8 Table 2. List of supported MEMS adapter boards ........12 Table 3.
Page 4
List of figures UM0979 List of figures Figure 1. Demonstration board block diagram ......... . . 5 Figure 2.
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 release. 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 Jumper on 2-3 Jumper unfitted position position logic level 1: self test Self test is handled by logic level 0: self test...
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 ●...
eMotion board installation UM0979 Figure 5. Hardware update Wizard Now the eMotion should be recognized by the PC as a virtual COM. In order to check which COM port has been assigned to the board, right click on “My Computer” and select “Manage”, select “Device Manager”...
USB applications where the same USB connector can be used both for the standard operating mode and for the reprogramming process. For more details regarding DFU and the microcontroller ST GUI, see the related user manual located under “Start > STMicroelectronics > DfuSe > Docs > DfuSe Getting Started”.
Supported commands UM0979 Supported commands 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.
*echooff Deactivates the write verbose mode *fifostr Accelerometer “FIFO stream” mode enable st 0 0 0 0 0 0 IR FC FS *fifomde Accelerometer “FIFO mode” mode enable st 0 0 0 0 0 0 IR FC FS Accelerometer “stream to FIFO” mode...
Page 16
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}.
Supported commands UM0979 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.
Page 19
UM0979 Supported commands Stop command 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 STM32F10xRx microcontroller mounted on the demonstration kit. These commands allow the isolation of the sensor from the microprocessor and let the user to interact with the sensor in a pure analog way.
Page 20
Supported commands UM0979 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.
Page 21
UM0979 Supported commands 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.
Supported commands UM0979 Gyroscope FIFO bypass to stream enable The *gfifobts command enables the gyroscope bypass to stream mode. 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”...
UM0979 Supported commands 4.2.5 Analog output gyroscopes: supported commands below lists the commands supported by the devices/demonstration boards including Table 9 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 4.2.6 Digital output magnetometers: supported commands below lists the commands supported by the devices/demonstration boards including Table 10 a digital output magnetometer: Table 10. Digital output magnetometer: supported commands list Command Description Returned value Selects firmware according to the adapter *setdbXXXVY connected *start...
UM0979 Supported commands Table 11. Digital output pressure sensor: supported commands list (continued) Command Description Returned value *ver Firmware version e.g.: V1.0 *prAA Pressure sensor register read e.g.: PRAAhDDh *pwAADD Pressure sensor register write *single It gets a single X, Y, and Z data acquisition (see Table *list...
Schematic diagrams UM0979 Schematic diagrams The schematics diagram of the eMotion demonstration kit is shown in Figure 7 Figure Figure 7. eMotion board (power supply and USB) 28/34 Doc ID 17768 Rev 2...
Bill of materials UM0979 Bill of materials The bill of materials for the eMotion demonstration kit is provided in Table 12 below. Table 12. Bill of materials for STEVAL-MKI109V1 and STEVAL-MKI109V2 Designator Description Comment Footprint Capacitor 10 µF C1206_POL Capacitor 100 nF 0805 Capacitor...
Page 31
UM0979 Bill of materials Table 12. Bill of materials for STEVAL-MKI109V1 and 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 BC817-25 BC817...
Page 32
Bill of materials UM0979 Table 12. Bill of materials for STEVAL-MKI109V1 and 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 SMT SWITCH TS924...
UM0979 Revision history Revision history Table 13. Document revision history Date Revision Changes 02-Mar-2011 Initial release. – Added: STEVAL-MKI109V2 – Modified: Bill of materials for STEVAL-MKI109V1 and STEVAL- MKI109V2 18-Apr-2012 – Added new supported demo kits. – Updated Table 2: List of supported MEMS adapter boards, Table 4: Returned values for *start command...
Page 34
No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein.
Need help?
Do you have a question about the eMotion STEVAL-MKI109V1 and is the answer not in the manual?
Questions and answers