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: provisionalSPI / I2CSPI Mode 0/3 (up to 20 MHz); I2C 0x76/0x77
VendorTE ConnectivityBarometer & Pressure
InterfaceSPI / I2CSPI Mode 0/3 (up to 20 MHz); I2C 0x76/0x77
Record StatusCatalog profileDatasheet / behavioral twin

Driver oracle & capability record

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

Driver referencePX4 ms5611 / ArduPilot AP_Baro_MS5611
Evidence standingprovisional (register and bus behavior derived from vendor datasheet or driver oracle; not yet hardware-unit verified on two physical samples).
Published recordGenerate or inspect locally via ct twin generate (see /docs/twin-generation).

Key registers & reset values

Address / FieldRegisterReset / ExpectedPurpose
0x1ECMD_RESET2.8 ms reloadResets sensor and reloads factory PROM
0xA0-0xAEPROM_READ_C0..C78x16-bit + CRC4Six calibration constants C1..C6 plus CRC-4
0x40-0x48CONVERT_D1OSR 256..4096Starts 24-bit pressure ADC conversion
0x50-0x58 / 0x00CONVERT_D2 / ADC_READ24-bit BETemperature 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

More in Barometer & Pressure