Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

DCO UART configuration

$
0
0

Hi,

I use msp430fr5739 with uart. I need to use uart with DCO 8 mHz uart with 9600 bpsand i set the board 8 mHz like;

WDTCTL = WDTPW + WDTHOLD;
PJSEL0 |= BIT4 + BIT5;
CSCTL0_H = 0xA5;
CSCTL1 |= DCOFSEL0 + DCOFSEL1;                     // Set max. DCO setting
CSCTL2 = SELA_3 + SELS_3 + SELM_3;                 // set ACLK = MCLK = DCO
CSCTL3 = DIVA_0 + DIVS_0 + DIVM_0;                       // set all dividers

Now i need to configure UART pins and i do not know how is it. 

Burak


Viewing all articles
Browse latest Browse all 262198

Trending Articles



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