I have a project using a ATSAML21J18B MCU. The device is put into 'Backup' sleep mode using the Automatic Power Switch. The RTC is kept running from a supercap. My problem occurs when trying to wake from Backup mode. When I restore main power, the device appears bricked. No code is executed (I turn on IO in the reset handler and get no output) and the device cannot be programmed or debugged. The only way to restore functionality is to kill power and momentarily short the super cap affecting a Power-On Reset. My best guess is the device is not actually waking when power is restored...?
Does anyone have any experience using Backup mode on the SAML21/22 devices?
Thanks for any advice.