I've implemented a UART example using driverlib from SDK3.20.00.68, and can't get the Rx interrupt to work. I am able to poll using UARTCharsAvail, and properly receive a character. But the ISR is never hit.
Here's the code:
UARTDisable(UART0_BASE);
UARTConfigSetExpClk(UART0_BASE, CPU_CLOCK_HZ, baud, UART_CONFIG_WLEN_8 | UART_CONFIG_STOP_ONE | UART_CONFIG_PAR_NONE);
UARTFIFOEnable(UART0_BASE);
UARTHwFlowControlDisable(UART0_BASE);
UARTFIFOLevelSet(UART0_BASE, UART_FIFO_TX1_8, UART_FIFO_RX1_8);
UARTIntEnable(UART0_BASE, UART_INT_RT | UART_INT_RX);
UARTIntRegister(UART0_BASE, INTRX_DEBUG_IRQHandler);
UARTIntClear(UART0_BASE, UART_INT_OE | UART_INT_BE | UART_INT_PE | UART_INT_FE | UART_INT_RT | UART_INT_TX | UART_INT_RX | UART_INT_CTS);
UARTEnable(UART0_BASE);
if (UARTCharsAvail(UART0_BASE))
{
receive[j] = UART_GetByte(0);
UART_TXByte(empty, receive[j]);
}
void INTRX_DEBUG_IRQHandler(void)
{
receive[j] = UART_GetByte(0);
UART_TXByte(empty, receive[j]);
}