Hi,
We are trying to optimize our sleep current on a product based on the nrf5340. When the product is off, the nrf5340 needs to continue servicing a 1 second RTC interrupt to keep track of calendar time.
We've confirmed that the current draw from the battery is correct when completely powering down the micro in System Off mode. However, in System ON mode, with the watchdog, RTC and SRAM enabled, we seeing about 10uA more current than expected. If we power down sections of SRAM on the application core that are not used while the product is powered off, the current drops to the expected value.
The below code changes are required to reduce the product current consumption by 10uA.
NRF_VMC->RAM[0].POWER = 0x0001;
NRF_VMC->RAM[1].POWER = 0;
NRF_VMC->RAM[2].POWER = 0x8000;
NRF_VMC->RAM[3].POWER = 0xFFFF;
NRF_VMC->RAM[4].POWER = 0;
NRF_VMC->RAM[5].POWER = 0;
NRF_VMC->RAM[6].POWER = 0x8000;
NRF_VMC->RAM[7].POWER = 0;
Does SRAM consume this much current?
Thank you