lis3l02ds STMicroelectronics, lis3l02ds Datasheet - Page 10

no-image

lis3l02ds

Manufacturer Part Number
lis3l02ds
Description
Three Axis 2g-6g Linear Accelerometer
Manufacturer
STMicroelectronics
Datasheet
LIS3L02DS
2.2.2 SPI Read
Figure 3. SPI Read protocol
The SPI Read command consists is performed with 16 clocks pulses:
2.2.3 SPI Write
Figure 4. SPI Write protocol
The SPI Write command consists is performed with 16 clocks pulses.
2.2.4 SPI Read in 3-wires mode
3-wires mode is entered by setting to 1 bit SIM (SPI Serial Interface Mode selection) in A_IF_CTRL2.
Figure 5. SPI Read protocol in 3-wires model
The SPI Read command consists is performed with 16 clocks pulses:
10/18
– bit 0: READ bit. The value is 1.
– bit 1-7: address AD(6: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).
– bit 0: WRITE bit. The value is 0.
– bit 1-7: address AD(3: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 0: READ bit. The value is 1.
– bit 1-7: address AD(6: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).
SPDI/O
SPDI
SPC
SPC
CS
SPDO
CS
SPDI
SPC
CS
RW
RW
RW
AD6 AD5 AD4 AD3 AD2 AD1 AD0
AD6 AD5 AD4 AD3 AD2 AD1 AD0
AD6 AD5 AD4 AD3 AD2 AD1 AD0
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
DI7
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
DI6
DI5
DI4
DI3
DI2
DI1
DI0

Related parts for lis3l02ds