Barometer & Pressure

# TE Connectivity MS5611 in the datasheet corpus

24-bit high-resolution flight-controller altimeter (10 cm step) with 128-bit PROM calibration.

standing: provisional SPI / I2C SPI Mode 0/3 (up to 20 MHz); I2C 0x76/0x77

Vendor TE Connectivity Barometer & Pressure

Interface SPI / I2C SPI Mode 0/3 (up to 20 MHz); I2C 0x76/0x77

Record Status Catalog profile Datasheet / behavioral twin

## Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus (MS5611-01BA03); standard barometer for PX4 and ArduPilot flight controllers.

| Driver reference  | PX4 ms5611 / ArduPilot AP\_Baro\_MS5611                                                                                                         |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Evidence standing | provisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples). |
| Published record  | Generate or inspect locally via ct twin generate (see [/docs/twin-generation](https://circuittwin.ai/docs/twin-generation)).                    |

## Key registers & reset values

| Address / Field  | Register                | Reset / Expected | Purpose                                       |
| ---------------- | ----------------------- | ---------------- | --------------------------------------------- |
| 0x1E             | CMD\_RESET              | 2.8 ms reload    | Resets sensor and reloads factory PROM        |
| 0xA0-0xAE        | PROM\_READ\_C0..C7      | 8x16-bit + CRC4  | Six calibration constants C1..C6 plus CRC-4   |
| 0x40-0x48        | CONVERT\_D1             | OSR 256..4096    | Starts 24-bit pressure ADC conversion         |
| 0x50-0x58 / 0x00 | CONVERT\_D2 / ADC\_READ | 24-bit BE        | Temperature conversion and 3-byte ADC readout |

## Attach with ct CLI

Shell - run firmware with MS5611

```
# Run compiled firmware with MS5611 attached on nucleo-h743zi2
ct run --json --board nucleo-h743zi2 --device ms5611 build/app.elf

# Run fault-injection suite and emit JUnit XML
ct test run --json --junit results/ms5611.xml tests/ms5611-fault.suite.yaml
```

## Fault-injection test snippet (suite.yaml)

tests/ms5611-fault.suite.yaml

```
version: 1
board: nucleo-h743zi2
firmware: build/app.elf
tests:
  - name: ms5611-spi-disconnect-and-fault
    faults:
      - at_ms: 40
        part: ms5611
        kind: bus_disconnect
        duration_ms: 25
    expect:
      console_contains: "SPI_FAULT_HANDLED"
      exit_code: 0
```

## Compatible board twins

[Board: nucleo-h743zi2](https://circuittwin.ai/boards/nucleo-h743zi2) [Board: nucleo-f767zi](https://circuittwin.ai/boards/nucleo-f767zi) [Board: stm32f4-discovery](https://circuittwin.ai/boards/stm32f4-discovery) [Accuracy report](https://circuittwin.ai/docs/accuracy)

## More in Barometer & Pressure

[BMP280 (Bosch)](https://circuittwin.ai/twins/bmp280) [BMP388 (Bosch)](https://circuittwin.ai/twins/bmp388) [BMP390 (Bosch)](https://circuittwin.ai/twins/bmp390) [DPS310 (Infineon)](https://circuittwin.ai/twins/dps310) [LPS22HB (STMicroelectronics)](https://circuittwin.ai/twins/lps22hb)

> ## Inject MS5611 bus faults in CI
>
> Wire MS5611 onto your MCU board twin, drive physical stimuli and fail builds when your driver hangs on NACKs or frozen registers.
>
> [Start now](https://app.circuittwin.ai/try) [Inputs & fault injection docs](https://circuittwin.ai/docs/inputs) [Connect a coding agent](https://circuittwin.ai/docs/agents)
