09-05-2020 07:09 PM
Had to change BME680_I2C_ADDR_PRIMARY UINT8_C to get my board working. With BME680_I2C_ADDR_PRIMARY UINT8_C(0x76) I got a -2 error all the time
/** BME680 I2C addresses */
#define BME680_I2C_ADDR_PRIMARY UINT8_C(0x77)
#define BME680_I2C_ADDR_SECONDARY UINT8_C(0x77)
Solved! Go to Solution.
09-07-2020 05:05 AM
Could I know what is the state of the SDO pin on your hardware?
When SDO pin was connected to GND, i2c address was 0x76;
When SDO pin was connected to VDDIO, i2c address was 0x77.