2024-02-29 05:33 PM - edited 2024-02-29 05:34 PM
Hello,
I set ODR_XL target during inactivity(INACTIVITY_DUR XL_INACT_ODR_[1:0]), but when I read CTR1 ODR in inactivity mode, it doesn't change to the setting, why?
Solved! Go to Solution.
2024-03-01 02:39 AM
2024-02-29 11:25 PM
Hi @Yansu ,
To help you I need to know which product you are using.
2024-02-29 11:28 PM
LSM6DSV
2024-03-01 12:06 AM
Hi @Yansu ,
The activity/inactivity recognition function is enabled by setting the INTERRUPTS_ENABLE bit to 1 and
configuring the INACT_EN_[1:0] bits of the FUNCTIONS_ENABLE register. If the INACT_EN_[1:0] bits of the
FUNCTIONS_ENABLE register are equal to 00, the motion/stationary embedded function is enabled.
Did you do this?
2024-03-01 12:28 AM
In spec:
11: sets accelerometer to low-power mode 1 with accelerometer ODR selected through the
XL_INACT_ODR_[1:0] bits of the INACTIVITY_DUR (54h) register, gyroscope in power-down
mode)
Yes, I set INACT_EN_ to 11,XL_INACT_ODR_[1:0] to default that means 15HZ, and can get inactive status in SLEEP_STATE and then check ODR in CTRL1, it's not 15HZ, why?
2024-03-01 02:39 AM