Hello. using MMA8652FC and nrf52832, I wanna FIFO,Trans,Auto Sleep/Wake Function.
and i almost done. but i met unexpected Interrupt.
First INT1 is Trans INT and Auto Sleep/Wake , INT2 is only FIFO INT.
logic is Start -> Init Trans, Auto Sleep/Wake, FIFO ,HPF-> after 2s , sleep mode.
if Trans INT is happed, Wake and after 2s , go to sleep mode.
and if i push button on nrf52832, set standby mode and HPF is disable, then get data from FIFO.
after that HPF is enable and then go to sleep mode.
Auto sleep and Trans func is fine. it works very well.
but if i push button, read from FIFO is fine. but before sleep mode. INT 1 is happen.
so in my opinion, if i push button, happend only Sleep INT one time. but now INT1 is happend two time.
and I debug INT_SOURCE register. it is 0. nothing happen interrupt.
if I disable Auto Sleep/Wake. unexpected interrupt is not happed.
Does i something miss sleep <-> wake trasition or Standby <-> Active mode about interrupt?
Help me what is the problem.