This anomaly applies to IC Rev. Engineering B, build codes QFAA-BA0, CHAA-AA0.
COMP event not able to wake CPU form System ON IDLE.
Always
CPU will not wake from System ON IDLE.
if (*(volatile uint32_t *)0x4006EC00 == 0)
{ *(volatile uint32_t *)0x4006EC00 = 0x9375; }
*(volatile unit32_t *) 0x4006EC14 = 0xC0;
To turn off this workaround (to save current):
if (*(volatile uint32_t *)0x4006EC00 == 0)
{ *(volatile uint32_t *)0x4006EC00 = 0x9375; }
*(volatile unit32_t *) 0x4006EC14 = 0x0;