Fix errors on NCS36510 after deep sleep

Add NOPs after deep sleep to prevent unexpected behavior. It appears
that the first one or two instructions after deep sleep do not get
executed properly.

Note - This is a temporary workaround. For a more robust solution
the NCS36510 needs to investigate the root cause of this issue.
pull/5063/head
Russ Butler 2017-09-10 22:25:12 -05:00
parent f746fc5bac
commit cf8d6c49a7
1 changed files with 3 additions and 1 deletions

View File

@ -64,6 +64,8 @@ void fncs36510_deepsleep(void)
/** Enter into deep sleep mode */
__ISB();
__WFI();
__NOP();
__NOP();
/** Wait for the external 32MHz to be power-ed up & running
* Re-power down the 32MHz internal osc
@ -115,4 +117,4 @@ void fncs36510_coma(void)
fMacRestoreFrameStoreLUT(MAC_LUT_BackUp); */
}
#endif /* DEVICE_SLEEP */
#endif /* DEVICE_SLEEP */