LPUART Rx ISSUE with Interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPUART Rx ISSUE with Interrupt

2,352件の閲覧回数
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,065件の閲覧回数
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,065件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

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

Thanks,

Daniel