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.
C6455硬件中断进去第二次后,不能跳出中断。
用的是什么中断? 中断子程序里主要里做什么?中断子程序越简单越好。
用的硬件中断,子程序里只有一简单输出语句
具体是哪个硬件中断?
另外,中断子程序中尽量不要用printf打印语句。
或者试试加大heap size.
有没有试过把中断子程序里的打印语句去掉?
第二次中断没进的时候,看一下GIE, IER, IFR等寄存器中断标志位,使能位是否为1?