AnsweredAssumed Answered

Frdm-KLZ25z Uart0 Recv problem

Question asked by Ajinkya J on Apr 5, 2016
Latest reply on Apr 5, 2016 by Kerry Zhou

Hello All,

I'm using FRDM-KLZ25Z board.

 

I wrote a program for UART0 driver. Test the program by typing keyboard and send back on the screen the char that i typed. I am using interrupt method then get the value from UART0->D register.

 

However, this program works for sending out the chars. it does not work for read the char from the keyboard.

any idea why? this so strange.

 

I have no problem sending out a string. just cannot read a right value back. I have tried many ways, bypass openSDA, connect a serial port directly; using static volatile variable. but it does not work at all.

 

Thanks in advance

Outcomes