Hello Everyone,
I am trying to integrate LIS3DSH accelerometer with nRF52832 development board(I2C communication). I have Implemented Wake-up State Machine for LIS3DSH. whenever accelerometer detects any motion it will generate low to high on the interrupt pin(connected to one of the GPIO of nRF52832 ), and ISR will start executing. but inside the Interrupt service routine i am unable to perform the I2C/twi communication with the accelerometer(LIS3DSH). when i try communicating with slave(LIS3DSH) in main function, it is successfully communicating.
Please let me know how to resolve this issue.
Thanks,
Mohd Habeeb Ur Rehman