English
Language : 

LSM303C Datasheet, PDF (29/53 Pages) –
LSM303C
Digital interfaces
6.2.4
Magnetometer SPI read
Figure 14. Magnetometer SPI read protocol in 3-wire mode
CS
SPC
SDI/O
RW
D O7 D O6 D O5 DO4 DO3 DO2 DO1 DO0
MS AD5 AD 4 AD 3 AD2 AD1 AD 0
AM10134V1
The SPI read command is performed with 16 clock pulses:
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 is read from the device (MSb first).
The multiple read command is available in 3-wire mode.
DocID024975 Rev 2
29/53
53