Issues Modifying the ODR of the BMP390 Sensor on Nicla Sense ME

Hello everyone,

I’m working with the Nicla Sense ME, and I’m having trouble modifying the BMP390 sensor’s ODR (Output Data Rate). I would like to change the ODR, but I’m unable to do so.

With the accelerometer and gyroscope, I can set the rate and latency using the begin(rate, latency) function, but there doesn’t seem to be a similar method for the BMP390.

I’ve searched the documentation, but I couldn’t find any useful information on how to change the ODR for the BMP390. Has anyone had experience with this sensor or knows how I can proceed to modify its ODR?

Any help or suggestions would be greatly appreciated!

Thanks in advance!

Which library do you use? Or did you write code yourself?

has a function bool setOutputDataRate(uint8_t odr);

I'm using the Arduino_BHY2 library.

From GITHUB

The Bosch BHY2 Sensor Library provides an interface with the Bosch BHY2-Sensor-API for communicating with the BHI260AP and a custom library for the BME688 sensors of the Nicla Sense ME.

It does not mention the BMP390...

Give the Adafruit library a try?