Data Sheet
MS5837-30BA
Ultra Small Gel Filled Pressure Sensor
SENSOR SOLUTIONS /// MS5837-30BA
10/11/2015
9
I
2
C INTERFACE
COMMANDS
The MS5837-30BA has only five basic commands:
1. Reset
2. Read PROM (112 bit of calibration words)
3. D1 conversion
4. D2 conversion
5. Read ADC result (24 bit pressure / temperature)
Each I
2
C communication message starts with the start condition and it is ended with the stop condition. The
MS5837-30BA address is 1110110x (write: x=0, read: x=1).
Size of each command is 1 byte (8 bits) as described in the table below. After ADC read commands, the device
will return 24 bit result and after the PROM read 16 bit results. The address of the PROM is embedded inside of
the PROM read command using the a2, a1 and a0 bits.
Command byte
hex value
Bit number
0
1
2
3
4
5
6
7
Bit name
PRO
M
CO
NV
-
Typ
Ad2/
Os2
Ad1/
Os1
Ad0/
Os0
Stop
Command
Reset
0
0
0
1
1
1
1
0
0x1E
Convert D1 (OSR=256)
0
1
0
0
0
0
0
0
0x40
Convert D1 (OSR=512)
0
1
0
0
0
0
1
0
0x42
Convert D1 (OSR=1024)
0
1
0
0
0
1
0
0
0x44
Convert D1 (OSR=2048)
0
1
0
0
0
1
1
0
0x46
Convert D1 (OSR=4096)
0
1
0
0
1
0
0
0
0x48
Convert D1 (OSR=8192)
0
1
0
0
1
0
1
0
0x4A
Convert D2 (OSR=256)
0
1
0
1
0
0
0
0
0x50
Convert D2 (OSR=512)
0
1
0
1
0
0
1
0
0x52
Convert D2 (OSR=1024)
0
1
0
1
0
1
0
0
0x54
Convert D2 (OSR=2048)
0
1
0
1
0
1
1
0
0x56
Convert D2 (OSR=4096)
0
1
0
1
1
0
0
0
0x58
Convert D2 (OSR=8192)
0
1
0
1
1
0
1
0
0x5A
ADC Read
0
0
0
0
0
0
0
0
0x00
PROM Read
1
0
1
0
Ad2
Ad1
Ad0
0
0xA0 to
0xAE
Command structure