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.

MSPM0L1228: RTC Counter Value After Setting Time

Part Number: MSPM0L1228

Tool/software:

Hi,

According to the datasheet, it takes 2-3 RTCCLK cycles to set the time on the RTC.

When valid data is written to the RTC and 2-3 RTCCLK cycles have passed,
should I be concerned if the actual counter value differs from the value I originally wrote?

Best Regards,
Sho Takayama

  • Hi Sho,

    • How are you determining the correct amount of clock cycles have passed?
    • And how far off is your actual counter value from your inputs?
      • Depending on the value if it looks to be close to the original value then this would mean the synchronization isn't completed. If the value is close to the value assignment it could be the difference from when you are getting the value from the time you had written the value. 

    Regards,
    Luke


  • Hi Luke,

    If the RTC counter value is 5 and I write 50 to it, is it possible that the value 50 won’t apply, and the counter will continue counting 5, 6, 7?

    Best Regards,
    Sho Takayama

  • Hi Sho,

    The RTC value should change to your assigned value after the 3 sync clock cycles. how are you observing the RTC value difference? Is this through a variable assignment or looking at the registers via an IDE?

    Regards,

    Luke