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.

MSP430FR4133: MSP430 UART Unexpected Behavior

Part Number: MSP430FR4133
Other Parts Discussed in Thread: MSP-EXP430FR4133

Hi everyone

Today, I met unusual problem with UART with MSP430FR4133. I am using driver lib. and code is below;


    //init UART for  1_MHZ default sys freq. BR : 9600
    UART_init(SYS_FREQ_1MHZ);

     UART_writeStr("test\r\n", 0);

    while(1){}

I see on terminal screen that unusual characters

And, I adding delay after UART initialization;

  //init UART for  1_MHZ default sys freq. BR : 9600
    UART_init(SYS_FREQ_1MHZ);

  _delay_cycle(1000000);


   UART_writeStr("test\r\n", 0);

    while(1){}

I see good "test" string on my terminal screen.

Does chip need any delay after UART initialization?


       

**Attention** This is a public forum