AnsweredAssumed Answered

MK61FN1M0VMJ12 - UART0 not working with MQX 4.1

Question asked by venkata preasad on Jun 6, 2015
Latest reply on Jul 1, 2015 by Radek Sestak

hi,

 

We are using MK61FN1M0VMJ12 processor for our application, to create BSP for this processor we used processor expert driver suite and generated code for BSP. As suggested in BSP porting guide we took the required functions from generated cpu.c and cpu.h and merged in Cloned BSP (K60F120M).

 

After merging, we tested the BSP by creating one MQX task and written code for enabling and disabling GPIO, till now everything works fine.

 

Now we are trying to send/receive data from UART0 (Alt4 muxing pins PTF17 an PTF18), using driver code uart.c and uart.h files and methods "uart_init", "uart_putchar" and "uart_getchar", but data received is not correct. Tried adjusting the core clock and baud rate also. Please suggest, if any settigns we need to do in processor expert driver suite for UART0.

 

Note: We tested the MK61FN1M0VMJ12, UART0 is working with same uart driver files without MQX.

 

Please let me know if any details required.

 

Thanks in advance...

Outcomes