Skip to main content
Explorer
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?

    This topic has been closed for replies.

    1 reply

    Graduate II
    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.