I've just taken a new board with an MSP430F5510 on it, and starting from sample code, started writing a driver for the UART. It works in Tx, but in Rx I am always getting framing errors. I am using REFO as ACLK, and as the baud-rate generator, but even when slowing down to 1200bps, it is not working. At all rates (1200, 2400, 4800 and 9600), the Tx comes out fine, the Rx comes, 99.9% of the time with a framing error (UCA1STAT shows 0x24, meaning UCRXERR and UCOE), and when that fails to happen, and the UCA1STAT register does not register an error, (0.1% of the time), the incoming character is wrong; I have been sending 0x31, and it will be received as 0x32 in the few times I have managed to catch it. I tried slowing the baud rate, moving the generator to SMCLK and sourcing it from a faster DCO (still based on the REFO, this board has no crystal), and no luck - always the same issue.
The sender is a PC using a USB to serial converter, I doubt that it is sending at non-standard rates, although I think my next step is to look at the incoming signal on a scope and try to figure this out, unless one of the experts here can tell me why this might be happening. I haven't used the MSP for a long time, and a lot of the 5510 features are new to me, but this part seems more or less (except for the REFO) like I used to write using a 32K crystal.