STEVAL-MKI030V1 STMicroelectronics, STEVAL-MKI030V1 Datasheet - Page 26
![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
STM32-MEMS development kit
7.2.11
7.2.12
26/42
MEMS_SPI_SendFrame function
Table 23
Table 23.
MEMS_SPI_ReceiveFrame function
Table 24
Table 24.
Function prototype
Description
Input parameter1
Input parameter2
Input parameter3
Output parameter
Return parameter
Function prototype
Description
Input parameter1
Input parameter2
Output parameter
Return parameter
Function name
Function name
describes the MEMS_SPI_SendFrame function.
describes the MEMS_SPI_ReceiveFrame function.
MEMS_SPI_SendFrame function
MEMS_SPI_ReceiveFrame function
ErrorStatus MEMS_SPI_ReceiveFrame
(u8 RegAddress, u8 *pBuffer, u8 NoOfBytes)
Receives one frame over SPI.
RegAddress: address of source register
NoOfBytes: number of bytes to be received
pBuffer: pointer to output buffer
An ErrorStatus enumeration value:
– SUCCESS: register written
– ERROR: register not written
ErrorStatus MEMS_SPI_SendFrame
(u8 RegAddress, u8 *pBuffer, u8 NoOfBytes)
Sends one frame over SPI.
RegAddress: address of register
pBuffer: pointer to buffer with data
NoOfBytes: number of bytes to be sent
None
An ErrorStatus enumeration value:
– SUCCESS: register written
– ERROR: register not written
Doc ID 15703 Rev 1
MEMS_SPI_ReceiveFrame
MEMS_SPI_SendFrame
UM0701