STEVAL-MKI064V1 STMicroelectronics, STEVAL-MKI064V1 Datasheet - Page 30
![BOARD ADAPTER LSM303DLH DIL24](/photos/37/60/376030/image_steval-mki064v1_sml.jpg)
STEVAL-MKI064V1
Manufacturer Part Number
STEVAL-MKI064V1
Description
BOARD ADAPTER LSM303DLH DIL24
Manufacturer
STMicroelectronics
Series
MEMSr
Datasheets
1.STEVAL-MKI009V1.pdf
(42 pages)
2.STEVAL-MKI063V1.pdf
(47 pages)
3.STEVAL-MKI064V1.pdf
(4 pages)
Specifications of STEVAL-MKI064V1
Sensor Type
Accelerometer and Magnetometer
Sensing Range
±2g, 4g, 8g, ±1.3 ~ 8.1 gauss
Interface
I²C
Sensitivity
1 ~ 3.9 mg/Digit, ±0.01%/°C
Embedded
No
Utilized Ic / Part
LSM303DLH
Sensing Axis
Double Axis
Output Type
Digital
Interface Type
USB
For Use With
497-10682 - MOTEHRBOARD MEMS ADAPTER STM32
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Voltage - Supply
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With/related Products
LPR5xxxAL, LPY5xxxAL, LY5xxxAL
Other names
497-10689
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