AnsweredAssumed Answered

UART_DATA register

Question asked by priyanka v on May 24, 2017
Latest reply on May 30, 2017 by Kerry Zhou

Hi,

 

I am using MKL17Z microcontroller in my project.I had inplemented IRQ based UART for transmit and receive.

I send command through utility to the controller.(ex 0x03).I receive the response(0xf3).

 

Now my issue is i send or tansmit the input command continuously for every 1sec.

I receive the response back on the utility.But after 30minutes i notice that ,when the command is transmitted

control enters the receive_isr function and reads the data register(UART2_D) for command.But the command received 

is 0x00 instead of 0x03.

If i again explicitly call the receive_isr again ,i can get the proper command 0x03.

 

I am facing this issue only after 20 to 30 minutes continuous woking of UART.

Outcomes