Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: Configuring the UART(USCI_A0)

$
0
0
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

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>