Hi,
We are using MSP430i2041 for our application and we are trying to send characters over UART(9600, 8N1)but getting the junk values over it.
We are using the example available in MSP430ware along with the low_level_init.c added to the code, below is the UART configuration,
P1SEL0 |= BIT2 | BIT3; // P1.2/3 eUSCI_A Function
P1SEL1 &= ~(BIT2 | BIT3);
UCA0CTL1 |= UCSWRST; // Hold eUSCI in reset
UCA0CTL1 |= UCSSEL_2; // SMCLK
UCA0BR0 = 0xAA; // 9600 baud
UCA0BR1 = 0x06;
UCA0MCTLW = 0xD600; // 16.384MHz/9600 = 1706.6667 (See UG)
UCA0CTL1 &= ~UCSWRST; // Release from reset
UCA0IE |= UCRXIE; // Enable RX interrupt
We are not connected the 20Kohm resistor to the Rosc pin does this effect to the accuracy of the clock?? Or does it requires additional configuration??
Best Regards,
Santosh.