STEVAL-MKI004V1 STMicroelectronics, STEVAL-MKI004V1 Datasheet - Page 25
![BOARD EVAL ACCEL DGTL LIS3LV02DQ](/photos/9/18/91860/steval-mki004v1_sml.jpg)
STEVAL-MKI004V1
Manufacturer Part Number
STEVAL-MKI004V1
Description
BOARD EVAL ACCEL DGTL LIS3LV02DQ
Manufacturer
STMicroelectronics
Series
MEMSr
Specifications of STEVAL-MKI004V1
Design Resources
STEVAL-MKI004V1 Gerber Files EK3LV02DQ Schematic EK3LV02DQ Bill of Materials
Sensor Type
Accelerometer, 3 Axis
Sensing Range
±2g, 6g
Interface
SPI, USB
Sensitivity
18 ~ 72 mg/Digit
Voltage - Supply
5V, USB
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
LIS3LV02DQ
Acceleration
2 g, 6 g
Sensing Axis
Triple Axis
Output Type
Digital
Interface Type
USB
Silicon Manufacturer
ST Micro
Silicon Core Number
LIS3LV02DQ
Kit Application Type
Sensing - Motion / Vibration / Shock
Application Sub Type
Accelerometer
Kit Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
497-6249
UM0701
7.2.9
7.2.10
MEMS_SPI_WriteReg function
Table 21
Table 21.
MEMS_SPI_ReadReg function
Table 22
Table 22.
Function prototype
Description
Input parameter1
Input parameter2
Output parameter
Return parameter
Function prototype
Description
Input parameter
Output parameter
Return parameter
Function name
Function name
describes the MEMS_SPI_WriteReg function.
describes the MEMS_SPI_ReadReg function.
MEMS_SPI_WriteReg function
MEMS_SPI_ReadReg function
ErrorStatus MEMS_SPI_WriteReg
(u8 RegAddress, u8 Data)
Writes data to the MEMS register over SPI.
RegAddress: address of register
Data: data to be written
None
An ErrorStatus enumeration value:
– SUCCESS: register written
– ERROR: register not written
ErrorStatus MEMS_SPI_ReadReg
(u8 RegAddress, u8 *Data)
Reads data to the MEMS register over SPI.
RegAddress: address of register
Data: data read
An ErrorStatus enumeration value:
– SUCCESS: register written
– ERROR: register not written
Doc ID 15703 Rev 1
MEMS_SPI_WriteReg
MEMS_SPI_ReadReg
STM32-MEMS development kit
25/42