Delbert Martin IV wrote:
When I Send a byte with USART1 on an MSP430F149 It double Sends the byte, which causes CHAOS to anything I am working with. I'm probably not doing something right, anyone know what might cause this phenomenon.

i'm using the USART1 without problems

It sends the second byte about 1 uS after the first, which is faster than my program does it, ~68uS. So Im pretty sure its something in hardware.

are you sure you're not writing the byte twice to the TXBUF1?

i usualy poll TXEPT to ensure that the last byte was sent:

void putchar(char c) {
    while (!(TXEPT & UTCTL1)) {}
    TXBUF1 = c;
}

chris

Reply via email to