English
Language : 

LPS001WP Datasheet, PDF (15/30 Pages) STMicroelectronics – MEMS pressure sensor 300-1100 mbar absolute digital output barometer
LPS001WP
Digital interfaces
Table 11. Transfer when master is writing multiple bytes to slave
Master ST SAD + W
SUB
DATA
DATA
SP
Slave
SAK
SAK
SAK
SAK
Table 12. Transfer when master is receiving (reading) one byte of data from slave
Master ST SAD + W
SUB
SR SAD + R
NMAK SP
Slave
SAK
SAK
SAK DATA
Table 13. Transfer when master is receiving (reading) multiple bytes of data from slave
Master ST SAD+W
SUB
SR SAD+R
MAK
MAK
NMAK SP
) Slave
SAK
SAK
SAK DATA
DATA
DATA
uct(s Data are transmitted in byte format (DATA). Each data transfer contains 8 bits. The number
d of bytes transferred per transfer is unlimited. Data is transferred with the Most Significant bit
ro (MSb) first. If a receiver can’t receive another complete byte of data until it has performed
P some other function, it can hold the clock line, SCL LOW, to force the transmitter into a wait
state. Data transfer only continues when the receiver is ready for another byte and releases
te the data line. If a slave receiver doesn’t acknowledge the slave address (i.e. it is not able to
le receive because it is performing some real-time function) the data line must be left HIGH by
o the slave. The master can then abort the transfer. A LOW to HIGH transition on the SDA line
bs while the SCL line is HIGH is defined as a STOP condition. Each data transfer must be
terminated by the generation of a STOP (SP) condition.
- O In order to read multiple bytes incrementing the register address, it is necessary to assert
) the most significant bit of the sub-address field. In other words, SUB(7) must be equal to 1
t(s while SUB(6-0) represents the address of the first register to read.
uc In the presented communication format MAK is master acknowledge and NMAK is no
d master acknowledge.
te Pro 6.2
SPI bus interface
leThe LPS001WP SPI is a bus slave. The SPI allows to write and read the registers of the
o device.
Obs The serial interface interacts with the outside world with 4 wires: CS, SPC, SDI and SDO.
Doc ID 18171 Rev 1
15/30