Reduce power consumption on nRF52832

I am using a nRF52832 with a LISD3H accelerometer. When I initialize the twi driver, I see a ~250 uA increase in current. I was hoping to initialize the twi driver, enable the GPIO interrupt on the accelerometer, and then uninitialize the twi to reduce power consumption, but uninitializing the twi driver does not reduce the current consumption. The end goal of the software is to stop BLE advertising after a minute with no motion, and start BLE advertising after motion is detected. The total power consumption without twi is 140 uA when advertising, and the total power consumption with twi is 400 uA when advertising. I have attached the compressed project.

Parents Reply Children
No Data
Related