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.
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.
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);