This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Andy, 谢谢你
我昨天看了那个帖子,今天试了试,不知道为什么经过设置后 我的IPR都是0?同时我也不理解你们说的读取TCC的bit位来判断VCP2是否异完。
我首先调用 EDMA_intEnable(tccIntNum)函数来设置 IPR,这个tccIntNum的函数是指EDMA分配给VCP2的28或者29通道吗?
然后通过调用CSL_edma3Init(context),CSL_edma3Open(&edmaObj,CSL_EDMA3,NULL,&status)后,通过CSL_edma3GetIntrPendStaus(hModule,CSL_EDMA3_REGION_0,&demaIntrLo,&edmaIntrHi)函数来读取这个status。demaIntrLo和edmaIntrHi是不是对应IPR的高32bits和低32bits?这两个形参作为输入,应该怎么设置?
谢谢。