How to use BMP388 with STM32

Hi,

I have a flight control board that I developed with the STM32 platform. I chose BMP388 as the barometer sensor on this board and I am trying to communicate using the I2C interface.

I reviewed the API Bosch shared for the BMP3xx series. At first I didn't quite understand, especially the coines.h part. However, I realized later that I have to write the communication of BMP388 using I2C, myself.

What should I pay attention to or what steps should I follow while doing this? This will be my first time using Bosch's APIs, so I have no experience.

I would be very happy if you could help, thank you.

  • Sensor: BMP388
  • Interface: I2C
  • MCU I'm using: STM32G431RB

For STM32 side, I'm using CubeIDE and coding on C.

3 replies