mpc5748g uart rx dma and timeout problem

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

mpc5748g uart rx dma and timeout problem

545 次查看
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 回复数

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

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