Hello !!
I have a problem, cant find a solution for getting out a full string from UART RX BUFFER, I added small code the size 4 just for this example (trying to get 5 chars), I do enter RX interrupt but only seeing the last char .
With TX BUFFER, I have similar implementation and by using TX register I been able to pass all the string .
// UART interrupt service routine
void eUSCIA0IsrHandler(void)
{
if (UCA0IFG & UCRXIFG){
stringBuffer[j++] = UCA0RXBUF;
if(j >= 4){
UCA0IE &= ~UCRXIE;
}
else
{
UCA0IE |= UCRXIE ;
}
}}
How I get the string ?? All I see is the last char of the stream ??
It won't enter the interrupt for each char from the stream .
Thank you !
Feliks