i have 2 DSP connected via SRIO
The first one send data to shared memory of the second and a doorbell
The doorbell should trigger an interrupt activating a DMA transfer and moving the data in the L2 of the Core 0.
I've created a setup for the CHIP INTERRUPT CONTROLLER
//3. global Enable
pSiCIC_REGS[2].glb_en = 1;
// 3a Route Doorbell Interrupt to Intdst0
pSiSRIO_DOORBELL_ICRR[0].reg_1 &= ~0xF;
// 3b Enable System Interrupt 93 (INTDST1)
pSiCIC_REGS[2].sys_enable_ind_set = 93; //System Interrupt Enable Indexed Set Register allows enabling an interrupt.
// 3c Map System Interrupt 93 to Channel 0
pSiCIC_REGS[2].ch_map[93/4] &= ~(0xFF<<(8*(93 & 3)));
// 3d Map Channel 0 to Host Interrupt 0
/*Channel to Host Mapping is Fixed*/
// 3e Enable Host Interrupt 0
pSiCIC_REGS[2].host_enable_ind_set = 0;
I'm trying during the debug to see if it's all workyng correctly but the doorbell interrupt is capture by the Doorbell Interrupt condition Status register, but not in the System Interrupt Status Raw/Set Registers
am i missing something?