Hi
I don't see an error with the UART code.
As reference I have attached three firmware versions for the FRDM-KE06Z which you can load as reference to check the HW.
uTaskerV1.4.12_FRDM-KE06Z_UART1-115kB.bin - this uses the OpenSDA VCOM UART (PTC7 for Tx and PTC6 for Rx) connection to deliver a command line menu shell. After a reset there will be a message sent at 115200 Baud and later it will respond to inputs
uTaskerV1.4.12_FRDM-KE06Z_UART0-PTB-115kB.bin - same but using UART0 (instead of UART1) and the pins are multiplexed to PTB1 for Tx and PTB0 for Rx
uTaskerV1.4.12_FRDM-KE06Z_UART0-PTA-115kB.bin - same but using UART0 (instead of UART1) and the pins are multiplexed to PTA3 for Tx and PTA2 for Rx
I build these with the uTasker project using the defines
#define FRDM_KE06Z
#define DEMO_UART 1
,
#define FRDM_KE06Z
#define DEMO_UART 0
#define UART0_ON_A
and
#define FRDM_KE06Z
#define DEMO_UART 0
respectively.
Beware that on the FRDM-KE06Z board the UART0 UART pins are not connected to the connectors by default since they are used by other peripheral connections. There are zero-Ohm resistors to modify this if needed, therefore measure the Tx output directly at the processor pins to be sure that it is not a measurement issue.
Regards
Mark
http://www.utasker.com/kinetis/FRDM-KE06Z.html