Datasheet

MS5837-30BA
Ultra-small, gel-filled pressure sensor with stainless steel cap
TE CONNECTIVITY SENSORS /// MS5837-30BA REV C2 12/2019
Page 7
COMMANDS
The MS5837-30BA has only five basic commands:
1. Reset
2. Read PROM (128 bit of calibration words)
3. D1 conversion
4. D2 conversion
5. Read ADC result (24 bit pressure / temperature)
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 16bit result. 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
PR
M
COV
-
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 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
ADC Read
0
0
0
0
0
0
0
0
0x00
PROM Read
1
0
1
0
Ad2
Ad1
Ad0
0
0xA0 to
0xAC
Figure 1: Command Structure