AnsweredAssumed Answered

UART1 Baud setting in PE running on KL25 Freedom board problem

Question asked by Lau Chi Chuen on Jan 15, 2013
Latest reply on Apr 4, 2014 by Erich Styger

Hi,

 

I have encountered a problem that when I use the UART1 on KL25 Freedom Board on Pin18, Pin20 of connector J2 for Tx,Rx of UART1, I found the output Baud Rate is half what I set in ProcessExpert Component. For example, if I need 115200, I need to set it to 230400 in the Serial_LDD.

The CPU clock setting and the Serial_LDD settings are attached here.

 

BaudProblem_ClkSetting.png

BaudProblem_UART1Setting.png

 

I have checked it with oscilloscope and proved it by PC terminal. I am using CodeWarrior for MCU version 10.3

 

I hope it's helpful to be fixed in the coming version of PE.

 

Best Regards'

Stephen Lau

Outcomes