MS5561C Micro Altimeter
DA5561C_004 www.meas-spec.com May 21, 2012
0005561C1126 ECN1405 13/20
SERIAL INTERFACE
The MS5561C communicates with microprocessors and other digital systems via a 3-wire synchronous serial
interface as shown in Fig. 1. The SCLK (Serial clock) signal initiates the communication and synchronizes the
data trans fer with each bit bei ng sampled b y the MS5561C on the r ising edge of SCL K and each bit bein g sent
by the MS5561C on the rising edge of SCLK. The data should thus be sampled by the microcontroller on the
falling edg e of SCLK and s ent to the MS5561C with th e fallin g edge of SCL K. The SCLK -signal is gen erate d b y
the microprocessor’s system. The digital data provided by the MS5561C on the DOUT pin is either the
conversion result or the software calibration data. In addition, the signal DOUT (Data out) is also used to
indicate t he conversi on status (conversion-r eady signa l, see belo w). The selec tion of the output dat a is do ne b y
sending the corresponding instruction on the pin DIN (Data input).
Following is a list of possible output data instructions:
• Conversion start for pressure measurement and ADC-data-out “D1” (Figure 6a)
• Conversion start for temperature measurement and ADC-data-out “D2” (Figure 6b)
• Calibration data read-out sequence for Word1 (Figure 6c)
• Calibration data read-out sequence for Word2 (Figure 6d)
• Calibration data read-out sequence for Word3 (Figure 6c)
• Calibration data read-out sequence for Word4 (Figure 6d)
• RESET sequence (Figure 6e)
Every communication starts with an instruction sequence at pin DIN. Fig. 6 shows the timing diagrams for the
MS5561C. The device does not need a ‘Chip select’ signal. Instead there is a START sequence (3-Bit high)
before each SETUP sequence and STOP sequence (3-Bit low) after each SETUP sequence. The SETUP
sequence consists in 4-Bit that select a reading of pressure, temperature or calibration data. In case of
pressure- (D1) or temperat ure- (D2) r ead ing t h e module ack no wledges t he s t art o f a conversi on by a low t o h igh
transition at pin DOUT.
Two additional clocks at SCLK are required after the acknowledge signal. Then SCLK is to be held low by the
microcontroller until a high to low transition on DOUT indicates the end of the conversion.
This signal can be used to create an interrupt in the microcontroller. T he microcontroller may now read out the
16 bit word b y giving a not h er 17 cloc ks on the SLCK pin. It is poss ib le to i nterr up t the dat a R EADOUT s equence
with a hol d of the SCLK s ignal. It is important to always read out the last conversion result before starting
a new conversion.
The RESET sequence is special as the module in any state recognizes its unique pattern. By consequence, it
can be used to restart if synchronization between the microcontroller and the MS5561C has been lost. This
sequence is 21-bit long. T he DOUT signal m ight change duri ng that seq uence (s ee Fig. 6e). It is rec ommended
to send the RESET sequence before each CONVERSION sequence to avoid hanging up the protocol
permanently in case of electrical interference.
sequence: START+P-measurement
SCLKDOUTDIN
Bit7
Conversion start for pressure measurement and ADC-data-out "D1":
end of co nve rsion
Bit6Bit5Bit4Bit3Bit2Bit1Bit0
conversion
(33ms)
DB7
ADC-data ou t MSB ADC-data o u t LSB
Bit8 Bit9
Start-bit Stop-bit
DB6 DB5 DB4 DB3 DB2 DB1 DB0 DB7 DB6 DB5 DB4 DB3 DB2 DB1 DB0
start of conversion
Setup-bits
Fig. 6a: D1 ACQUISITION sequence