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.
如图,用CCS在线调试,P1.1翻转是为了观察现象。按理说清标志位之后IFG1应该是全零,截图显示时钟错误位没清除,导致这个循环一直出不去,实验现象是灯闪烁。配置的时钟是内部DCO 8M。
DCO與IFG1中的OFIFG無關。但如果LFXT1有故障,OFIFG 清標後仍會復植。建議使用VLO代替LFXT1。
你好,
之所有产生这样的问题是因为你XT1是没有外挂晶振,但是程序又一直在判断TX1是否有是时钟产生。