MKL16 UART1 baud rate clock path / 57600 limit

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

MKL16 UART1 baud rate clock path / 57600 limit

ソリューションへジャンプ
1,338件の閲覧回数
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,172件の閲覧回数
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,172件の閲覧回数
jacobjennings
Contributor III

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

0 件の賞賛
返信
1,173件の閲覧回数
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