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.

MSP430 时钟errata的疑问

Other Parts Discussed in Thread: MSP430F2013

本来想用msp430F2013做个高可靠性的RTC。想法是正常时用LFXT1(32768hz)做时钟计数,如果LFXT1损坏,可以自动转到VLO时钟继续运行并报警。

但是看到芯片的errata上有如下内容:

Function   :LF crystal failures may not be properly detected by the oscillator fault circuitry

Description: The oscillator fault error detection of the LFXT1 oscillator in low-frequency mode

(XTS = 0) may not work reliably, causing a failing crystal to go undetected by the CPU;

that is, OFIFG is not set.

以上的话没说透彻,有两种理解:

1、如果LFXT1损坏,不能自动切换为VLO时钟,芯片完全不能工作了。

2、如果LFXT1损坏,只是OFIFG有可能不置位,而VLO可以自动代替LFXT1做时钟?

如果是第一种理解,则此芯片不适合。

如果是第二种理解,cpu在唤醒工作时可以检测到时钟源的变化,判断出LFXT1损坏,可以修改计数周期,并报警。这样只是时间不准确,不会对导致系统工作的停顿。

请TI的工程师帮忙确认哪种正确。谢谢!

  • 你好,这个XOSC5的bug,其实很少出现。

    就这个bug本身而言,描述的是你说的第一种情况。

    实际上在测试时,这个bug只是在将LFXT1拿走,而且XIN ,XOUT引脚悬空的 情况下才有可能出现。可能是悬空引脚耦合了其他干扰,比如50HZ的工频干扰之后, 系统可能误以为还有时钟波形造成的。

    如果PCBlayout时充分注意。应该不会有这个问题。

  • 多谢!这下放心了。