This anomaly applies to Revision 1, build codes QFAA-Bx0, CIAA-Bx0, QFAB-Bx0.
It was inherited from the previous SoC revision Engineering C.
Symptoms
RAM not correctly retained.
Conditions
System ON Idle mode or System OFF is used with parts or all RAM retained.
Consequences
RAM not correctly retained.
Workaround
Apply the following code after any reset:
*(volatile uint32_t )0x40000EE4 = ((volatile uint32_t *)0x10000258 & 0x0000004F);
This workaround is implemented in MDK version 8.9.0 and newer version.
This workaround increases the I_RAM current per 4 KB section from 20nA to 30nA.