Hi,
I am trying to set up the UART (USCI_A0) on the msp430 to talk to the computer over the com port. I have set up the UART like in examples i've looked at and it is exactly the same as the example code that comes with the ez430-RF2500 (the sensor monitor project). However, every time I try to connect to the com port though a hyperterminal like TeraTerm or Termite, it errors that it cannot connect to the com port. I'm sure I have the com settings correct (9600 baud, 8bits, 1stop, no parity, no flow control). Here is my init code:
BSP_Init();
//init UART
P3SEL = 0x30; //put uart function on the pins
UCA0CTL1 |= UCSSEL_2; //select the UART clock
UCA0BR0 = 0x41;
UCA0BR1 = 0x03; // 9600bps means 833 on the timer
UCA0MCTL = UCBRS_2;
UCA0CTL1 &= ~UCSWRST; //starts the UART
IE2 |= UCA0RXIE;// | UCA0TXIE; // enable uart interrupts
SMPL_Init(sRxCallback);
__bis_SR_register(GIE);
Thanks for any advice you can offer,
Tony