MKL16 UART1 baud rate clock path / 57600 limit

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

MKL16 UART1 baud rate clock path / 57600 limit

跳至解决方案
1,332 次查看
jacobjennings
Contributor III

In a Processor Expert project (no SDK), I see UART0 clock path is pretty normal, but for UART1 and UART2 the OUTDIV4Presc scalar of 2 is preventing speeds over 57600.

 

OUTDIV4Presc seems to be associated with flash configuration (see 3rd screenshot). Why is this in the clock path for UART1? Is there a speed limit on UART1 and UART2?

 

Thanks

 

136468_136468.PNGbaud0.PNG

136615_136615.PNGbaud1.PNG

136614_136614.PNGbaud2.PNG

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
1,166 次查看
marek_neuzil
NXP Employee
NXP Employee

Hello,

The issue is caused by clock signal distribution. The UART0 has configurable clock source but UART1 and UART2 use bus clock only, see the following screenshot of the MKL16Z reference manual:

pastedImage_0.png

在原帖中查看解决方案

2 回复数
1,166 次查看
jacobjennings
Contributor III

Adjusting the slow internal reference clock several times ended up addressing this issue.

0 项奖励
回复
1,167 次查看
marek_neuzil
NXP Employee
NXP Employee

Hello,

The issue is caused by clock signal distribution. The UART0 has configurable clock source but UART1 and UART2 use bus clock only, see the following screenshot of the MKL16Z reference manual:

pastedImage_0.png