Hi,
I am trying to configure UART for 2Mbps using 12MHz crystal frequency,
initially i tried 1Mbps using 4Mhz crystal frequency, i can transmit the data and there a few characters provided error, but i am unable to receive it
i have attached the UART code
UCA0CTLW0 = 0x0081; /* SMclk selected for UART */
UCA0BRW = 0x0004; /* prescaler set for baud rate generator */
UCA0MCTLW = 0x0000; /* sampling baud rate generation set for 1M baud rate */
UCA0CTLW0 = 0x0080; /* Uart modules locked */
UCA0IE = 0x0004;
but when i tried for 2Mbps i unable to get a correct response
UCA0CTLW0 = 0x0081; /* SMclk selected for UART */
UCA0BRW = 0x0006; /* prescaler set for baud rate generator */
UCA0MCTLW = 0x0000; /* sampling baud rate generation set for 1M baud rate */
UCA0CTLW0 = 0x0080; /* Uart modules locked */
UCA0IE = 0x0004;
Thanks & Regards
Sasikumar E