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.
Dear Champs,
Could you please let me know how customer can use IRQ_USER0 interrupt of MAILBOX1 in C66x DSP1?
My customer tried it with below code, but failed.
Could you please check what is a problem and how it should be modified?
Or please let me know where they can find an example for this.
~~~~~~~
dspInst = 1;
CSL_xbarDspIrqConfigure( dspInst, CSL_XBAR_INST_DSP1_IRQ_52, CSL_XBAR_MAILBOX1_IRQ_USER0 );
hHwi_Handle = Hwi_create( 21, Isr_MailBox_Rx, &hwiParams, &eb);
Thanks and Best Regards,
SI.
Hi SI,
Can you elaborate more on the nature of the failure? Do you have any error log?
In the meantime, here is another e2e thread with an example of code for creating an interrupt for C66x, can you check this and see if it helps with your issue?
Additionally, for mailbox interrupts, once the interrupt is registered, you will need to enable the mailbox interrupt for the mailbox/user/fifo.
You can use the MailboxEnableNewMsgInt API. For example:
MailboxEnableNewMsgInt(CSL_DSP_MAILBOX1_REGS, 0U /*user ID*/, queueId)
Thanks,
Angela
Hi Angela,
Thanks for response.
This issue was resolved by referring below e2e.
https://e2e.ti.com/support/processors/f/791/t/931094
https://e2e.ti.com/support/legacy_forums/embedded/tirtos/f/355/t/485801
https://e2e.ti.com/support/processors/f/791/p/719026/2652315
Thanks and Best Regards,
SI.