Hello,
We are using the driverlib\MSP430F5xx_6xx functions included in the MSP430ware_1_60_02_09 version. We think that there is an error in the function USCI_A_UART_initAdvance() located in the file usci_a_uart.c.
bool USCI_A_UART_initAdvance(..., uint16_t clockPrescalar, ...)
{
...
//Modulation Control Registers
HWREG8(baseAddress + OFS_UCAxBRW ) = clockPrescalar;
...
}
Since the varaible clockPrescalar is an uint16_t and the OFS_UCAxBRW is a word register. The operation should be HWREG16(baseAddress + OFS_UCAxBRW ) = clockPrescalar;
Regards,
Raul.
From MSP430x5xx and MSP430x6xx Family: User's Guide revM page 913:
