English
Language : 

DS-0355 Datasheet, PDF (8/16 Pages) All Sensors Corporation – DLH Series Low Voltage Digital Pressure Sensors
SPI Interface
SPI Command Sequence
As with the I2C interface configuration, the part enters Idle state after power-up, and waits for a command from the SPI master.
To start a measurement cycle, one of the 3- byte Measurement Commands (see Table 1) must be issued by the master.
The data returned by the sensor during this command request consists of the Status Byte followed by two undefined data bytes.
On successful decode of the command, the EOC pin is set Low as the core goes into Active state for measurement and calcula-
tion. When complete, updated sensor data is written to the output registers, and the core goes back to the Idle state. The EOC
pin is set to a High level at this point, and the Busy status bit is set to 0. At any point during the Active or Idle periods, the SPI
master can request the Status Byte by sending a Status Read command (a single byte with value 0xF0).
As with the I2C configuration, a Busy bit of value 0 in the Status Byte or a high level on the EOC pin indicates that a valid data
set may be read from the sensor. The Data Read command must be sent from the SPI master (The first byte of value 0xF0 fol-
lowed by 6 bytes of 0x00).
NOTE: Sending command data that is not defined in this document may cause unexpected device behavior.
SPI Bus Communications Overview
The sequence of bits and bus signals are shown in the following illustration (Figure 4). Refer to Figure 5 in the Interface
Timing Diagram section for detailed timing data.
Figure 4 - SPI Communications Diagram
Measurement Command
SCLK
---
MOSI XXXX
First Command Byte (0xAA / 0xAC / 0xAD / 0xAE / 0xAF)
C23
C22
C21
C20
C19
C18
C17
C16
Lower Command Bytes (0x00 0x00)
C 15
---
C1
C0
XXXX
MISO HI-Z
S7
S6
S5
S4
S3
S2
S1
S0
XX
---
XX
XX HI-Z
S7 … S0 (Status)
(Undefined Data)
SS
---
Read Status Command
SCLK
Command (0xF0)
MOSI Don't Care 1
1
1
1
0
0
0
0 Don't care
MISO Hi-Z
SS
S7
S6
S5
S4
S3
S2
S1
S0
S7 … S0 (Status)
Hi-Z
Data Read Command
SCLK
---
---
MOSI
Command (0xF0 then 6 bytes of 0x00)
Don't Care 1 1 1 1 0 0 0 0 0 0 - - - 0 0 0 0 - - - 0 0 Don't Care
MISO
SS
Hi-Z
S7 S6 S5 S4 S3 S2 S1 S0 P23 P22 - - - P1 P0 T23 T22 - - - T1 T0
S7 … S0 (Status)
P23…P0 (Pressure)
T23…T0 (Temperature)
Hi-Z
---
---
DLH Series Low Voltage Digital Pressure Sensors
Page 8