LIS302DL_08 STMICROELECTRONICS [STMicroelectronics], LIS302DL_08 Datasheet - Page 23

no-image

LIS302DL_08

Manufacturer Part Number
LIS302DL_08
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
LIS302DL
5.2.3
The SPI Write command is performed with 16 clock pulses. Multiple byte write command is
performed adding blocks of 8 clock pulses at the previous one.
bit 0: WRITE bit. The value is 0.
bit 1: MS bit. When 0 do not increment address, when 1 increment address in multiple
writing.
bit 2 -7: address AD(5:0). This is the address field of the indexed register.
bit 8-15: data DI(7:0) (write mode). This is the data that will be written inside the device
(MSb first).
bit 16-... : data DI(...-8). Further data in multiple byte writing.
Figure 10. Multiple bytes SPI Write protocol (2 bytes example)
SPI Read in 3-wires mode
3-wires mode is entered by setting to 1 bit SIM (SPI Serial Interface Mode selection) in
CTRL_REG2.
Figure 11. SPI Read protocol in 3-wires mode
The SPI Read command is performed with 16 clock pulses:
bit 0: READ bit. The value is 1.
bit 1: MS bit. When 0 do not increment address, when 1 increment address in multiple
reading.
bit 2-7: address AD(5:0). This is the address field of the indexed register.
bit 8-15: data DO(7:0) (read mode). This is the data that will be read from the device (MSb
first).
Multiple read command is also available in 3-wires mode.
SPC
SDI
CS
SDI/O
SPC
CS
RW
MS
AD5 AD4 AD3 AD2 AD1 AD0
RW
MS
AD5 AD4 AD3 AD2 AD1 AD0
DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0 DI15 DI14 DI13 DI12 DI11 DI10 DI9 DI8
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
Digital interfaces
23/42

Related parts for LIS302DL_08