English
Language : 

LSM9DS1 Datasheet, PDF (35/72 Pages) –
LSM9DS1
Digital interfaces
5.3.1
SPI read
&6B0
&6
63&
6',
6'62'B20
Figure 23. Magnetic sensor SPI read protocol
5:
06 $' $' $' $' $' $'
'2 '2 '2 '2 '2 '2 '2 '2
The SPI read command is performed with 16 clock pulses. A multiple byte read command is
performed by adding blocks of 8 clock pulses to the previous one.
bit 0: READ bit. The value is 1.
bit 1: MS bit. When 0, does not increment the address; when 1, increments the address in
multiple reads.
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).
bit 16-... : data DO(...-8). Further data in multiple byte reads.
Figure 24. Multiple byte SPI read protocol (2-byte example)
CCSS_M
SP C
SDI
RW
SDO_M
M S A D5 A D4 AD 3 A D2 A D1 A D0
SD O
DO 7 DO 6 DO 5 DO 4 DO 3 DO 2 DO 1 DO 0
DO 15DO 14DO 13 DO 12DO 11DO 10D O9 D O8
DocID025715 Rev 3
35/72
72