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.

AM62A7: GPIO interrupt on C75 queries

Part Number: AM62A7

Tool/software:

Hi supporter,

Related to thread AM62A7: GPIO interrupt number and event id on C75 I want to ask more because seem the thing is not clear to me.

Let me ask more detail question. 

1. If I want to use MCU_GPIO0_6 as input interrupt, I will use WKUP_MCU_GPIOMUX_INTROUTER0 source, right? Can I use the same interrupt number 21 fỏ this GPIO?

2. In the example for gpio1_22, even id is defined as : CSLR_C7X256V0_CLEC_GIC_SPI_MAIN_GPIOMUX_INTROUTER0_OUTP_15 + 256U. So what is this even id if I want to use MCU GPIO0_6?

3. Can I use MAIN_GPIOMUX_INTROUTER0_OUTP_14 for event id of Gpio1_22?

Best regards,

J

  • Hi Jack,

    If I want to use MCU_GPIO0_6 as input interrupt, I will use WKUP_MCU_GPIOMUX_INTROUTER0 source, right?

    Yes, the WKUP_MCU_GPIOMUX_INTROUTER0 will be used as source for MCU_GPIO. 

    2. In the example for gpio1_22, even id is defined as : CSLR_C7X256V0_CLEC_GIC_SPI_MAIN_GPIOMUX_INTROUTER0_OUTP_15 + 256U. So what is this even id if I want to use MCU GPIO0_6?

    You will need to use the CSLR_C7X256V0_CLEC_GIC_SPI_WKUP_MCU_GPIOMUX_INTROUTER0_OUTP_0 + 256U as event id.

    3. Can I use MAIN_GPIOMUX_INTROUTER0_OUTP_14 for event id of Gpio1_22?

    Yes, you can use it, but you will need to update the resource allocation for GPIO MUX routers in ${MCU+SDK}/source/drivers/sciclient/sciclient_default_boardcfg/am62ax/sciclient_defaultBoardcfg_rm.c file.

    Regards,

    Tushar