mpc5748g uart rx dma and timeout problem

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

mpc5748g uart rx dma and timeout problem

534件の閲覧回数
1113240626
Contributor II

 I use mpc5748g to develop uart rx dma and timeout feature. But I encountered some problems.When I configured the program and ran it, the first rx timeout interrupt could enter and read data normally, but after that, the timeout interrupt kept triggering and I couldn't clear it. please help me!!

1113240626_0-1745372754635.png

1113240626_1-1745372808818.png

1113240626_2-1745372827321.png

 

 

0 件の賞賛
返信
2 返答(返信)

461件の閲覧回数
PetrS
NXP TechSupport
NXP TechSupport

Hi,

what is UARTPTO register setting. Does a UARTCTO reset on timeout?
You can try to set/clear SR bit on timeout as description of TO bit shows.

BR, Petr

0 件の賞賛
返信

374件の閲覧回数
1113240626
Contributor II

 Thank you for your reply!!

I have tried the following points, but none of them worked。

1、write UARTPTO for clear UARTCTO.

1113240626_0-1747016084333.png

2、write 1 to TO bit。

0 件の賞賛
返信