07-08-2024 05:36 PM
I looked at the BMP280 datasheet. I couldn't find the bit settings corresponding to the filter settings in the config register.
I'm guessing 000 for OFF, 001 for 2, 010 for 4, 011 for 8; 100, 101, 110, 111 for 16.
Anybody know for sure?
Thanks.
07-08-2024 08:10 PM
Hi,
Thanks for your inquiry.
BMP280 pressure sensor and temperature sensor oversampling is as shown below in register 0xF4.
For example, BMP280 pressure sensor oversampling setting is bit 4, 3, 2 in register 0xF4.
If these three bits are 0b000, then it means the pressure sensor is skipped without any measurement.
If these three bits are 0b001, then it means the pressure sensor makes one single measurement and puts the measurement in the data registers.
If these three bits are 0b010, then it means the pressure sensor makes two measurements, averages them and puts the averaged value in the data registers.
If these three bits are 0b011, then it means the pressure sensor makes four measurements, averages them and puts the averaged value in the data registers.
So on and so on. The higher the oversampling value, the cleaner the data will be and of course the higher the current consumption as the trade-off.
Thanks.
07-08-2024 08:34 PM
07-09-2024 12:31 AM
Hi,
Regarding bit 4, 3, 2 settings of filter[2:0] config register 0xF5, your understanding is correct, which is,
000 for OFF, 001 for 2, 010 for 4, 011 for 8; 100, 101, 110, 111 for 16.
Thanks.