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.

MSP430FR6972'RTC_C temperature compensation question

Other Parts Discussed in Thread: MSP430FR6972

Hi,

I have known the temperature compensation data should be written in the RTCTCMPx from the MSP430FR6972 User's GUide.

But  how should I do to get the temperature compensation data? Should I use the on-chip temperature sensor to sample the temperature data and calculate to get the temperature compensation data ? Do you provide the the calculation method?

I have another question. I knew the calendar mode could calculate the second . If I want the calendar time to  contain the millisecond and microsecond, how could I to do? Do you have any good suggestion?  

I will be greatly appreciated to your answer.

  • Hi Jent,

    From Section 23.2.8.1 of the User's Guide: "Software is expected to do temperature measurement at certain regularity, calculate the frequency error, and write into RTCTCMP register to not exceed the maximum limit of ±240 ppm."

    The RTC_C Temperature Compensation Scheme from Figure 23-2 will also be of use to you. TI does not provide the calculation method as it can vary between applications and is dependent on the temperature sensor used, the internal on-chip sensor is not recommended as die temperature may not adequately reflect crystal/ambient temperature.

    The lowest resolution of calendar mode is seconds, even counter mode will only allow for a resolution of half of a second. If you would like to measure in mill/microseconds then you will need to use a timer.

    Regards,
    Ryan
  • Hi Ryan,
    Thank you very much for your advice. I'm trying to use a timer to measure mill/microseconds .

    best wish
    Jent

**Attention** This is a public forum