Switching lpuart baudrate issue for RT1052

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Switching lpuart baudrate issue for RT1052

Jump to solution
798 Views
danielsu
Contributor II

Hi Sir,

  We are developing product with RT1052 (MCUXpresso and SDK) and have the requirement to switch UART uart baudrate while running. However we found such issue to switch to some specific baudrates as below:

             initial baud after boot up               switched baudrate                           issue

                        9600                                     1200/2400                      transmit OK,but receive nothing

                        1200                                         1200                               no issue

                       9600                                     baudrate >=4800                   no issue

         We have tried the method of call LPUART_SetBaudRate and Deinit &init . Both can not work on switch to such low baudrate. We even try to change the clock source of uart module form pll to osc, but no effect.

        Can you help to explain this?

                                      

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
788 Views
jay_heng
NXP Employee
NXP Employee

If initial baudrate is 1200/2400, does it work properly on your side?

View solution in original post

2 Replies
789 Views
jay_heng
NXP Employee
NXP Employee

If initial baudrate is 1200/2400, does it work properly on your side?

785 Views
danielsu
Contributor II

Hi  Jay,

  Solved. The issue is caused by upper layer bytes timeout based on baudrate setting. Lower baudrate should have larger timeout value. 

   Thanks for your support.

   

0 Kudos
Reply