LPUART Rx ISSUE with Interrupt

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPUART Rx ISSUE with Interrupt

2,790 次查看
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 回复数

2,503 次查看
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 项奖励
回复

2,503 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

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

Thanks,

Daniel