Part Number: DRA829V
Hi team,
My customer has a question about configuring the interrupt router for MailBOX.
They configured the interrupt router for MailBOX, but the interrupt handler registered by sending Mailbox message (MailboxSendMessage) is not executed.
Are there any mistakes or other configurations in the interrupt router that need to be configured?
The configuration of the interrupt router was described in the following.
| (A72 core setting) | |||||||||
| err = bios_hwctrl_scicl_create_object(&p_scicl_obj); | |||||||||
| //Interrupt router configuration | |||||||||
| irq_req.secondary_host = BIOS_TISCI_MSG_VALUE_RM_UNUSED_SECONDARY_HOST; | |||||||||
| irq_req.src_id = 213; // J721E_DEV_NAVSS0_INTR_ROUTER_0 | |||||||||
| irq_req.src_index = 436; // J721E_DEV_NAVSS0_MAILBOX_0,pend_intr,0 | |||||||||
| /* Set the destination interrupt */ | |||||||||
| irq_req.valid_params |= BIOS_TISCI_MSG_VALUE_RM_DST_ID_VALID; | |||||||||
| irq_req.valid_params |= BIOS_TISCI_MSG_VALUE_RM_DST_HOST_IRQ_VALID; | |||||||||
| /* Set the destination based on the core */ | |||||||||
| irq_req.dst_id = 213; // J721E_DEV_NAVSS0_INTR_ROUTER_0 | |||||||||
| irq_req.dst_host_irq = 10; // NAVSS0_INTR_ROUTER_0_OUTL_INTR_10 | |||||||||
| bios_scicl_cmd_irq_set_2_0(p_scicl_obj, &irq_req, &irq_resp); | |||||||||
| aMailBoxIntHdr = (FP)HdrcNhifWrapper; | |||||||||
| DHal_EntryItrHandler( | |||||||||
| 74, // Interrupt number Kernel(bios is - 32) | |||||||||
| TLCID_1, // Core ID (1) | |||||||||
| 0, // Mode (Level sense) ※ID Undefined(No VIM_INTMODE_LEVEL) | |||||||||
| 8, // Priority Level (8) ※ID Undefined ⇒ 0, 15, 30 しかない | |||||||||
| aMailBoxIntHdr ); // Interrupt Handler Address | |||||||||
Sent Mailbox message (MailboxSendMessage) on A72 core. * Sent to MAIBOX0 queue0
The registered interrupt handler (HdrcNhifWrapper) is not executed.
Thank you in advance.
Best Regards,
Kenley