I will try to explain my problem.
I am using Uart1 for both transmitting and receiving data. For RX, I have set a interrupt handler to catch the incoming data from NVIC. Both TX and RX are working ok when they are independent.
However, when there is lots of TX data under transmission, it appears that the Uart loses the RX incoming events. If I send a few events to Tiva (so RX flag would set the INT_UART1), it loses. Only when I send a burst of lots of these data, it catches some of them.
I would like to set a kind of preemption clause in order to <even if there is transmit data ongoing>, it should stop/flush the transmission (if it is necessary) and prioritize the RX handler (so I can read the data as urgent). I have already set the priority for INT_UART1 as 0x00, and the other priorities more than that, but it did not work.
Any ideas?
Thanks in advance.