Hello,
Can you please help with the following question:
TMS320C6713B
RTDX is turned off. All other peripherals are polled. External RAM is SRAM
I’m having an issue with intermittent DMA transfers from an external device.
This code is an excerpt from the HWI routine for DMA transfer complete.
I have an I/O bit that is set around reconfiguring (ping/pong) the dma channels.
Something is holding off the transfer interrupt for between 5uS and as much as 30uS, and I’ve been unable to determine what might be doing this.
The channel is configured for HWI_INT10.
What could be deferring this interrupt? I think I have RTDX turned off, although it didn’t seem to make any difference. Any suggestions?
FPGA_DMA_DISABLE(); // Disable transfers
SET_FPGA_OUT(GENIO_0_BM); // Turn on I/O
// Re-arm both DMA channels
// Change DMA to other DMA buffers
EDMA_config(hEdmaIRDMA, IR_DMAConfig[curDMABuff]);
EDMA_config(hEdmaUVDMA, UV_DMAConfig[curDMABuff]);
// Re-enable both channels
EDMA_enableChannel(hEdmaIRDMA);
EDMA_enableChannel(hEdmaUVDMA);
CLR_FPGA_OUT(GENIO_0_BM);
FPGA_DMA_ENABLE();