Hi,
Regarding MSP430F2370(Rev C) eratta "USCI16" here,
it mentions that "USCI baud rate generator may halt operation"
and "After halting, additional characters are ignored"
when this issues what will the status of RX flag UCA0RXIFG? will it be set until we reset the USCI itself.
And as a workaround can we use Break detect flag(UCBRK) like below,
//Poll UCBRK and if the break occurs reset the USCI peripheral
(UCA0STAT & UCBRK)
{
UCA0CTL1 |= UCSWRST; // Set SW Reset
UCA0CTL1 &= ~UCSWRST; // Resume operation
}
As the probabilty of occurance is very low we couldn't check whether this
code works properly or not.
I know the recent chip version has fixed this issue, but we need to use few Rev C chips
with proper workaround.
Thankyou,
Prad