English
Language : 

LPS001WP Datasheet, PDF (17/30 Pages) STMicroelectronics – MEMS pressure sensor 300-1100 mbar absolute digital output barometer
LPS001WP
Digital interfaces
6.2.1 SPI read
Figure 5. SPI read protocol
CS
SPC
SDI
SDO
RW
MS AD5 AD4 AD3 AD2 AD1 AD0
DO7DO6 D O5 DO4DO3 D O2 DO1DO0
The SPI read command is performed with 16 clock pulses. The multiple byte read command
) is performed adding blocks of 8 clock pulses at the previous one.
uct(s bit 0: READ bit. The value is 1.
rod bit 1: MS bit. When 0, do not increment the address, when 1, increment the address in
multiple readings.
te P bit 2-7: address AD(5:0). This is the address field of the indexed register.
le bit 8-15: data DO(7:0) (read mode). This is the data that is read from the device (MSb first).
so bit 16-... : data DO(...-8). Further data in multiple byte readings.
Ob Figure 6. Multiple bytes SPI read protocol (2 bytes example)
t(s) - CS
c SPC
du SDI
lete Pro SDO
RW
MS AD5 AD4 AD 3 AD 2 AD1 AD0
DO7 DO6DO5 DO4 D O3 DO2 DO1 DO0 D O1 5DO14DO13D O1 2DO11DO10DO9 D O8
Obso 6.2.2 SPI write
Figure 7. SPI write protocol
CS
SPC
SDI
RW
D I7 D I6 D I5 DI 4 DI 3 DI 2 DI 1 DI0
MS AD5 AD4 AD3 AD2 AD 1 AD0
Doc ID 18171 Rev 1
17/30