2020-05-13 04:33 AM
Hi,
I'm using a STM32F4 board which has a LIS3DSH. This board has PE0 connected to the INT1 of the LIS3DSH and PA0 connected to the user Button B1. Due to this, I won't be able to use interrupts to sample and interrupt for button press. I'm trying to find if there is any way to get the DRDY signal on INT2?
Thanks
Solved! Go to Solution.
2020-05-14 04:56 AM
Hi @GTS.1 , unfortunately the DRDY signal cannot be directly routed on INT2 physical pad... but you could manage the DRDY via software by polling the the DRDY bit in STAT (18h) register. Regards
2020-05-14 04:56 AM
Hi @GTS.1 , unfortunately the DRDY signal cannot be directly routed on INT2 physical pad... but you could manage the DRDY via software by polling the the DRDY bit in STAT (18h) register. Regards
2020-05-14 10:33 AM
Hi @Eleon BORLINI ,
Thanks for clearing this up
Just to clarify, am I correct in assuming that the DRDY bit is set only when ZYXDA bit is set?
Also, I noticed that sometimes the ZYXDA bit is set while the XDA or YDA bit is cleared.
2020-05-15 08:04 AM
Hi @GTS.1 , yes, it is correct
Regards