2018-04-07 11:26 PM
1) CTRL_REG3 (22h)
Can I set both I1_IA1 and I1_IA2?
2) What is I1_321DA?
3) Our project uses two threshold, one for stronger force (e.g. collision), the other for weaker force (e.g. impact). I assume I should set INT1_THS and IT2_THS to the high/low threshold. But should I use both event on INT1 or separately e.g. INT1 for high event and INT2 for low event?
4) If INT1_THS is set to high threshold and INT2_THS is set to low threshold. The duration is set to same. So the trigger will satisfy INT2_THS firstly then IT1_THS. In this case, will the lis3x device generate two interrupt with IA1 first and IA2 second?
Solved! Go to Solution.
2018-04-09 01:02 AM
1) Yes, but to what caused the interrupt you have to read INT1_SRC and INT2_SRC registers.
2) It is data ready signal for the auxiliary ADC
3) You can use both ways.
4) Two interrupts will be generated, if the acceleration peak will happen quickly within one ODR the interrupts will be generated at the same time.
2018-04-09 01:02 AM
1) Yes, but to what caused the interrupt you have to read INT1_SRC and INT2_SRC registers.
2) It is data ready signal for the auxiliary ADC
3) You can use both ways.
4) Two interrupts will be generated, if the acceleration peak will happen quickly within one ODR the interrupts will be generated at the same time.
2018-04-09 06:15 AM
Thanks for the reply.
For 4), you mentioned '
if the acceleration peak will happen quickly within one ODR the interrupts will be generated at the same time.'. In this case, will the MCU get one single interrupt or two separate interrupts at same time?2018-04-09 07:59 AM
If you enable interrupts on both pins INT1 and INT2 the MCU will get two interrupts.