Hi,
on SM ( rev.4 ) section 5.3.2.1, page 39 we have :
Recommendation: […] It is recommend to always generate a reset in case of loss of clock or clock out of range condition. For the out of range clock condition, the reset event shall be generate inside the interrupt condition.
on RM ( rev.9 ) section 30.1, in note at page 666 we have :
[…]
It is recommended to reset system through software for a clock out of range event rather than using an interrupt.
[…]
My question : the sentence "rather than using an interrupt" of the RM is to be interpreted that the device has to be reset and the event should not be handled with just an interrupt , OR that the software reset should not be done inside an ISR ? ( in this case a discrepancy between RM and SM would exist ).
Thanks
Solved! Go to Solution.
Hello Lorenzo,
As the clock out of range event has to be handled with a software reset, the sentence "rather than using an interrupt" means the device needs to be reset instead of just be handled by the interrupt. That sentence is there because as this event is HW supported, it may create confusion about how should be handled.
Best Regards,
Atzel Collazo
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please mark the answer as Correct
-----------------------------------------------------------------------------------------------------------------------
Hello Lorenzo,
As the clock out of range event has to be handled with a software reset, the sentence "rather than using an interrupt" means the device needs to be reset instead of just be handled by the interrupt. That sentence is there because as this event is HW supported, it may create confusion about how should be handled.
Best Regards,
Atzel Collazo
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please mark the answer as Correct
-----------------------------------------------------------------------------------------------------------------------