AnsweredAssumed Answered

UART0 not working with KE06

Question asked by vikas shrivastava on May 26, 2015
Latest reply on May 26, 2015 by Kerry Zhou

Hi,

 

I am using Freescale Kinetics KE06 MCU for my project.

Most of the things on the MCU are up and working such as CAN, UART1 and UART2 but the UART0.

 

Configuration for UART0 is expected to be identical to UART1 and UART2 but i am really stuck with UART0.

UART1 and UART2 are working perfectly on 19200 bps with break field enabled (for LIN) with using default MCU pins.

The only difference for UART0 compared to other UARTs configuration is - PIN assignment from default (PTB0-PTB1) to PTA2 and PTA3.

For the UART0 pin reassignment from PTB0/PTB1 to PTA2/PTA3, other than UART configurations i had additionally did -

SIM->PINSEL |= SIM_PINSEL_UART0PS_MASK;

 

Even with above additional configuration UART0 doesn't work, either on FRDM evaluation board or my final/production hardware which uses only KE06 MCU (not K20/IRDA/Accel sensor etc as Eval board).

 

For more explanation on doesn't work - i am able to receive what i am sending using loopback mode but when i connect my actual device which is expected to receive/tx data over UART0, doesn't receive anything.

 

Could you please let me know if i am missing something.

Do i need to do additional setting for PIN reassignment.

 

Please let me know if i am clear with my question.

 

Thanks

Outcomes