UART1 is transmitting data with half of the baud rate value that i have set in the component settings

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

UART1 is transmitting data with half of the baud rate value that i have set in the component settings

ソリューションへジャンプ
954件の閲覧回数
durgeshtanuku
Contributor II

Hello,

I have set the uart1 baud rate to 115200 in uart component settings. But on the uart pins, I am getting the data with half the baud rate i.e., 57600.

Help me by reviewing my uart component and cpu setting I am attaching.

regards,

Durgesh

ラベル(1)
タグ(1)
1 解決策
790件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Durgesh,

could it be that you are using a very old CodeWarrior/Processor Expert? Because I believe back in V10.2 there was a problem with the clock divider, see http://mcuoneclipse.com/2013/02/17/be-aware-of-the-baud-problem/.

This has been fixed in the susequent release (the actual/current release is v10.6).

Erich

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
791件の閲覧回数
BlackNight
NXP Employee
NXP Employee

Hi Durgesh,

could it be that you are using a very old CodeWarrior/Processor Expert? Because I believe back in V10.2 there was a problem with the clock divider, see http://mcuoneclipse.com/2013/02/17/be-aware-of-the-baud-problem/.

This has been fixed in the susequent release (the actual/current release is v10.6).

Erich

0 件の賞賛
返信
790件の閲覧回数
Rick_Li
NXP Employee
NXP Employee

Hi Durgesh Tanuku,

Could you please check the value of External Reference Clock to see if it is right?

is it the right frequency that you are using in your board?

0 件の賞賛
返信