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.
Hi,
I want to use wkup gpio0 interrupt in main domain, and how to config interrupt router ?
WKUP_GPIOMUX_INTRTR0_OUTP is not connected directly to the R5FSS0/1 but to R5FSS0/1_INTRTR0, and R5FSS0/1_INTRTR0 are connected to R5FSS0/1.
How to configure interrupt routes by Sciclient_rmIrqSet in this case ?
I try config as follow but it failed
rmIrqReq.secondary_host = TISCI_MSG_VALUE_RM_UNUSED_SECONDARY_HOST; rmIrqReq.src_id = TISCI_DEV_WKUP_GPIO0; rmIrqReq.src_index = 0; /* Set the destination interrupt */ rmIrqReq.valid_params |= TISCI_MSG_VALUE_RM_DST_ID_VALID; rmIrqReq.valid_params |= TISCI_MSG_VALUE_RM_DST_HOST_IRQ_VALID; /* Set the destination based on the core */ rmIrqReq.dst_id = TISCI_DEV_R5FSS0_INTROUTER0; rmIrqReq.dst_host_irq = CSLR_R5FSS0_INTROUTER0_IN_WKUP_GPIOMUX_INTRTR0_OUTP_30; Sciclient_rmIrqSetRaw(&rmIrqReq, &rmIrqResp, SCICLIENT_SERVICE_WAIT_FOREVER); rmIrqReq.secondary_host = TISCI_MSG_VALUE_RM_UNUSED_SECONDARY_HOST; rmIrqReq.src_id = src_id; rmIrqReq.src_index = src_index; /* This is the event coming out of the peripheral */ /* Set the destination interrupt */ rmIrqReq.valid_params |= TISCI_MSG_VALUE_RM_DST_ID_VALID; rmIrqReq.valid_params |= TISCI_MSG_VALUE_RM_DST_HOST_IRQ_VALID; /* Set the destination based on the core */ rmIrqReq.dst_id = TISCI_DEV_R5FSS0_CORE0; rmIrqReq.dst_host_irq = CSLR_R5FSS0_CORE0_INTR_R5FSS0_INTROUTER0_OUTL_173; Sciclient_rmIrqSetRaw(&rmIrqReq, &rmIrqResp, SCICLIENT_SERVICE_WAIT_FOREVER);
Thanks
Alex