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

跳至解决方案
957 次查看
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 解答
793 次查看
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 回复数
794 次查看
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 项奖励
回复
793 次查看
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 项奖励
回复