Problem with RTC on LPC11u67 (Oscilator fail detect)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Problem with RTC on LPC11u67 (Oscilator fail detect)

跳至解决方案
1,401 次查看
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 解答
1,183 次查看
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 回复
1,184 次查看
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 项奖励
回复