Tool/software:
Dear supporter,
I'm using SDK 10.0.0.14 and working on GPIO interrupt example for C75. I have a little confusion on this example and need your help to make clear.
1. In MCU SDK doc AM62Ax MCU+ SDK: GPIO Input Interrupt, it mentioned that "C75 example is using GPIO1_22 pin in the user expansion connector(J3) for generating GPIO interrupt. For this, the interrupt has to be routed thorough MAIN_GPIOMUX_INTROUTER0 instance 15", does it mean that for each GPIO, it needs to be routed to a different MAIN_GPIOMUX_INTROUTER0 instance. Could you please let me know the relationship between GPIO pin and the MAIN_GPIOMUX_INTROUTER0 instance so I can use GPIO interrupt on different GPIO for C75?
2. Besides, from one of my questions before on this forum, the supported said that intr number is chosen by SDK, if I want to use other GPIO as interrupt, do I need to change the interrupt number when register isr? In this example, intrNum is 21, and eventId is MAIN_GPIOMUX_INTROUTER0_OUTP_15 + 256U
/* Register pin interrupt */
HwiP_Params_init(&hwiPrms);
hwiPrms.intNum = intrNum;
hwiPrms.eventId = eventId; //
hwiPrms.isPulse = 1;
hwiPrms.callback = &GPIO_bankIsrFxn;
hwiPrms.args = (void *) pinNum;
3. With the change as guide from the link, does it affect any GPIO interrupt configuration on other project (A53 & MCU), does it mean that A53 cannot use the instance 15 anymore?
Thank you and best regards,
J.