When I write one byte into U0THR, the THRE & TEMT bit in U0LSR is 0. How can I know when the Tx fifo is full, or how many bytes left in the fifo when the fifo is not empty. I want to sent message by polling.
Did you enable the interrupt? if no, please enable the interrupt in U0IER.
never-displayed