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.
在断点下看OE=1,DR=1
先按照TRM Table 30-11 在代码中判断IIR类型并清除相应的中断看看。
For an overrun error, reading the line status register (LSR) clears the interrupt.