Problem with RTC on LPC11u67 (Oscilator fail detect)

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

Problem with RTC on LPC11u67 (Oscilator fail detect)

ソリューションへジャンプ
844件の閲覧回数
lukasserap
Contributor I

I have 10 devices with LPC11u67 on them. 4 of these devices has failing RTC clock - I've tried resoldering RTC crystal, checked the battery with no luck. The strange thing is, that if I connect signal generator (square, about 30 kHz) and put the probe on RTC Xtal pins, it fixes the problem permenantly (well I hope so). When debugged, peripheral registers of RTC shows OFD bit set and marked as "FAIL". Clearing this bit does nothing at all. Datasheet, User Manual and Errata didn't help with this. So my question is: Is it Hardware problem? What is the meaning of OFD bit? is there any way of fixing it with firmware?

ラベル(2)
0 件の賞賛
1 解決策
626件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Lukas,

   OFD bit set, means the RTC oscillator fail detected.

The user manual already describe it:

pastedImage_1.png

   This problem is caused by the external RTC crystal circuit.

   From your description:if I connect signal generator (square, about 30 kHz) and put the probe on RTC Xtal pins, it fixes the problem 

   This point also means your external RTC crystal circuit have the mismatching factor, you need to adjust the external capacitor.

   I suggest you try to change the external capacitor to a little large capacitor. 

  We also have application note about the crystal, you can refer to it:

http://www.nxp.com/documents/report/R_10074.pdf 

Wish it helps you!


Have a great day,
Jingjing

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

元の投稿で解決策を見る

0 件の賞賛
1 返信
627件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Lukas,

   OFD bit set, means the RTC oscillator fail detected.

The user manual already describe it:

pastedImage_1.png

   This problem is caused by the external RTC crystal circuit.

   From your description:if I connect signal generator (square, about 30 kHz) and put the probe on RTC Xtal pins, it fixes the problem 

   This point also means your external RTC crystal circuit have the mismatching factor, you need to adjust the external capacitor.

   I suggest you try to change the external capacitor to a little large capacitor. 

  We also have application note about the crystal, you can refer to it:

http://www.nxp.com/documents/report/R_10074.pdf 

Wish it helps you!


Have a great day,
Jingjing

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

0 件の賞賛