English
Language : 

LPS25H Datasheet, PDF (18/45 Pages) STMicroelectronics – Embedded temperature compensation
Digital interfaces
LPS25H
5.3.1
5.3.2
SPI read
CS
SPC
SDI
SDO
Figure 7. SPI read protocol
RW
MS AD5 AD4 AD3 AD2 AD1 AD0
DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0
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.
bit 0: READ bit. The value is 1.
bit 1: MS bit. When 0 do not increment address, when 1 increment address in multiple
reading.
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).
bit 16-...: data DO(...-8). Further data in multiple byte readings.
Figure 8. Multiple bytes SPI read protocol (2 bytes example)
&6
63&
6',
6'2
B
5: B
06 $'  $' $'   $'  $'  $'
'2  '2   '2 '2  '2 '2   '2  '2 '2 '2 '2 '2 '2 '2 '2  '2
SPI write
Figure 9. SPI write protocol
CS
SPC
SDI
RW
DI7 DI6 DI5 DI4 DI3 DI2 DI1 DI0
MS AD5 AD4 AD3 AD2 AD1 AD0
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.
18/45
DocID023722 Rev 5