Part Number: TMDSEVM6678
Other Parts Discussed in Thread: TMS320C6678
Hello, I'm testing EDMA3 LLD ,my environment is as follow:
CCS: V5.5
Complier: V7.4.4
EDMA3 LLD : 2_12_01_24
I import the sample project in the edma3 lld package, and I build success, then I want to
test how to request two QDMA channels , then I just adds some code bellow the original code:
qChId1 = EDMA3_DRV _QDMA_CHANNEL_ANY;
qTcc1 = EDMA3_DRV_TCC_ANY;
if(result == EDMA3_DRV_SOK){
result = EDMA3_DRV_requestChannel(hEdma,&qChId,&qTcc1,(EDMA3_RM_EventQueue)
0,&callback1,NULL);
}
the code added is
qChId2 = EDMA3_DRV _QDMA_CHANNEL_ANY;
qTcc2 = EDMA3_DRV_TCC_ANY;
if(result == EDMA3_DRV_SOK){
result = EDMA3_DRV_requestChannel(hEdma,&qChId,&qTcc1,(EDMA3_RM_EventQueue)
0,&callback1,NULL);
}
then I rebuild the project, and it success, but after I run the second EDMA3_DRV_requestChannel function ,the result it returned is "-133",and I found the error code means "The requested QDMA Channel not available", does my method that request two or more QDMA channels right, if it is not right, how can I request two more channels, waitting for your help, thank you!