Also, can you please attach more of your code here as well as any related .h or .c files? I'm having a hard time understanding where and how your two code sections above are used (such as in main(), ISR, etc.). In the meantime, take a look at the msp430x54xA_uscia0_uart_04.c example code (attached below). First, I'd recommend changing your configuration flow to match this example code. In the second code section above, I noticed that you're selecting the clocks while resetting the USCI state machine, which should be done first and separately. According to the NOTE in Section 36.3.1 USCI Initialization and Reset in the User's Guide , "configure the USCI_A module only when UCSWRST has been set to avoid unpredictable behavior". Regards, James MSP Customer Applications (Please visit the site to view this file)
↧