LIS302DL_08 STMICROELECTRONICS [STMicroelectronics], LIS302DL_08 Datasheet - Page 20

no-image

LIS302DL_08

Manufacturer Part Number
LIS302DL_08
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
Digital interfaces
5.2
20/42
Table 13.
Table 14.
Table 15.
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 LIS302DL 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.
Master
Master
Slave
Slave
Master
Slave
ST
ST
Transfer when Master is receiving (reading) one byte of data from slave
ransfer when master is receiving (reading)
Multiple bytes of data from slave
SAD + W
SAD + W
DATA
SAK
SAK
SUB
SUB
MAK
SAK
SAK
SR
SR
SAD + R
DATA
SAD + R
SAK
SAK
NMAK
DATA
DATA
NMAK
LIS302DL
SP
MAK
SP

Related parts for LIS302DL_08