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.

MSP430F248 XT2问题

Other Parts Discussed in Thread: MSP430F248

您好:

  请问MSP430F248 XT2问题设置好后

    do   //等待时钟源转换完成

       {

        IFG1&=~OFIFG;

        for(i=0xff;i>0;i--);

        }

    while((IFG1 & OFIFG)==OFIFG);

程序一直停在此处,时钟转换完成不了

3.3v 供电,16M、12M 晶体

谢谢!

  • 请看注释  

    do

     {

       IFG1 &= ~OFIFG;                         // Clear OSCFault flag

       for (i = 0xFF; i > 0; i--);             // Time for flag to set

     }

     while (IFG1 & OFIFG);                     // OSCFault flag still set?