I have MSP-EXP430FR2355 PCB Rev A board.
I have built CCS project with the following UART C Program from book by Brock LaMeres, "Embedded Systems Design" page 376
#include <msp430.h> void main(void) { WDTCTL = WDTPW | WDTHOLD; // stop watchdog timer UCA1CTLW0 |= UCSWRST; UCA1CTLW0 |= UCSSEL__SMCLK; UCA1BRW = 8; UCA1MCTLW |= 0xD600; P4SEL1 &= ~BIT3; P4SEL0 |= BIT3; PM5CTL0 &= ~LOCKLPM5; UCA1CTLW0 &= UCSWRST; char message[] = "Hello World "; int position; int i, j; while(1) { for (position=0; position<sizeof(message); position++) { UCA1TXBUF = message[position]; for (i=0; i < 100; i=i+1) { ; } } for (j=0; j<30000; j=j+1) { } } // return 0; }
Above program is expected to send "Hello World " string to CCS terminal.
But is not sending.
So, I have removed Jumper RXD and connected to an Oscilloscope and there is no signal on RDX pin of J101 as shown on below three images.
What is causing the program to not send the UART message string to the CCS terminal please?
Thanks,
SSJ