11-19-2020 05:52 PM - edited 11-19-2020 05:55 PM
Hi,
I am reading the temperature measurement from the BMX160 sensor and I am getting strange values
int16_t temp = (int16_t) ((m_temp_buffer[1] << 😎 | m_temp_buffer[0]);
The output is varying a lot beween 10 .. 25 °C in just a few minutes why it is always at the same position inside a room at 23°.
Solved! Go to Solution.
11-20-2020 02:46 AM
Hello cwi,
What the current power mode when you read temperature ? If all sensors are in suspend mode, temperature is disabled.
How long did you read temperature? If the gyroscope is in normal mode(see register 0x03 PMU_STATUS), the temperature is updated every 10ms(+-12%). If the gyroscope is in suspend mode or fast-power up mode, the temperature is updated every 1.28S aligned with bit 15 of the register(0x20-0x21) TEMPERATURE.