LSM6DSO ACC and GYR setting
Hi,
I am using LSM6DSO to measure acceleration and angular velocity. To save the power of device, I want to use accelerator in most case. Some conditions, the gyroscope will need to open.
I used the function 'lsm6dso_fifo_xl_batch_set', 'lsm6dso_fifo_gy_batch_set', 'lsm6dso_xl_data_rate_set' and 'lsm6dso_gy_data_rate_set' to control the sensor. The function is provided by lsm6dso_reg.c. It should be a official library. I used them in the following picture.
I found when I set them off simultaneously, there is no data from the sensor. But if one of them is open and another is off, two types' data can be read from sensor. It is very strange. Then I use funcition to check the parameters.
I have found the gyroscope cannot be set under 26Hz. When I set it off or 12.5Hz, it will be changed to 26 automatically. But it can be set to higher frequency.How to change the problem?
Do you have some advices?
