LPUART Rx ISSUE with Interrupt

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPUART Rx ISSUE with Interrupt

1,189 Views
zivzzhang
Contributor II

Hi NXP Team:

I have a question when developing the S32K LPUART function(interriput enable) with PE MICERO debugger.

In debugging mode,When I do the order of operations as blow,  UART can't work as INTERRUPT cannot be triggered.

1:make brake point-->MCU stop run(external device is sending data)

2:MCU Rx PORT recive the data, but do not any actions as stop run

3:click RUN-->MCU go on running--> but the UART can't recieve data any more

It seems like that LPUART won't work after one failure,except Power OFF/ON or Reset MCU.

Can you give some suggest!!!

Thanks and Best Regards

ZZ

2 Replies

902 Views
zivzzhang
Contributor II

Hi Daniel:

Thanks for your reply and I have solved the issue before.

The solution is the same as you said!

Thanks~

Ziv

0 Kudos

902 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please check STAT_OR Receiver Overrun Flag and clear the flag if set.

Thanks,

Daniel