07-21-2023 09:32 AM - edited 07-21-2023 09:34 AM
Hello,
I'm using the BME680 with a STM32WLE and everthing was working well.
Between the 03/06 to 21/07 everything was ok but after the bsec IAQ values are competly wrong.
I'm wondering if that is not related to the timestamp hat can fail after reaching max value.
Thanks
07-23-2023 02:55 PM
Hi hamady,
You can check whether BSEC is executed correctly, check the printed information of gas resistance value, IAQ value, and timestamp.
07-25-2023 09:48 AM
Hello,
I disabled the UART prints to reduce power consumption,
But i think that it is related to timestamp variable beacause all my boards failed the same time
int64_t get_timestamp_us()
{
int64_t system_current_time = 0;
uint32_t tick;
tick = HAL_GetTick();
system_current_time = 1000*(int64_t)tick;
return system_current_time;
}
Thanks
07-27-2023 09:24 AM
Any update ? @BSTRobin
08-17-2023 11:38 AM
Hi hamady,
You should ensure host can provide correct timestamp value.
Check whether the correct timestamp has been provided from the host side, and usually turn on RTC in low power mode to ensure that the time is continuously counted. So read the time from RTC and calculate and generate a timestamp.