STEVAL-MKI013V1 STMicroelectronics, STEVAL-MKI013V1 Datasheet - Page 30
![BOARD EVALUATION FOR LIS302DL](/photos/9/18/91850/steval-mki013v1_sml.jpg)
STEVAL-MKI013V1
Manufacturer Part Number
STEVAL-MKI013V1
Description
BOARD EVALUATION FOR LIS302DL
Manufacturer
STMicroelectronics
Series
MEMSr
Specifications of STEVAL-MKI013V1
Design Resources
STEVAL-MKI013V1 Gerber Files LIS302DL Adapter to DIL24 Schematic LIS302DL Adapter to DIL24 Bill of Materials
Sensor Type
Accelerometer, 3 Axis
Sensing Range
±2.3g, 9.2g
Interface
I²C, SPI
Sensitivity
18 ~ 72 mg/Digit
Voltage - Supply
2.16 V ~ 3.6 V
Embedded
No
Utilized Ic / Part
LIS302DL
Sensing Axis
Triple Axis
Output Type
Digital
Tool / Board Applications
Sensing - Navigation, Accelerometer, Magnetic Field
Mcu Supported Families
LIS302DL
Supported Devices
LIS302DL
Rohs Compliant
Yes
Development Tool Type
Hardware - Daughter Card
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-6342
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
STEVAL-MKI013V1
Manufacturer:
STMicroelectronics
Quantity:
135
Company:
Part Number:
STEVAL-MKI013V1
Manufacturer:
STMicroelectronics
Quantity:
1
STM32-MEMS development kit
7.3
30/42
Example of MEMS Library usage: analog MEMS
This section shows an example of a main function to set-up and read data from an analog
MEMS. Do not forget to set-up the defines in the stm32_mems_adapter.h file according to
the STM32 demonstration board used.
/* This main function sets up and reads data from any analog MEMS */
int main (void)
{
MEMS_ANL_Get_Axis(&ADC_DataValue[0],&ADC_DataValue[1],&ADC_DataValu
e[2]);
}
/* Wait 40ms after reset to let the MEMS turn on from power down*/
s16 ADC_DataValue[3];
/* Setup STM32 system clock and other peripherals here */
/* … */
/* Setup all peripherals related to analog MEMS */
MEMS_ANL_Setup();
Delay(40);
/* Restart ADC and DMA */
MEMS_ANL_ADC_Restart();
while (1)
{
}
return 0;
/* Use the data */
/* … */
/* Read all analog MEMS axis */
Doc ID 15703 Rev 1
UM0701