Hello,
I'm currently implementing the FreeMODBUS library on the TM4C123GH6PM controller. I've run into an issue with the UART interrupts. A part of the implementation requires an interrupt service routine that is triggered whenever a character can be sent over the UART. So my understanding is that it should be triggered whenever the Transmit FIFO is empty. I'm trying to test my configuration through the USB emulator connection (UART0_BASE), however the ISR is never triggered due to an empty transmit buffer, and no data is ever sent. My question is, is it possible to implement such an ISR on this controller, and if so, what am I doing wrong? I guess that alternatively, I could poll the transmit buffer in the main loop to check if it is empty, and call the callback function from there, but I'd prefer to do it in an ISR, as per the FreeMODBUS requirements.
My UART configuration is as follows:
My ISR is set up as follows:
My UARTIntHandler is also correctly setup in the NVIC vector table.
Many thanks,
Ksawery

