Switching lpuart baudrate issue for RT1052

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Switching lpuart baudrate issue for RT1052

ソリューションへジャンプ
456件の閲覧回数
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 解決策
446件の閲覧回数
jay_heng
NXP Employee
NXP Employee

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

元の投稿で解決策を見る

2 返答(返信)
447件の閲覧回数
jay_heng
NXP Employee
NXP Employee

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

443件の閲覧回数
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 件の賞賛