Hello, I faced the problem of high power consumption when using a large number of the inner periphery. Currently used:
SPI1 -> Accelerometer, ext. serial memory
TWI0 -> OLED
RTC1 -> FreeRTOS
During debugging the current can reach several tens of mA due to debugger.
But now I need to use the GPIOTE for external event handling. And after initialisation of the GPIOTE channel, current rising up to 5-6 mA. This happen only at configuration with the GPIOTE_CONFIG_MODE_Event.
If GPIOTE isn't used and BLE in ADV mode (without debug mode) the active current is kept within 223 microamps when the device is sleeping.
I try to fix the problem and use QDEC and UART(CTS) to handle the external event but without success(power consumption too high). When I turned off GPIOTE (UART, QDEC) module, the current consumption fall down to 223 uA in sleep mode.
Read links:
devzone.nordicsemi.com/question/1805/current-consumption-when-using-rtc-ppi-and-gpiote
For detail, see video below: YouTube video