想用edma从core0的local L2搬移到core1的local L2。core0上的程序传输结束后,core1的程序能够收到中断。
问题:core1上只需要安装edma中断就可以了么?core1也需要初始化edma和channel么?
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.
想用edma从core0的local L2搬移到core1的local L2。core0上的程序传输结束后,core1的程序能够收到中断。
问题:core1上只需要安装edma中断就可以了么?core1也需要初始化edma和channel么?
andy你好,问题是如果我先跑core0上的edma等的初始化以及,再跑core1,core1可以收到中断
如果先跑core1,再跑core0,core1就收不到中断了。
是不是core1上也要加上下面这段代码?
regionIpr.region = CSL_EDMA3_REGION_GLOBAL;
regionIpr.intr = 1 << (channel_num);
regionIpr.intrh = 0;
CSL_edma3HwControl(hModule1,CSL_EDMA3_CMD_INTR_ENABLE, ®ionIpr);