background image

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.

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

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.

UM0979

Supported commands 

UM0979

 - 

Rev 6

page 21/39

Summary of Contents for STEVAL-MKI109V2

Page 1: ...loadable 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 require...

Page 2: ...e 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 re...

Page 3: ...Figure 2 Top silkscreen of the eMotion kit UM0979 Demonstration kit description UM0979 Rev 6 page 3 39...

Page 4: ...t 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 s...

Page 5: ...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 availab...

Page 6: ...Figure 4 How to connect the DIL24 adapter board to the STEVAL MKI109V2 UM0979 Demonstration kit description UM0979 Rev 6 page 6 39...

Page 7: ...d 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...

Page 8: ...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...

Page 9: ...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...

Page 10: ...3DLHC STEVAL MKI107V2 L3GD20 STEVAL MKI108V2 9AXISMODULE v2 LSM303DLHC L3GD20 STEVAL MKI110V1 AIS328DQ STEVAL MKI113V1 LSM303DLM STEVAL MKI114V1 MAG PROBE based on LSM303DLHC STEVAL MKI120V1 LPS331AP...

Page 11: ...MKI169V1 I3G4250D STEVAL MKI170V1 IIS328DQ STEVAL MKI172V1 LSM303AGR STEVAL MKI175V1 LIS2DE12 STEVAL MKI176V1 LSM6DS3H STEVAL MKI177V1 LPS35HW STEVAL MKI178V1 LSM6DSL STEVAL MKI179V1 LIS2DW12 STEVAL...

Page 12: ...lows to send commands through the virtual serial port The remainder of this document assumes the use of Microsoft HyperTerminal program available with the Windows XP operating system 3 Create a new co...

Page 13: ...egister read e g MRAAhDDh mwAADD Magnetometer register write prAA Pressure sensor register read e g PRAAhDDh pwAADD Pressure sensor register write hrAA Humidity sensor register read e g HRAAhDDh hwAAD...

Page 14: ...Bypass to Stream enable st 0 0 0 0 0 0 IR FC FS pfifodstr Pressure sensor Dynamic Stream enable st 0 0 0 0 0 0 IR FC FS PDON Sets power down pin PDOFF Clears power down pin STON Sets self test pin ST...

Page 15: ...V1 A3G4250D STEVAL MKI134V1 LIS3DSH STEVAL MKI135V1 LIS2DH STEVAL MKI136V1 L3GD20H STEVAL MKI151V1 LIS2DH12 STEVAL MKI153V1 H3LIS331DL STEVAL MKI158V1 AIS3624DQ STEVAL MKI164V1 LIS2HH12 STEVAL MKI166V...

Page 16: ...TL TH REF_PXL REF_PL REF_PH REF_TL REF_TH A_int1 A_int2 sw1 sw2 r n STEVAL MKI141V2 HTS221 s t HL HH TL TH int1 sw1 sw2 r n STEVAL MKI142V1 LPS25H STEVAL MKI165V1 LPS25HB STEVAL MKI177V1 LPS35HW STEV...

Page 17: ...Z ZZZZZ STEVAL MKI084V1 LPY430AL STEVAL MKI097V1 LPR430AL STEVAL MKI098V1 LPR410AL VREF VVVVV OUT1 XXXXX 4OUT1 XXXXX OUT3 YYYYY OUT6 YYYYY STEVAL MKI075V1 LY3100ALH VREF VVVVV OUT1 XXXXX 4OUT1 XXXXX...

Page 18: ...quired 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 retri...

Page 19: ...etometer 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 ca...

Page 20: ...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 th...

Page 21: ...fifodstr 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 comma...

Page 22: ...ure sensor Bypass to Stream mode Pressure sensor Dynamic Stream mode enable The pfifodstr command enables the pressure sensor Dynamic Stream mode PDON and PDOFF The PDON and PDOFF commands are employe...

Page 23: ...register write single It gets a single X Y and Z data acquisition see Table 5 Returned values for debug command list Prints the list of MKIs supported e g MKI105V1 listdev Prints the list of devices...

Page 24: ...n readable text format see Table 5 Returned values for debug command stop Stops data acquisition Zon Forces 3 state Zoff Exits from 3 state dev Device name e g LIS3DH ver Firmware version e g V1 0 sin...

Page 25: ...register write single It gets a single X Y and Z data acquisition see Table 5 Returned values for debug command list Prints the list of MKIs supported e g MKI105V1 listdev Prints the list of devices...

Page 26: ...t format see Table 5 Returned values for debug command stop Stops data acquisition Zon Forces 3 state Zoff Exits from 3 state dev Device name e g LIS3DH ver Firmware version e g V1 0 single It gets a...

Page 27: ...ad e g MRAAhDDh mwAADD Magnetometer register write single It gets a single X Y and Z data acquisition see Table 5 Returned values for debug command list Prints the list of MKIs supported e g MKI105V1...

Page 28: ...g PRAAhDDh pwAADD Pressure sensor register write single It gets a single X Y and Z data acquisition see Table 5 Returned values for debug command list Prints the list of MKIs supported e g MKI105V1 l...

Page 29: ...command 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 v...

Page 30: ...USBDM USBDP 22R R37 22R R38 BC817 Q1 1 5K R36 VDD 36K R34 10K R8 USB_5V GND BC817 Q2 47K R39 VDD 1K R31 USB_Disc 0R R1 Not mounted I O1 1 GND 2 I O2 3 I O2 4 V b us 5 I O1 6 USBLC6 2P6 U5 100nF C6 GND...

Page 31: ...3 PB13 SPI2_SCK 34 PB14 SPI2_MISO 35 PB15 SPI2 MOSI 36 PC6 37 PC7 38 PC8 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 JTC...

Page 32: ...0 F C0805_POL C14 Capacitor 33 nF 0805 C17 Capacitor 10 nF 0805 C26 Capacitor 100 nF 0805 Cosc1 Capacitor 18 pF 0805 Cosc2 Capacitor 18 pF 0805 D1 SMD LED Blue LED 0805 D2 SMD LED Green LED 0805 D3 SM...

Page 33: ...10 Resistor 0 0805 R11 Resistor 10 k 0805 R12 Resistor 10 k 0805 R13 Resistor 10 k 0805 R14 Resistor 10 k 0805 R15 Resistor 0 0805 R16 Resistor 0 0805 R17 Resistor 10 k 0805 R18 Resistor 10 k 0805 R19...

Page 34: ...Resistor 22 0805 R39 Resistor 47 k 0805 SW1 SMT SWITCH SW2 SMT SWITCH SW3 SMT SWITCH U1 TS924 TS924 TS924 U2 Component_1 lds3985xx30 SOT23 5 U3 TS924 TS924 TS924 U4 TS922 TS922 SO8_2 U5 USBLC6 2P6 US...

Page 35: ...es 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 Remo...

Page 36: ...ption 13 4 2 2 Digital output accelerometers supported commands 23 4 2 3 Analog output accelerometers supported commands 24 4 2 4 Digital output gyroscopes supported commands 25 4 2 5 Analog output gy...

Page 37: ...ands list 23 Table 7 Analog output accelerometers supported commands list 24 Table 8 Digital output gyroscopes supported commands list 25 Table 9 Analog output gyroscopes supported commands list 26 Ta...

Page 38: ...top view 4 Figure 4 How to connect the DIL24 adapter board to the STEVAL MKI109V2 6 Figure 5 Notification message 7 Figure 6 Virtual COM port assignment 8 Figure 7 eMotion board power supply and USB...

Page 39: ...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 righ...

Reviews: