Skip to main content
Associate III
June 21, 2024
Question

RTC on Timer Interrupts

  • June 21, 2024
  • 1 reply
  • 566 views

I am using TIMER 14 for counting test durations in my projects however I am lagging off aroumd 5 mins per week.How can i implement the same with RTC counter?

1 reply

Senior III
June 21, 2024

The accuracy depends on the crystal. If you really need very accurate timing, adjust the timer reload value or use external rtc such as ds3231 which can generate 1 sec pulse use it to.generate interrupt and do the counting.

"If you feel a post has answered your question, please click ""Accept as Solution""."