I would like to set the UART to 115200 and 8 MHZ, so I changed my settings to be like this, however there is no transmit or receive! Would you please correct me if I mistaken // ------------ Configuring the UART(USCI_A0) ----------------// // 115200 BAUD, CLK=8MHz UCA0BR0 = 4; UCA0BR1 = 5; // //*ours: UCBRF = 3, UCBRS = 5, UCOS16 = 1 // // BITS| 7 6 5 4 | 3 2 1 | 0 | // UCAxMCTL = | UCBRFx | UCBRSx | UCOS16 | UCA0MCTL = 0x3B; Thank you
↧