MKL16 UART1 baud rate clock path / 57600 limit

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MKL16 UART1 baud rate clock path / 57600 limit

Jump to solution
652 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Solution
486 Views
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

View solution in original post

2 Replies
486 Views
jacobjennings
Contributor III

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

0 Kudos
487 Views
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