Hey folks,
I'm working with the EDMA3 module to talk to the VCP2 on a C6455. I'm using shadow region 4 (configured via DRAE/H) to split up this DMA functionality from some other DMA transfers that will be unrelated (otherwise I'd use the global region).
My problem is that the first VCP2 transfer works perfectly, and the completion interrupt is triggered correctly. However, when the ISR writes to the Interrupt Clear Register (using CSL:
regionIntr.region = CSL_EDMA3_REGION_4;
regionIntr.intr = 1 << CSL_EDMA3_CHA_VCP2REVT;
regionIntr.intrh = 0;
CSL_edma3HwControl(hModule, CSL_EDMA3_CMD_INTRPEND_CLEAR, ®ionIntr);
This seems to have no effect on the Interrupt Pending Register. So, even though my second VCP2 transaction goes off without a hitch, I never get interrupted because the Interrupt Pending bit is still high. I have set the DMA Region Access register with appropriate masks for my TCCs (which I have set to be identical to the event IDs for the VCP2), and I have (obviously) enabled those interrupts.
Any suggestions as to why I can't clear the "pending" bit? Thank you!
Colin