This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: BQ32000
I am using the BQ32000DR RTC with FC-135 32.7680KA-A5 crystal , I had not mounted tuning capacitors as already there are 24pf internal capacitors. I am getting below mentioned error .
bq32k 0-0068: Oscillator Failure. Check RTC battery.bq32k 0-0068: rtc core: registered bq32k as rtc0
I had connected CR-2032 battery as a VBACK supply,
I had powered on the board and set the time to the RTC IC and observed that time is incrementing and working as expected. Once when I power off the board and wait for while and power on the time observed is not appropriate (not updating as expected).
Why is this oscillator used? and Does this oscillator effect the timing?
Oscillator Failure is described under datasheet table 5.The device has an OF flag (oscillator fail) that is always initialized to high after power up. The flag should be cleared when you are initializing the RTC (setting the time). Then, you can monitor the bit in case there is oscillator fail event during operation.
If you power off the board, BQ32000 must have VBACK to keep counting time. After VCC is reapplied, you could read the time from the device again.
How long do you power off the system? What time is observed after VCC is reapplied?
More information Clock and Timing System products: http://www.ti.com/clock-and-timing/overview.html
Learn more about clocking fundamentals by watching the TI Precision Labs: https://training.ti.com/ti-precision-labs-clocks-and-timing
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Lane Boyd:
Thanks for the reply.
Is the oscillator failure flag is set each time when we power off and on the board?
When I am powering off, a battery of 3V is connected to VBACK to keep counting the time. Now actually we had made some changes in the code regarding oscillator and we are observing proper time now once I power off and on after some time.
I have a question whether we need to stop oscillator and start every time during power on, or only for initial power on?
In reply to jayashree:
Yes, OF flag is set each time BQ32000 powers up after total power loss. However, if you still have VBACK provided, OF flag should not when VCC is reapplied.
The OF bit does not stop or start the oscillator, it only reports when the oscillator drops 4 consecutive pulses. You do not need to stop the oscillator.
In the design I had provided external tuning capacitors for the crystal. Once I removed the external crystal it is working as expected.
Thanks for your support.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.