2017-11-27 12:10 AM
Hello All,
I configured ODR to 1600Hz at CTRL4 register on LIS3DSH.
It works perfectly except for update frequency.
INT1 pulse outputs with 600us interval! I attached Oscilloscpe at INT1 pin.
It should be 625us(1s/1600 = 625us).
Could anyone kindly help me what is wrong with my setting, hardware...?
Solved! Go to Solution.
2017-11-27 05:19 AM
I don't think it is an issue. The ODR value in datasheet is typical value and can be slightly different in each sensor.
2017-11-27 05:19 AM
I don't think it is an issue. The ODR value in datasheet is typical value and can be slightly different in each sensor.
2017-11-27 06:12 AM
Ok, I understand it is spec.
So if I want to get INT1 interrupt with exactly 625us interval, what should I do?
2017-11-27 09:51 AM
Unfortunately it is not possible to fine tune or adjust the ODR, so it won't be possible to achieve exactly 625us.
2017-11-27 07:05 PM
Thank you very much for useful information, Miroslav.
I will use something like interpolation in order to get fine value.
2017-11-27 09:03 PM
I have one more question.
How much % is frequecy error of INT1 interval in worst case at LIS3DSH product?
For example, 1600Hz+-10% or something.
It is necessary for calculating buffer size for interpolation.
2017-11-28 06:27 AM
Unfortunately the ODR tolerance is not specified for consumer MEMS sensors.
I think +/- 10% should be enough, but ST doesn't guarantee it.2017-11-28 11:18 PM
Thank you for useful practical information, Miroslav.
This is very good experience for me that I wll be cafeful for using consumer MEMS.