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:
{
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;
}
}
}





