AnsweredAssumed Answered

LPUART_IRQHandler is not getting working for the first one byte.

Question asked by Angar Altangerel on Jun 20, 2018
Latest reply on Jun 27, 2018 by Angar Altangerel

I'm a beginner in MCUXPresso and FRDM or kinetis microcontrollers. 


I'm trying to use a LPUART RX interrupt handler. But If I send a single character it doesn't work.

for example If I send 

'A' the interrupt handler doesn't work.


'B' interrupt handler works but LPUART_ReadByte returns 'A' (last byte).


I think it's FIFO related problem but I'm still not sure how to fix it.


RxData Register doesn't get full. (I tried changing uart data bit size and stop bits but still doesn't work).


Experts please help me.

Thank you in advance.


Here is my LPUART init code.