STEVAL-MKI030V1 STMicroelectronics, STEVAL-MKI030V1 Datasheet - Page 21
![BOARD DEMO STM8S207R6/LIS331DLH](/photos/9/18/91848/steval-mki030v1_sml.jpg)
STEVAL-MKI030V1
Manufacturer Part Number
STEVAL-MKI030V1
Description
BOARD DEMO STM8S207R6/LIS331DLH
Manufacturer
STMicroelectronics
Series
MEMSr
Datasheets
1.STEVAL-MKI009V1.pdf
(42 pages)
2.STEVAL-MKI022V1.pdf
(38 pages)
3.STEVAL-MKI030V1.pdf
(105 pages)
4.STEVAL-MKI030V1.pdf
(4 pages)
Specifications of STEVAL-MKI030V1
Design Resources
STEVAL-MKI030V1 Schematic
Sensor Type
Accelerometer, 3 Axis
Sensing Range
±2g, 4g, 8g
Interface
I²C, SCI
Sensitivity
3.9mg/digit, 2mg/digit, 1mg/digit
Voltage - Supply
4.5V
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
LIS331DLH, STM8S207R6T6
Sensing Axis
Triple Axis
Operating Voltage
5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-8852
UM0701
7.2
Table 12.
MEMS_ANL_Setup
MEMS_ANL_Drive_FS
MEMS_ANL_Drive_PD
MEMS_ANL_ADC_Restart
MEMS_ANL_Get_Axis
MEMS_DIG_Setup_Int1
MEMS_DIG_Setup_Int2
MEMS_SPI_Setup
Function name
stm32_mems.h
This file provides constants containing the I
value related to several digital MEMS sensors (LIS302DL, LIS3LV02DL). It also defines
a type used to store data from the axis of a MEMS accelerometer.
stm32_mems_adapter.h
This file provides constants for configuration and utilization of STM32 peripherals related to
the MEMS sensor attached to the STM32-MEMS demonstration board. The constants
correspond to pins and peripherals of the STM32 microcontroller connected to the MEMS
sensor.
There are three sets of constants. Each set contains the same constants but for different
STM32 demonstration boards. To choose a particular set, one of the three #define
statements at the beginning of the file must be uncommented. The #define statements
are:
#define STM3210B_EVAL
#define STM3210E_EVAL
#define STM3210B_SK_IAR
For example, the correct definition to choose a set of constants for the ST STM3210B-EVAL
demonstration board is:
#define STM3210B_EVAL
// #define STM3210E_EVAL
// #define STM3210B_SK_IAR
stm32_mems_adapter.c
This file provides functions for configuration and utilization of STM32 peripherals related to
the MEMS sensor attached to the STM32-MEMS demonstration board.
MEMS Library functions reference
Table 12
MEMS Library functions
lists the MEMS Library functions.
Sets-up all peripherals related to the analog MEMS.
Drives the FS pin of the analog MEMS.
Drives the PD pin of the analog MEMS.
Restarts the ADC and DMA.
Gets values of all MEMS axes.
Enables or disables EXTI for the Int1 interrupt signal.
Enables or disables EXTI for the Int2 interrupt signal.
Sets-up all peripherals related to the digital MEMS connected over the SPI.
Doc ID 15703 Rev 1
2
C address, register addresses and who_am_i
Description
STM32-MEMS development kit
21/42