cancel
Showing results for 
Search instead for 
Did you mean: 

Using INT2 on LIS3DSH for DRDY signal

GTS.1
Associate III

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

1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

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

View solution in original post

3 REPLIES 3
Eleon BORLINI
ST Employee

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

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.

Hi @GTS.1​ , yes, it is correct

Regards