Other Parts Discussed in Thread: SYSCONFIG
Use AD22 as input pin and enable interrupt for rising edge trigger detection,but it can not enter the Interrupt Service Function
there is my code,is there any problem?run in R5F
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.
Use AD22 as input pin and enable interrupt for rising edge trigger detection,but it can not enter the Interrupt Service Function
there is my code,is there any problem?run in R5F
Hi ting,
Did you complete the pinmux configuration for GPIO0_7? You can refer to the TI SysConfig tool to help with this.
Regards,
Neehar
yes, i completed the pinmux configuration for GPIO0_7
and the GPIO0_7 is int the main domain, i check the address is correct,and the GPIO0_7 can get input io status success, but only the interrupt can not be detetctd, and can not enter the Interrupt Service Function
Hi ting,
gpio_cfg.intCfg[0].intNum = CSLR_R5FSS0_CORE0_INTR_R5FSS0_INTROUTER0_OUTL_0 + 0;gpio_cfg.intCfg[0].intcMuxNum = INVALID_INTC_MUX_NUM;gpio_cfg.intCfg[0].intcMuxInEvent = 0;gpio_cfg.intCfg[0].intcMuxOutEvent = 0;
You will want to adjust the interrupt configuration for the specific pin number GPIO0_7. Therefore, you will want to make changes to the interrupt configuration gpio_cfg.intCfg[7]. Refer to this FAQ for more information.
Thanks,
Neehar