Other Parts Discussed in Thread: MSP430G2553, CC3200
Tool/software: Code Composer Studio
Hi,
Now i'm using cc3200 launchXL with latest sdk ,code where running using ccs v7.i have a problem with uart communication with another controller.I just connected the uart lines with an msp430g2553 development board ,ground where also connected .cc3200 have a read function,msp has a write function which send a string continuously but the problem is cc3200 still waiting to get a character
while(HWREG(ulBase + UART_O_FR) & UART_FR_RXFE)
{
}
here.Then i checked both controller independently ,they works fine with 'tereterm' terminal . Is there anyone to explain the reason that how this happens.How can i solve it .plese help me because i'm stuck in here.
(((when this problem occured i just changed the smclk and the baud rate to 16000000 and 9600 but no hope there have no change
#define UART_BAUD_RATE 9600 //115200
#define SYSCLK 16000000 ////80000000
#define CONSOLE UARTA0_BASE
#define CONSOLE_PERIPH PRCM_UARTA0
)))))
UART FUNCTION BELOW:
void uart_receive()
{
while(1)
{
cCharacter = UartGetChar();
g_iCounter++;
if(cCharacter == '\r' || cCharacter == '\n')
{
cString[iStringLength] = '\0';
iStringLength = 0;
strcpy(buf,cString);
break;
}
else
{
cString[iStringLength] = cCharacter;
iStringLength++;
}
}
}