I'm using a char array to store data that I want transmitted to another device using UART.
My TX code for my UART ISR is as follows:
case USCI_UART_UCTXIFG:
if (send_buffer[current_send] != '\0')
UCA1TXBUF = send_buffer[current_send++];
else
UCA1IE &= ~UCTXIE;
break;
The first transmission is fine, but after
UCA1IE &= ~UCTXIE;
is executed, I can't get the ISR to send data again. I thought all I had to do was reenable the TX interrupts:
UCA1IE |= UCTXIE;
Am I missing something?
