Hi,
I am completely new to this technology. I am currently programming a custom board equipped with an nRF52832 based on the ble_app_uart example in the SDK 15.2 and is connected to a LIS2DH12 accelerometer. Everything is working correctly. I am able to get the value from the accelerometer.
My current objective is trying to wake it up from its sleeping mode (sd_power_system_off). There is no additional button on the board that can interrupt the sleep so my only thought would be using an interrupt pin connected to the accelerometer. In other words, when it goes to sleep and it detects a huge movement, the device will wake up.
My question is, how do I configure the LIS2DH12 interrupt pin? Does anyone have a full example on how it is programmed? And how do I transmit the interrupt signal from the accelerometer to the interrupt pin?