sosc monitoring in S32K1

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

sosc monitoring in S32K1

ソリューションへジャンプ
845件の閲覧回数
Xtian
NXP Employee
NXP Employee

Do we have a safe mode in S32K11x   that  automatically switches to an internal clock  whenever there is a loss of clock detected in the external oscillator?   I seem to understand There is an SOSC monitor that can flag an error in case of loss of external clock, but it is up to application software to do corrective measures? 

thanks,

Christian

タグ(1)
1 解決策
603件の閲覧回数
atzelcollazo
NXP Employee
NXP Employee

Hello Christian,

In S32K1xx there is not possible to automatically switch to an internal clock when there is a loss of clock detected in the external oscillator. The user has to decide how to react when this condition appears. For S32K11x it is intended that the FIRC would be the system clock and not the XOSC. It is the only clock we have and if a problem appears one can decide interrupt to reset the system. If the system is not able to handle the interrupt and a hanging situation appears, the WDOG will reset the system.

For a clock error:

As you may know, there are two ways to react when a clock error condition appears that is selectable in SCG_SOSCCSR[SOSCCMRE] register and these are the ways how we should react:

Interrupt reaction: one can switch to FIRC in the interrupt routine
Reset reaction: the system  starts on FIRC clock


Best Regards,

Atzel Collazo

元の投稿で解決策を見る

1 返信
604件の閲覧回数
atzelcollazo
NXP Employee
NXP Employee

Hello Christian,

In S32K1xx there is not possible to automatically switch to an internal clock when there is a loss of clock detected in the external oscillator. The user has to decide how to react when this condition appears. For S32K11x it is intended that the FIRC would be the system clock and not the XOSC. It is the only clock we have and if a problem appears one can decide interrupt to reset the system. If the system is not able to handle the interrupt and a hanging situation appears, the WDOG will reset the system.

For a clock error:

As you may know, there are two ways to react when a clock error condition appears that is selectable in SCG_SOSCCSR[SOSCCMRE] register and these are the ways how we should react:

Interrupt reaction: one can switch to FIRC in the interrupt routine
Reset reaction: the system  starts on FIRC clock


Best Regards,

Atzel Collazo