|
† The clock source for MCLK is forced to DCOLCK if the selected clock source for MCLK fails. Failing includes the crystal oscillator has not started, or stopped working.
Note that if MCLK is automaticaly switched to DCLOCK because of a failure, !!!!the SELM bits will NOT change!!!!. They will retain their previous setting and should be reset
by doftware.
Ещё:
user software must reset OFIFG.
А именно он и используеться логикой для "защиты от дурака",
т.е. что-бы процессор всё-таки тактировался, соответсвенно от DCO.
Так, что смотрим биты SELM после неудачного переключения,
и OFIFG - который глобальный
E-mail: info@telesys.ru