I'm working with SAMD20E18 with my own board, which has only the uC and caps, so no external connections. When I put the device in STANDBY mode, I confirm it enters, but current is almost high as active mode. To detect it goes into STANDBY mode I rise a pin before and lower it after, so I see it remains in this power mode. I'm aware of Pin 24 & 25 but this effect is less than 1mA. I see about 18mA....
This is the code I'm using starting the main;
NVMCTRL->CTRLB.bit.SLEEPPRM = NVMCTRL_CTRLB_SLEEPPRM_DISABLED_Val; SCB->SCR |= SCB_SCR_SLEEPDEEP_Msk; __DSB(); __WFI(); while(1);
I have same set up working with SAMD10 and it works perfectly, with ~2uA in STANDBY mode. I'm using similar code, but I can't see such a low current in the SAMD20. What is different between such devices?