This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UART/IrDA mode lost characters

Expert 1125 points
Other Parts Discussed in Thread: MSP430F2370

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 

  • I do not have an answer. But I do have a related question about UART/IrDA.

    USCI21 is fixed in newer versions of MSP430F23x0. Is it fixed or going to be fixed for MSP430F24x(1) and MSP430f241x?

  • Prad said:

    ... I know the recent chip version has fixed this issue, but we need to use few Rev C chips  ...

    I am not sure about that! I am using F2417 Rev E. According to the Errata, USCI16 is in Rev A only. Rev B,C,D,E do not have USCI16 bug. But my experiences are that USCI16 is still there.

    --OCY

**Attention** This is a public forum