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.

DK-TM4C129X: Trying to get an interrupt after each uart byte.

Part Number: DK-TM4C129X

Is there an example of how to get a uart interrupt after each byte?

I've tried UARTFIFODisable. Can't get it to work.

  • If your goal is to get an interrupt when the last byte of an odd string is received, the easiest way is to just enable both the receive interrupt and the receive timeout interrupt.  That gives you the efficiency of the FIFO, plus a final interrupt at the end of the string.

    UARTIntEnable(g_ui32Base, UART_INT_RX | UART_INT_RT);

  • Not sure if you solved your problem but the UARTCTL register has a bit called EOT (End Of Transmission). With this bit enabled and UART FIFO disabled (so that each transmission is only one byte) you should get the interrupt you want.

    See this thread for ideas: e2e.ti.com/.../654363