Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

UART with EDMA3 Receive Complete ISR timing issue

$
0
0

(Please visit the site to view this file)Hello All,

Currently I am working on the Modbus protocol. Application is like i am sending commands from Modbus Master on RS-232 Port of OMAP-L137 processor. Command Length is of 8bytes.I have configured the UART2 to work with EDMA3 in FIFO mode.UART2 FIFO size is 8bytes

So i have configured the EDMA3 to receive 8 bytes. So the Acnt=1 byte,Bcnt=8,Cnt=1 for A-synchronisation.

Functionally it is working properly. I am getting the Receive Complete ISR and getting Correct Data.

but problem is that i am facing a performance issue.

the issue is i am getting the receive complete ISR with delay of 3ms.i am getting the EDMA3 Receive Complete ISR 3ms after receiving last byte on RX.

i verified this on scope also. Please refer the below Screen Shot

 

i am also attaching the configuratiuon i did for the UART and EDMA3 drivers.

Is there any one from Ti or Community member who can help me in this issue.

is this really a performance issue or i am missing something in configuration of both the drivers.

anysort of help is appreciated.


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>