This anomaly applies to Revision 2, build code CAAA-Bxx.
It was inherited from the previous SoC revision Revision 1.
Symptoms
After pin reset, RESETREAS bits other than RESETPIN might also be set.
Conditions
A pin reset has triggered.
Consequences
If the firmware evaluates RESETREAS, it might take the wrong action.
Workaround
When RESETREAS shows a pin reset (RESETPIN), ignore other reset reason bits.
Important: RESETREAS bits must be cleared between resets.
Apply the following code after any reset:
if (NRF_POWER->RESETREAS & POWER_RESETREAS_RESETPIN_Msk){
NRF_POWER->RESETREAS = ~POWER_RESETREAS_RESETPIN_Msk;
}
This workaround is implemented in MDK version 8.13.0 and later.