Other Parts Discussed in Thread: MSP430FR5994
Hi,
I am trying to send char from MSP430fr5994 MCU to CCS terminal the code is as below. but I cant see the char on terminal. help please.
Terminal settings are as in the pic.
#include <msp430.h>
int main (void){
WDTCTL |= WDTPW | WDTHOLD;
UCA1CTLW0 |= UCSWRST ;
UCA1CTLW0 |= UCSSEL__SMCLK;
UCA1BRW=8;
UCA1MCTLW |= 0xD600;
P6SEL1 &= ~BIT0;
P6SEL0 |= BIT0;
PM5CTL0 &= ~ LOCKLPM5;
UCA1CTLW0 &= ~UCSWRST ;
char A='A';
int i;
while (1){
UCA1TXBUF =A;
for (i=0; i<1000; i++){}
}
return 0;
}