Barometer & Pressure

# Bosch Sensortec BMP390 in the datasheet corpus

±3 Pa relative-accuracy drone and wearable barometric pressure sensor with 512-byte FIFO.

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

Vendor Bosch Sensortec Barometer & Pressure

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

Record Status Catalog profile Datasheet / behavioral twin

## Driver oracle & capability record

Indexed in the CircuitTwin datasheet corpus; shares the Bosch BMP3 Sensor API family with our verified BMP388 twin.

| Driver reference  | Bosch BMP3\_SensorAPI                                                                                                                           |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| 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                                       |
| --------------- | ---------------- | ---------------- | --------------------------------------------- |
| 0x00            | CHIP\_ID         | 0x60             | Bosch BMP390 chip identifier (0x50 on BMP388) |
| 0x1B            | PWR\_CTRL        | 0x00             | Pressure enable, temp enable and power mode   |
| 0x31-0x45       | NVM\_PAR\_\*     | 21-byte trim     | Factory compensation coefficients             |
| 0x04-0x09       | DATA\_0..DATA\_5 | 24-bit LE        | Raw pressure and temperature words            |

## Attach with ct CLI

Shell - run firmware with BMP390

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

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

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

tests/bmp390-fault.suite.yaml

```
version: 1
board: nucleo-h743zi2
firmware: build/app.elf
tests:
  - name: bmp390-i2c-nack-recovery
    faults:
      - at_ms: 30
        bus: I2C1
        kind: nack
        address: 0x77
        count: 2
      - at_ms: 140
        part: bmp390
        kind: register_override
        register: 0x00
        value: 0xFF
    expect:
      console_contains: "DRIVER_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: nrf52840-dk](https://circuittwin.ai/boards/nrf52840-dk) [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) [DPS310 (Infineon)](https://circuittwin.ai/twins/dps310) [LPS22HB (STMicroelectronics)](https://circuittwin.ai/twins/lps22hb) [MS5611 (TE)](https://circuittwin.ai/twins/ms5611)

> ## Inject BMP390 bus faults in CI
>
> Wire BMP390 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)
