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.
是这样,我想配UART FIFO为接收8个字符产生一次中断,那么FCR是设置为0x8F还是0x87?
但是我试了这两种配置,但是结果RBR中都只有一个字符。。。
或者还有其他需要配置的,该如何做,请指教??
另外UART需要配置的基本寄存器,都已配置
RXFIFTL sets the trigger level for the receiver FIFO. When the trigger level is reached, a receiver data-ready interrupt is generated (if the interrupt request is enabled). Once the FIFO drops below the trigger level, the interrupt is cleared.
RXFIFTL设定了FIFO的trigger level。
你单步发送字符的时候,看一下中断标志位,看是否是在发送完N个字符后,产生的uart中断事件。