Uploaded image for project: 'Embedded Software & Tools'
  1. Embedded Software & Tools
  2. EXT_EP-10924

RTC timing inaccurate after startup until automatic SCLK_LF switch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • TI Device Drivers
    • TIDRIVERS-5308
    • TIDRIVERS_5_70_02
    • TIDRIVERS_6_30_00
    • Hide
      CC13x1
      CC26x1
      CC13x2
      CC26x2
      CC13x2x7
      CC26x2x7
      CC13x4
      CC26x3
      CC26x4
      Show
      CC13x1 CC26x1 CC13x2 CC26x2 CC13x2x7 CC26x2x7 CC13x4 CC26x3 CC26x4

      When the device boots up, the SCLK_LF source is derived from RCOSC_HF and the derived clock frequency is around 31.250kHz.
      During start up, in SetupTrimDevice (driverlib function), it configures the SCLK_LF source and the subsecinc value(RTC register) based on CCFG option. At this point we are programming RTC based on the requested SCLK_LF source, even though the current SCLK_LF source is not the requested one.
      XOSC_LF runs on 32.768kHz and subsecinc is programmed to account for that. This means until XOSCLF is ready and CC26x2 switches to it, we are using the subsecinc value that does not reflect the actual sclk_lf frequency
      The longer time it takes to switches to XOSC_LF, the larger the error is.

            syncuser TI User
            syncuser TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: