I am integrating a BMP390 sensor (via SPI) in a drone project, in order to be able to determine the altitude of the device.
I have managed to properly initialise the sensor via SPI, but I can't get any temperature, nor pressure measurements. I have enabled both measurements and tried both Forced and Normal modes using the PWR_CTRL register, but the STATUS register never indicates any measurement as being ready.
I have also tried using the bmp3 API but I had no success. The sensor initializes properly, but all measurements return 0.
Please, is it possible to obatin a few tips regarding what might be going on, in order to make the sensor work?
Thank you very much.
I hope you are using our official API as below.
If yes, there is read sensor data example as below.
Have you tried that one?
If you can't read sensor data, it might be error return value in somewhere.
Could you please check it and let me know?