How to set Uart1 Baud Rate over the maximum in PE

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

How to set Uart1 Baud Rate over the maximum in PE

726 次查看
matteocrulli92
Contributor I

Hi everyone,
I'am working with TWRK65F180M evaluation borad, and I would like to set Uart1 (instantiated with processor expert) a baud rate equal to 2Mbps (2000000 baud). PE however gives me the possibility to start up to a maximum of 1310720 baud (in the timing dialog).

To get around the problem I manually set the baud rate in the UartCom1.c file related to Uart1 (automatically generated by PE), but it didn't solve it.

Could anyone recommend a way to overcome this upper limit for the baud rate?

 

0 项奖励
回复
1 回复

714 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @matteocrulli92 ,

You can use your own code to config, also can use MCUXpresso IDE, there is peripheral tool to configure, or refer to the generate code:

https://www.nxp.com/design/software/development-software/mcuxpresso-integrated-development-environme...  

Alice_Yang_0-1681464892800.png

 

BR

Alice

 

0 项奖励
回复