Skip to main content
aru
Associate II
January 17, 2014
Question

how to generate RTC counter increment delay for 100ms

  • January 17, 2014
  • 2 replies
  • 819 views
Posted on January 17, 2014 at 14:36

I have Implemented RTC with counter increment delay of 1 second, but I am not able to configur it for 100ms. Here i have attached RTC configuration code, can anyone please tell how to configure RTC prescalar register for 100ms

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    January 17, 2014
    Posted on January 17, 2014 at 16:22

    For what part?

    For a tick at 100 ms you'd need to prescale the 32.768 KHz by a 1/10th of what you do for a second, not sure that's cleanly divisible or desirable.

    Considered using SysTick?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    aru
    aruAuthor
    Associate II
    January 18, 2014
    Posted on January 18, 2014 at 07:09

    how to prescale the 32.768 KHz by a 1/10th. I read in Arm PDF there is no option to do what you said above.