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.

Data lost during reception due to UART interruption

Part Number: TM4C1294NCPDT

Hello!

I have a problem with data loss during the UART interrupt, since the character string that I send from a serial terminal is not completely saved in the buffer destined for data reception.

The implementation of the ISR is as follows:

void ISR_UART0(void)
{

    ui32Status = UARTIntStatus(UART0_BASE,true);
    UARTIntClear(UART0_BASE, ui32Status);        //limpia las banderas de interrupción?*/
    i_rx=0;
      while(UARTCharsAvail(UART0_BASE))
      {
             buffer_UART[i_rx]=UARTCharGet(UART0_BASE);
             i_rx++;

      }
}