STEVAL-MKI032V1 STMicroelectronics, STEVAL-MKI032V1 Datasheet - Page 21

BOARD DEMO ACCELEROMETER DIL24

STEVAL-MKI032V1

Manufacturer Part Number
STEVAL-MKI032V1
Description
BOARD DEMO ACCELEROMETER DIL24
Manufacturer
STMicroelectronics
Series
MEMSr
Datasheets

Specifications of STEVAL-MKI032V1

Design Resources
STEVAL-MKI032V1 Schematic STEVAL-MKI032V1 Gerber Files STEVAL-MKI032V1 Bill of Materials
Sensor Type
Accelerometer, 3 Axis
Sensing Range
±2.3g, 9.2g
Interface
I²C, SPI
Sensitivity
18 ~ 72 mg/Digit
Embedded
No
Utilized Ic / Part
STM32 and MEMS Demo Boards
Interface Type
SPI, I2C
For Use With
497-6048 - BOARD EVALUATION FOR STM32
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Voltage - Supply
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
497-9047
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

Related parts for STEVAL-MKI032V1