Forum Discussion

VCham's avatar
VCham
Icon for Occasional Contributor rankOccasional Contributor
7 years ago

MSGDMA MM to ST stuck on busy

Hello,

I am having an issue where my MSGDMA engine completes 1 transaction and then hangs.

In my application I have a DDR memory connected via a SDRAM hard memory controller to the input of the MSGDMA, the output gets sent out over Ethernet. The MSGDMA has been configured according to the following picture.

During set up, I reset the MSGDMA, once it's done resetting, I enable interrupts.

During transactions, I check that the interrupt is cleared, the descriptor buffer is empty, and the MSGDMA is not busy.

If all is clear, I send a descriptor that enables the transaction complete interrupt, and I set the length to 1000 bytes.

Once the interrupt asserts, I clear it and prepare the second descriptor.

Using Signal Tap, I see that first descriptor goes through, the interrupt asserts, and gets cleared. The second descriptor gets setup properly and is sent but no interrupt asserts and status register shows that the MSGDMA is busy.

Any advice would be helpful.