External crystal failure detection in LPC546xx

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

External crystal failure detection in LPC546xx

1,463件の閲覧回数
prasannanaik
Contributor III

Hi,

   I am using LPC54608J512BD208 in an application. The controller clock is derived from external crstal of 20 MHz and stepped up through PLL at 100 MHz. Is there any way to detect the external crstal failure so that the controller can be switched to internal clock FROH.

Thanks and best regards,

Prasanna

ラベル(1)
4 返答(返信)

1,325件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Prasanna Naik,

Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.
Do you mean whether there's a mechanism that can switch the clock mode automatically when MCU detects a clock failure signal? If yes, I'm afraid it doesn't exist this mechanism.

Have a great day,
TIC

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信

1,325件の閲覧回数
prasannanaik
Contributor III

Hi Jeremy,

   Thanks for your help.

   I don't want automatic changeover on failure. I want to know how to detect the crystal failure in firmware so that we can switch over the controller to FROH manually.

Thank and best regards,

Prasanna

0 件の賞賛
返信

1,325件の閲覧回数
brendonslade
NXP TechSupport
NXP TechSupport

Hi Prasanna,

I havent tried this, but it should work... you can use the frequency measure function to check the xtal as part of your start up. You can use the frequency measure function to check the xtal (using the FRO as a reference) is working as part of a start up diagnostic. Start up your system using the FRO, run the diagnostic, then switch to the xtal if it all looks ok. See section 10.6 of the chip user manual for info on that frequency measurement function.

If you need to detect and recover from a xtal failure while the application is running then you could use a watchdog timer to restart the system if it crashed due to the xtal.

Hope that helps.

regards,

Brendon

1,325件の閲覧回数
jeremyzhou
NXP Employee
NXP Employee

Hi Prasanna Naik,

Thanks for your reply.
Whether you mean that code detects the crystal failure, then switch over the controller to FROH, if yes, it's impossible actually.


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 件の賞賛
返信