Tool/software:
Hello,
I am working on an application on the AM5728 processor. I am sending data to another processor using McASP1. The other processor sends back the received data to AM5728 again, which is received by McASP2.
I am seeing random errors where the received McASP frame does not match with the transmitted frame. Some data words are repeated, which means they have the same value as that of the previous frame.
For example: If there are 8 16-bit words that are to be received: Word1 to Word8 represent 8 words recd in first frame. and Word9 to Word16 represent 8 words recd in second frame.
McASP Received Frame1 : Word1, Word2, Word3, Word4, Word5, Word6, Word7, Word8
McASP Received Frame2: Word9, Word10, Word11, Word12, Word5, Word14, Word15, Word16
As can be seen, in the second frame, Word 5 is repeated from the first frame, where Word13 was to be received.
On the McASP bus, the data transmitted and received seems to be correct. It is only after receiving the McASP frame, one/two words don't seem to be copied correctly.
The flow of data is a follows:
Other processor -> McASP Frame -> Recd. on McASP Port of AM5728 -> Transferred to a buffer via EDMA -> copied to local buffer for processing.
Could someone please help with what could the issue be?
Thanks,
Dimple