UART baud-rate problem in frdmk64

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

UART baud-rate problem in frdmk64

1,335 Views
sudhakarp
Contributor V

Hi,

i am using KSDK 1.1.0 example and KDS 2.0 IDE. am working on FRDMk64f120 controller.

     i am trying to change 38400 baudrate. but am getting junk value. its working fine with other baudrate . and also am using all 5-UART.

UART-0 and UART-1 working fine with 38400. but 38400 baudrate not working with UART-2,UART-3,UART-4. its working fine with other baudrate .what could be the problem?

i am doing same baudrate configuration setting for All UART. i mentioned below,

UART_HAL_SetBaudRate (UART0_BASE,120000000U,38400 );

UART_HAL_SetBaudRate (UART1_BASE,120000000U,38400 );

UART_HAL_SetBaudRate (UART2_BASE,120000000U,38400 );

UART_HAL_SetBaudRate (UART3_BASE,120000000U,38400 );

UART_HAL_SetBaudRate (UART4_BASE,120000000U,38400 );

only problem 38400 baudrate. please give some solution.

regards,

sudhakar p

0 Kudos
Reply
2 Replies

925 Views
soledad
NXP Employee
NXP Employee

Hello,

There are some changes and improvements in the new version of KSDK. Could you please try using the new KSDK version?, this is available at the following link:

http://www.freescale.com/tools/embedded-software-and-tools/run-time-software/freescale-mqx-software-...


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

925 Views
sudhakarp
Contributor V

hi,

     i already wrote lot of Application code using KSDK1.1.0. so suddenly how can i switch to KSD1.3.0. because i used lot of library like tcp/ip ,flash ,DSPI. i cant change all my application code to KDK1.3.0. because its giving lot of error while switching to other version. is any other solution.

     and also i have UART parity problem also. i tried to use

1)7E1 -7bit, even parity ,one stop bit

2)8N2

3)7E2 is not working

is all problem solved in KSDK1.3.0..? for this which KDS version KDS2.0 or KDS3.0 ? and also can you give solution for parity problem also. i already discussed  parity problem with community person but still am struggling with this one.i am not get solution for this one.

regards,

sudhakar p

0 Kudos
Reply