Will a MCU recover from FLL Loss of Lock

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Will a MCU recover from FLL Loss of Lock

1,864 次查看
mjcoury
Contributor I
I am catching my Unimplemented ISR... which was a LOLS which is a FLL Loss of Lock in the ICGS1 register.. If i clear this and the Interrupt will the MCU recover, so long as there is not something else driving this error...?


Thanks
标签 (1)
0 项奖励
回复
1 回复

697 次查看
stevo10
Contributor I
Hi,

In short, yes the MCU should recover.

The LOLS is a sticky indication of the FLL lock status. In the event that the FLL were to unexpectedly loss lock, the LOLRE (loss of lock reset enable) bit would determine the action - which would either be a reset request (LOLRE=1) or interrupt request (LOLRE=0).

In most cases if an interrupt is requested the software will loop in the service routine until the lock is reengaged. Also note that the LOLS bit should be cleared here by reading the status register then writing a 1 to the ICGIF (iCG interrupt flag) bit in ICGS1.
0 项奖励
回复