STEVAL-IFS002V2 STMicroelectronics, STEVAL-IFS002V2 Datasheet - Page 24

BOARD EVAL BASED ON LIS3LV02DL

STEVAL-IFS002V2

Manufacturer Part Number
STEVAL-IFS002V2
Description
BOARD EVAL BASED ON LIS3LV02DL
Manufacturer
STMicroelectronics
Series
MEMSr
Datasheets

Specifications of STEVAL-IFS002V2

Sensor Type
Accelerometer, 3 Axis
Sensing Range
±2g, 8g
Interface
Analog and Digital
Embedded
No
Utilized Ic / Part
LIS302ALB, LIS302DL
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Voltage - Supply
-
Sensitivity
-
Other names
497-8261
Digital interfaces
5.2
24/48
Data are transmitted in byte format (DATA). Each data transfer contains 8 bits. The number
of bytes transferred per transfer is unlimited. DATA is transferred with the Most Significant bit
(MSb) first. If a receiver can’t receive another complete byte of data until it has performed
some other function, it can hold the clock line, SCL LOW to force the transmitter into a wait
state. Data transfer only continues when the receiver is ready for another byte and releases
the data line. If a slave receiver doesn’t acknowledge the slave address (i.e. it is not able to
receive because it is performing some real time function) the data line must be left HIGH by
the slave. The Master can then abort the transfer. A LOW to HIGH transition on the SDA line
while the SCL line is HIGH is defined as a STOP condition. Each data transfer must be
terminated by the generation of a STOP (SP) condition.
In order to read multiple bytes, it is necessary to assert the most significant bit of the sub-
address field. In other words, SUB(7) must be equal to ‘1’ while SUB(6-0) represents the
address of first register to read.
In the presented communication format MAK is Master Acknowledge and NMAK is No
Master Acknowledge.
SPI bus interface
The LIS3LV02DL SPI is a bus slave. The SPI allows to write and read the registers of the
device.
The serial interface interacts with the outside world with 4 wires: CS, SPC, SDI and SDO.
Figure 6.
CS is the Serial Port Enable and it is controlled by the SPI master. It goes low at the start of
the transmission and goes back high at the end.
SPC is the Serial Port Clock and it is controlled by the SPI master. It is stopped high when
CS is high (no transmission).
SDI and SDO are respectively the Serial Port Data Input and Output. Those lines are driven
at the falling edge of SPC and should be captured at the rising edge of SPC.
Both the Read Register and Write Register commands are completed in 16 clock pulses or
in multiple of 8 in case of multiple byte read/write. Bit duration is the time between two falling
edges of SPC. The first bit (bit 0) starts at the first falling edge of SPC after the falling edge
of CS while the last bit (bit 15, bit 23, ...) starts at the last falling edge of SPC just before the
rising edge of CS.
SDO
SPC
SDI
CS
Read and write protocol
RW
MS
AD5 AD4 AD3 AD2 AD1 AD0
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0
LIS3LV02DL

Related parts for STEVAL-IFS002V2