2019-12-16 07:50 AM
Hi,
I have a lsm6dsox sensor and everything is working fine, I can read the data and I can generate interrupts for single tap, double tap... But I want to configure as following:
To set the sample rate at 52Hz, and every time it reads a sample to generate an interrupt. So in this case it will be every ~20ms. Is this possible and what I need to configure ? Thanks
2019-12-16 08:29 AM
Hi @suads , if I well understand, do you basically need a data-ready interrupt assert? I mean, when a data is available at the output chain of the ASIC internal conversion, an interrupt is asserted and can be routed on a physical pin, e.g INT1. You get this if you enable the DEN_DRDY_flag bit of the INT1_CTRL (0Dh) register, and the INT1_DRDY_G or INT1_DRDY_XL in the same register. Regards
2019-12-16 09:46 AM
Many thanks! I succeed.