Datasheet

MS5837-30BA
Ultra-small, gel-filled pressure sensor with stainless steel cap
TE CONNECTIVITY SENSORS /// MS5837-30BA REV C2 12/2019
Page 9
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-30BA. 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 acknowledge is sent from the MS5837-30BA, 24 SCL cycles may
be sent to receive all result bits. Every 8 bits the system waits for an acknowledge signal.
Figure 5: I
2
C command to initiate a pressure conversion (OSR=4096, typ=D1)
Figure 6: I
2
C ADC read sequence
Figure 7: I2C answer from MS5837-30BA
Version PROM Word 0 programming
For product type, the bits [11:5] of memory address 0 must be programmed with the following fixed values:
MS5837-30BA26
Address
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
crc
0
0
1
1
0
1
0
factory settings
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