03-31-2021 02:20 AM
Hi, I'm using the Github code to implement the BME680 self test for the gas sensor in my own board.
https://github.com/BoschSensortec/BME680_driver/tree/master/Self%20test
However, I keep getting inconsistent results. Sometimes I ran the test and it shows 0x2, other times it shows 0x3. And if I leave the device off for a couple of hours it returns 0x0 once, and then it will return 0x3 again. However, the sensor seems to be working, because I'm able to read temp, humidity and iaq, and all values are close to reality. The IAQ even responds to gases. This behaviour is the same with multiple boards.
Do you have an explanation for this situation?
03-31-2021 05:17 AM
Hello vsl,
Can you check where it goes back to 2 and 3 in your code?