Switching lpuart baudrate issue for RT1052

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Switching lpuart baudrate issue for RT1052

跳至解决方案
799 次查看
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?

                                      

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
789 次查看
jay_heng
NXP Employee
NXP Employee

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

在原帖中查看解决方案

2 回复数
790 次查看
jay_heng
NXP Employee
NXP Employee

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

786 次查看
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 项奖励
回复