Lsm6dso is configered as mode1; ODR is 26hz or 52hz ,INT1 is configured as threshold interrupt;Problem: interrupt interval should be 1s, but measured time is larger than 1s such as 1016ms. We measured 3 boards and 2 of them exist this problem. Ho...
The cycle of interrupt1 is not 1s but 1.016s.The code is as follows:uint8_t reg_data; reg_data = 0; lsm6dso_ic_write_register(NULL, LSM6DSO_WAKE_UP_DUR, ®_data, 1); reg_data = 2; lsm6dso_ic_write_register(NULL, LSM6DSO_WAKE_UP_THS, ®_data, 1);...
Threshold interrupt is used for collecting 6D orientation data;the code is as follows:lsm6dso_device_id_get(&m_dev_ctx, &chip_id); if (chip_id != LSM6DSO_ID) { LOG_ERROR("lsm6dso read register chip id error(%X)", chip_id); return NRF_ERROR_I...