mirror of https://github.com/ARMmbed/mbed-os.git
				
				
				
			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
							parent
							
								
									f746fc5bac
								
							
						
					
					
						commit
						cf8d6c49a7
					
				| 
						 | 
				
			
			@ -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 */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue