Tool/software:
According to Safety Manual,how to Implement enable OCOCLKDET ?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
According to Safety Manual,how to Implement enable OCOCLKDET ?
Hi Zheng,
We need to verify the 4th bit (i.e.CLK_LOSS_STATUS_RC_CLOCK_LOSS) in the OP_RCM_CLK_LOSS_STATUS Register.
This bit will give us the RC clock status that means status of on-chip oscillator. If this bit is logic-1 means the oscillator clock is lost, and if this bit is logic-0 that means on-chip oscillator is available.
--
Thanks & regards,
Jagadish.
Hi,
To add to the above response from Jagadish,
Both bit-4 CLK_LOSS_STATUS_RC_CLOCK_LOSS
and bit-0 CLK_LOSS_STATUS_CRYSTAL_CLOCK_LOSS
can be checked to detect clock loss of RC-clock and Crystal clock respectively.
For related details, please refer to section "6.4.4 Limp Mode" in the TRM.
Regards,
Nilkanth