STEVAL-MKI024V1 STMicroelectronics, STEVAL-MKI024V1 Datasheet - Page 30
![DEMO BOARD BASED ON LIS331DL](/photos/9/18/91862/steval-mki024v1_sml.jpg)
STEVAL-MKI024V1
Manufacturer Part Number
STEVAL-MKI024V1
Description
DEMO BOARD BASED ON LIS331DL
Manufacturer
STMicroelectronics
Series
MEMSr
Datasheets
1.STEVAL-MKI024V1.pdf
(42 pages)
2.STEVAL-MKI024V1.pdf
(39 pages)
3.STEVAL-MKI024V1.pdf
(4 pages)
Specifications of STEVAL-MKI024V1
Design Resources
STEVAL-MKI024V1 Gerber Files STEVAL-MKI024V1 Schematics STEVAL-MKI024V1 Bill of Materials
Sensor Type
Accelerometer, 3 Axis
Sensing Range
±2.3g, 9.2g
Interface
SPI, USB
Sensitivity
72mg/digit
Voltage - Supply
5V, USB
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
LIS331DL
Acceleration
2 g, 8 g
Sensing Axis
Triple Axis
Output Type
Digital
Interface Type
USB
Silicon Manufacturer
ST Micro
Silicon Core Number
LIS331DL
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-8719
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
STEVAL-MKI024V1
Manufacturer:
STMicroelectronics
Quantity:
135
Supported commands
7.2.5
7.2.6
7.2.7
7.2.8
7.2.9
30/39
Once the read command is issued, the board returns RAAhDDh, where AA is the address
sent by the user and DD is the data present in the register.
For example, to read the CTRL_REG1 the user would issue the command *r20, which
returns R20hC7h.
Register write
The *wAADD command permits writing to the contents of the LIS331DL device registers in
the demonstration kit board. AA and DD, expressed as hexadecimal values and written
upper-case, represent respectively the address of the register and the data to be written. To
write 0x47 to the CTRL_REG1, for example, the user would issue the command *w2047.
Single bit write
Using this command it is possible to set/reset a single bit in a given register. The command
*bwAA<0:7><0|1> requires the user to specify the address AA of the register in which to
change the bit, with AA expressed as a hexadecimal value and written in lower-case,
followed by the position of the bit to be changed, an integer between 0 and 7, and the value,
either 0 or 1, to be associated to the specified bit.
For example, to set the FS bit to 1 within the CTRL_REG2, the user would issue the
command *bw2171.
Zon and Zoff
The *Zon and *Zoff commands are employed respectively to put into 3-state (i.e. high-
impedance) and to exit (i.e. normal mode) the SPI lines of the ST7-USB microcontroller
mounted on the demonstration kit. These commands allow the isolation of the sensor from
the microprocessor in the event that an external control (from a different microcontroller
mounted on a separate board) is needed.
By default, when the kit is first turned on, the SPI lines are in 3-state mode and the user is
required to send the command *Zoff to allow communication between the sensor and the
microcontroller.
Device name
The *dev command retrieves the name of the device mounted on the demonstration kit
connected to the PC. For the STEVAL-MKI024V1, the returned value is “LIS331DL”.
Firmware version
The *ver command queries the demonstration kit and returns the version of the firmware
loaded in the microprocessor.
UM0692