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.

主机不能响应DSP(C6678)的MSI中断



您好:

我的问题是关于PCIe接口的MSI中断。C6678作为EP端,向PC机发送MSI 中断,PC机用windriver监听,却收不到中断。按照MSI 中断的机制,我的程序流程如下:

       1.读取MSI_address寄存器的值,读出的值是0xFEEFF00C。读取MSI_DATA寄存器的值,读出的值是0x00004A90。

       2.计算MSI_address对应的DSP PCI 空间的地址,使用region29, PCI 地址=0x60000000+29*0x800000+(0xFEEFF00C)&0x007fffff。

       3.设置outbound寄存器:OB_OFFSET_INDEX29=0xFEEFF00C&0xFF800000。

       4.将MSI_DATA的值赋给PCI地址。