Hi all,
I'm working on two C6678 connected together with a Hyperlink cable and I've got some issues for passing an interrupt from a DSP to an other DSP.
My use case is as follow:
A DSP "A" configure the EDM3 ressources of a DSP "B" (through Hyperlink) to execute a transfer between L2SRAM of core#0 and MSM.
An interruption occurs at the end of the transfer to notice the DSP "B" that the transfer is completed. The interruption triggers a function and I want that function to send a software interrupt to DSP "A" in order to notice it that the transfer in DSP "B" is completed.
In the interrupt routine in DSP"B" I wrote this :
int_ctrl_val.SIEN = 1;
control_reg.intLocal = 0;
control_reg.int2cfg = 1;
int_ctrl_idx.intCtrlIdx = 0x01;
gen_soft_int.iVector = 0x01;
ret_valeur = Hyplnk_writeRegs (hyplnk_handle, hyplnk_LOCATION_LOCAL, &set_reg) ;
Is that necessary to send an interrupt to a remote device ?
In DSP "A", I correctly set the int2cfg field.
And I correctly mapped in DSP "A" the event #111 (hyperlink_int_0) in order to interrupt the core#0.
I cheked the IFR bit in DSP "A" and it is never set... So that mean the interruption never occur.
Do I forgot something in my interruption function above ?
Thanks for helping me.