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.

LP-MSPM0G3507: Uart Tx interrupt handling

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: MSPM0G3507, SYSCONFIG

Tool/software:

Hello All,

I am using the TI MSPM0G3507 board. I have configured the UART in normal mode with a baud rate of 19200.

Uart Config:

hardware FIFO (TX- FIFO & RX- FIFO) is disabled and enabled the TXINT and all error interrupts from IMASK register.

Ex: I want to send buffer[]={1,2,3,4,5} bytes of data over uart. 

sample code:

void Tx_Isr(void)
{
    uart->TXDATA = buffer[index++];
}

void UART0_IRQHandler(void)
{
    switch (UART0->CPU_INT.IIDX)
     {
        case UART_CPU_INT_IIDX_STAT_TXIFG:
            {
               Tx_Isr();
                break;
             }
         case UART_CPU_INT_IIDX_STAT_EOT:
            {
               UART0_EOT_CALLBACK();
               break;
            }
         default:
          {
            break;
          }
      }
}
Initially I am getting Frame error and Brake error and after that
I am getting TXINT only onetime able to push only one byte '1' on tx line. To send remaining data from buffer TXINT should come multiple time.
Do we have to use EOT interrupt instead TXINT?
I was unable to find clear information in the datasheet and checked the MSPM0 SDK 2.00.01.00 examples for transmitting data using the TX interrupt. Please help with this.
Thanks.