Part Number: MSP430FR5962
Hi Ti Experts,
I want to use UCA0 registers for UART and configure to 115200 baud rate. I have checked examples but did not find them anywhere.Can anyone help me out with configuration to 115200 baud rate. I have done it for 9600 baud rate which has this configuration
UART_SEL0 &= ~(UART_TXD_PIN + UART_RXD_PIN);
UART_SEL1 |= (UART_TXD_PIN + UART_RXD_PIN);
UCA0CTL1 |= UCSWRST; // **Put state machine in reset**
UCA0CTL1 |= UCSSEL_1; // CLK = ACLK
UCA0BRW = 3; // 9600 baud
UCA0MCTLW |= 0x5300;
UCA0CTL1 &= ~UCSWRST;
For 115200 Do I need to select clock for SMCLK and what are the configurations we should take? can anyone please point it out that?
Thanks
Manish