English
Language : 

LSM303D Datasheet, PDF (27/52 Pages) STMicroelectronics – Embedded temperature sensor
LSM303D
Digital interfaces
Figure 11. 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).
A multiple read command is also available in 3-wire mode.
DocID023312 Rev 2
27/52
52