Data Sheet
MS5837-02BA
Ultra Small Gel Filled Pressure & Temperature Sensor, with Stainless Steel Cap
TE CONNECTIVITY SENSORS /// MS5837-02BA 09/2017
Page 11
CONVERSION SEQUENCE
The conversion command is used to initiate uncompensated pressure (D1) or uncompensated temperature (D2)
conversion. After the conversion, using ADC read command the result is clocked out with the MSB first. If the
conversion is not executed before the ADC read command, or the ADC read command is repeated, it will give 0 as
the output result. If the ADC read command is sent during conversion the result will be 0, the conversion will not
stop and the final result will be wrong. Conversion sequence sent during the already started conversion process will
yield incorrect result as well. A conversion can be started by sending the command to MS5837. When command is
sent to the system it stays busy until conversion is done. When conversion is finished the data can be accessed by
sending a Read command, when an acknowledge is sent from the MS5837, 24 SCL cycles may be sent to receive
all result bits. Every 8 bits the system waits for an acknowledge signal.
I
2
C command to initiate a pressure conversion (OSR=4096, typ=D1)
I
2
C ADC read sequence
I
2
C answer from MS5837
1 1 1 0 1 1 0 0 0 0 1 0 0 1 0 0 0 0
S W A A P
From Master
S = Start Condition
W = Write A = Acknowledge
From Slave P = Stop Condition R = Read
N = Not Acknowledge
cmd byte
Device Address
Device Address
command
1 1 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0
S W A A P
From Master
S = Start Condition
W = Write A = Acknowledge
From Slave P = Stop Condition R = Read
N = Not Acknowledge
Device Address
Device Address
cmd byte
command
1
1
1
0
1
1
0
1
0
X
X
X
X
X
X
X
X
0
X
X
X
X
X
X
X
X
0
X
X
X
X
X
X
X
X
0
S
R
A
A
A
N
P
From Master
S = Start Condition
W = Write
A = Acknowledge
From Slave
P = Stop Condition
R = Read
N = Not Acknowledge
Data 7 - 0
Data 15 - 8
Device Address
Device Address
data
data
Data 23-16
data