02-25-2019 12:03 PM
Hi, we testing API:
https://github.com/BoschSensortec/BME680_driver
I think your file is buggy: https://github.com/BoschSensortec/BME680_driver/blob/master/bme680_defs.h
Could you verify lines 294-297:
#define BME680_P9_LSB_REG (21) //line 291 first LSB seams to be standard for the chip
#define BME680_P9_MSB_REG (22) // than MSB seams to be standard for the chip
#define BME680_P10_REG (23)
#define BME680_H2_MSB_REG (25) //!!!! FIRST MSB (oposite from your standard)
#define BME680_H2_LSB_REG (26) //!!!! than LSB (oposite from your standard)
#define BME680_H1_LSB_REG (26) //!!!! index 26 was taken second time (for both BME680_H2_LSB_REG & BME680_H1_LSB_REG )
#define BME680_H1_MSB_REG (27)
#define BME680_H3_REG (28)
#define BME680_H4_REG (29)
IS THIS OK???????
regards,
Rob
Solved! Go to Solution.
02-25-2019 03:59 PM
Hi,
This is not a bug. Both registers H1 and H2 are stored as 12bits each. The lower nibbles of both are stored in a single register with offset 26.
Regards,
kgoveas