Hi everyone, I have a problem with my BME680 returning wrong values. I'll try to explain how it works and hope you can help me to solve it : On my embedded card, there is a chip (STM32) connected to the BME680 component in order to get humidity/temperature/pressure measures. The communication bus is I2C and the BME680 is also sharing its bus with the card's battery, sending % of battery to the CPU everytime it changes. When BME680 is the only one using the I2C bus (e.g battery info harvest is not activated), BME680 is sending good values to the CPU. But the problem appears when the battery and the BME680 cohabit. When they are sharing the I2C bus, BME680 values sent to the CPU are aberrant (for example, -300°C, 0% humidity, 200hPa). After reading the datasheet, I saw that BME680 needed to send its measures precisely every X seconds (here 3 seconds). Hense I decided to implement a state machine to force the BME680 to send its results every time he has to, and the battery to hold the I2C bus the rest of the time. But it didn't work. I read few subjects in this forum about BME680 problems but I never saw one acting like this : functionning alone, disfunctionning when it cohabits with another component in the same I2C Bus. I don't know if you already encoutered this problem, if you have any ideas or the solution to make it work please let me know. Thank you for your time. Sincerely, Jules
... View more