ASM330LHH TDA bit not set to 1?
If the TDA bit is not set to “1” even once after 400ms has passed after the sensor is turned on, is it likely that the startup has failed?
If the TDA bit is not set to “1” even once after 400ms has passed after the sensor is turned on, is it likely that the startup has failed?
Hi @ggob ,
The TDA bit (Temperature Data Available) is set to 1 when new temperature data is ready to be read.
TDA is set to 1 every time new temperature data is available, which depends on the temperature sensor ODR. The temperature sensor ODR is typically tied to or configurable independently from the gyro and accelerometer ODR. After enabling the gyro and accelerometer via CTRL1_XL and CTRL2_G, the temperature sensor starts sampling at its own ODR. The TDA bit will be set to 1 periodically, each time a new temperature sample is ready.
The duration for which TDA remains set to 1 is very short, usually until the STATUS_REG is read or the temperature data register is read, after which the bit resets to 0 until the next new data is ready.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.