here is my video alg run on dm6446:
1:if my video alg run like this will be stable and ok。(dsp run ,and then vicp compute)
{
CPIS_init
for(i=0;i<10;i++)
{
video alg fuction used edma(ACPY3 interface) and L1 RAM
CPIS_affineTransform start
CPIS_wait(vicp_handle);CPIS_delete(vicp_handle);
}
CPIS_deInit();
}
2: but if i change alg order like fallow will stuck after a few minutes。(vicp and dsp run parallel)
{
CPIS_init
for(i=0;i<10;i++)
{
CPIS_affineTransform start
video alg fuction used edma(ACPY3 interface) and L1 RAM
CPIS_wait(vicp_handle);CPIS_delete(vicp_handle);
}
CPIS_deInit();
}
i think there is some thing wrong: EDMA Configurations for VICP and DSP。
can you help me to fix this problem?thank you。
here is my dsp server cfg file:
var DMAN3 = xdc.useModule('ti.sdo.fc.dman3.DMAN3');
DMAN3.heapInternal = "L1DHEAP";
DMAN3.heapExternal = "DDRALGHEAP";
DMAN3.idma3Internal = false;
DMAN3.scratchAllocFxn = "DSKT2_allocScratch";
DMAN3.scratchFreeFxn = "DSKT2_freeScratch";
DMAN3.paRamBaseIndex = 80; // 1st EDMA3 PaRAM set available for DMAN3
DMAN3.numQdmaChannels = 8; // number of device's QDMA channels to use
DMAN3.qdmaChannels = [0,1,2,3,4,5,6,7]; // choice of QDMA channels to use
DMAN3.numPaRamEntries = 48; // number of PaRAM sets exclusively used by DMAN
DMAN3.numPaRamGroup[0] = 48; // number of PaRAM sets for scratch group 0
DMAN3.numTccGroup[0] = 32; // number of TCCs assigned to scratch group 0
DMAN3.tccAllocationMaskL = 0; // bit mask indicating which TCCs 0..31 to use
DMAN3.tccAllocationMaskH = 0xffffffff; // assign all TCCs 32..63 for DMAN