English
Language : 

LPS001WP Datasheet, PDF (18/30 Pages) STMicroelectronics – MEMS pressure sensor 300-1100 mbar absolute digital output barometer
Digital interfaces
LPS001WP
The SPI write command is performed with 16 clock pulses. The multiple byte write
command is performed adding blocks of 8 clock pulses at the previous one.
bit 0: WRITE bit. The value is 0.
bit 1: MS bit. When 0, do not increment the address, when 1, increment the address in
multiple writings.
bit 2 -7: address AD(5: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 writings.
Figure 8. Multiple bytes SPI write protocol (2 bytes example)
t(s) CS
duc SPC
te Pro SDI
DI7 DI 6 DI5 D I4 DI3 DI2 DI1 DI0 D I15DI 14 DI13D I1 2DI11 DI10DI9 DI8
RW
MS AD5 AD4 AD3 AD 2 AD 1AD0
Obsolete Product(s) - Obsole 6.2.3
SPI read in 3-wires mode
3-wires mode is entered by setting to 1 bit SIM (SPI serial interface mode selection) in the
internal control register.
Figure 9. SPI read protocol in 3-wires mode
CS
SPC
SD I/O
RW
DO7 DO6 D O5 DO4 DO3 DO2 DO1 DO0
MS AD5 AD 4 AD 3 AD2 AD1 AD 0
The SPI read command is performed with 16 clock pulses:
bit 0: READ bit. The value is 1.
bit 1: MS bit. When 0, do not increment the address, when 1, increment the address in
multiple readings.
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).
Multiple read command is also available in 3-wires mode.
18/30
Doc ID 18171 Rev 1