English
Language : 

LSM6DS3 Datasheet, PDF (38/100 Pages) STMicroelectronics – always-on 3D accelerometer and 3D gyroscope
Digital interfaces
&6
63&
6',
6'2
LSM6DS3
Figure 10. Multiple byte SPI read protocol (2-byte example)
5:
$' $' $' $' $' $' $'
'2 '2 '2 '2 '2 '2 '2 '2 '2' 2' 2' 2' 2' 2' 2 '2
6.2.2
SPI write
&6
63&
6',
Figure 11. SPI write protocol
5:
', ', ', ', ', ', ', ',
$' $' $' $' $' $' $'
The SPI Write command is performed with 16 clock pulses. A multiple byte write command
is performed by adding blocks of 8 clock pulses to the previous one.
bit 0: WRITE bit. The value is 0.
bit 1 -7: address AD(6:0). This is the address field of the indexed register.
bit 8-15: data DI(7:0) (write mode). This is the data that is written inside the device (MSb
first).
bit 16-... : data DI(...-8). Further data in multiple byte writes.
Figure 12. Multiple byte SPI write protocol (2-byte example)
&6
63&
6',
', ', ', ', ', ', ', ', ',',',',',',', ',
5:
$' $' $' $' $' $' $'
38/100
DocID026899 Rev 8