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.

CC430F5137 RevE: REFO frequency differs in different operation mode?

I found that REFO frequency is about 0.4% faster in Active mode than in true LMP3, by checking TA0 CCR1 OUT using a oscilloscope.

Setup:
1. VCC 3.0V, Vcore=2.

The difference matters in my application. What I want is to calibrate REFO vs XT2 (26M), so that REFO could be more accurate and then timing could be more accurate. My calibration setup is:
 1. Use ACLK (REFO) for TimerA0. Use SMCLK (26M/4) for RtcTimer (32 bit Counter Mode).
 2. Start both TimerA0 and RtcTimer, and let the chip in LPM0 or LPM1 so that SMCLK is active.
 3. When TimerA0 overflows, stop RtcTimer and read its counter value. In my board, the value is about 0x00C6E6E0 = 13035232.
 4. Calculate the frequency of the REFO: 26M/4*65536/13035232 = 32679.
 
When I use this frequency to delay some time in my program while the chip is in LPM3, there is still some error (0.4%). And finally I figured out that this should be due to different REFO frequency in Acitve/LMP0/LPM1 and LPM3, by checking TimerA0/TimerA1 CCR1 OUT (mode 2).
I think when SMCLK (or maybe XTS) is on, the frequency will drift, because if I make the chip in LPM3 during calibration, the result is the same. I think because at this moment SMCLK (or XTS) is active and the chip is actually not in low power mode.

Does anybody notice this issue? Is there idea to improve the calibration? Could REFO be used as an accurate clock reference?

  • REFO can be affected by voltage and temperature, both of which can be affected by the MCU's power usage. Apparently, you need a different calibration value for LPM3.
  • Thank you for your answer. I think REFO should be powered by Vcc, not Vcore, and Vcc is the same in active mode and LPM3. Also, I also think Vcore is almost the same in different modes (I checked it using oscilloscope).

    Anyway, I can't calibrate REFO in TRUE LPM3, because I need SMCLK (from 26M) as the reference. When SMCLK is active, it seems the REFO frequency is the same as in active mode (or LPM0/LPM1).

**Attention** This is a public forum