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.

MSP430F5252: Uart configuration drift

Part Number: MSP430F5252

Hello,

I'm having an issue that I can't explain with my product.

I use an MSP430F5252 with TI-RTOS (tirtos_msp43x_2_20_00_06) and when I set the Uart driver as recommended by the datasheet and this :

I sometimes get corrupted data.

{
    .outputBaudrate = 9600,
    .inputClockFreq = 32768,
    .prescalar = 3,
    .hwRegUCBRFx = 0,
    .hwRegUCBRSx = 3,
    .oversampling = 0
},

But if I set this config below, it seems to be ok :

{
    .outputBaudrate = 9600,
    .inputClockFreq = 32768,
    .prescalar = 3,
    .hwRegUCBRFx = 0,
    .hwRegUCBRSx = 4,
    .oversampling = 0
},

Is there any reason that would explain such a thing ?

Thanks for your help,

Clement

**Attention** This is a public forum