Hi PRASANTH S, Sure, you can use UCA1CTL1 |= UCSSEL_2; to select the SMCLK to the UART clock source. However, when you configured the MCU clock here: "UCSCTL4 = SELA_2 + SELS_3 + SELM_3; // REFOCLK IS SOURCE FOR ACLK", you just selected the SMCLK as 16MHz of the DCOCLK. The default source of the SMCLK should be DCOCLKDIV which is DCOCLK/2 as default. You can refer to the device code example named "msp430x54xA_UCS_2.c" for the SMCLK configuration. I highly recommended that you scope the SMCLK by the SMCLK output pin to confirm it. Wei, MSP Customer Applications.
↧