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.

32K外部晶振配置时钟不起振

通过JTAG调试工具调试配置时钟,发现清除标志位时

 do

 {

   UCSCTL7 &= ~(XT2OFFG + XT1LFOFFG + DCOFFG);

                                           // Clear XT2,XT1,DCO fault flags

   SFRIFG1 &= ~OFIFG;                      // Clear fault flags

 }while (SFRIFG1&OFIFG);

在这个循环中跳不出来,32K的晶振也不起振,配置的另一个4M的晶振能够启动