2021-10-25 02:20 AM
2021-10-25 07:37 AM
Hi @1123.3 ,
Is this translation correct?
LIS2DS12 reads the sensor temperature and keeps the same.
The value is always 0x80. It will not change if you blow it through with a heat gun and cooling fan.
If so, did you configured the FS and the ODR, before starting the readout of the temperature sensor?
Note that it's ODR is 12.5Hz., so if you are running the sensor with higher ODR, polling the output registers you might read several time the same temperature value.
/* Enable Block Data Update. */
lis2ds12_block_data_update_set(&dev_ctx, PROPERTY_ENABLE);
/* Set full scale. */
lis2ds12_xl_full_scale_set(&dev_ctx, LIS2DS12_2g);
/* Set Output Data Rate. */
lis2ds12_xl_data_rate_set(&dev_ctx, LIS2DS12_XL_ODR_100Hz_LP);
-Eleon
2021-10-25 07:37 AM
Hi @1123.3 ,
Is this translation correct?
LIS2DS12 reads the sensor temperature and keeps the same.
The value is always 0x80. It will not change if you blow it through with a heat gun and cooling fan.
If so, did you configured the FS and the ODR, before starting the readout of the temperature sensor?
Note that it's ODR is 12.5Hz., so if you are running the sensor with higher ODR, polling the output registers you might read several time the same temperature value.
/* Enable Block Data Update. */
lis2ds12_block_data_update_set(&dev_ctx, PROPERTY_ENABLE);
/* Set full scale. */
lis2ds12_xl_full_scale_set(&dev_ctx, LIS2DS12_2g);
/* Set Output Data Rate. */
lis2ds12_xl_data_rate_set(&dev_ctx, LIS2DS12_XL_ODR_100Hz_LP);
-Eleon