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.
Tool/software:
Dear Team,
I'm using TMDSCNCD263 evaluation board and i configure 7 gpio's in interrupt mode from which 3 pins are single pin interrupt and 4 pins in bank 3 using bank interrupt I'm using it working fine.
now my question is if i want interrupt for one more pin and i don't want to use bank interrupt as i use XBar Instance ( GPIO_INT_XBAR_VIM_MODULE0_0, GPIO_INT_XBAR_VIM_MODULE0_1, GPIO_INT_XBAR_VIM_MODULE0_2, GPIO_INT_XBAR_VIM_MODULE0_3 ) already how i can configure interrupt for one or more than one pin.. i want more than 20 gpio pin interrupt without using bank.
how i can configure in .syscfg. because if i use same instance then configuration error come.
using bank, it is possible but suppose i want to use different 6 or 7 banks each bank having 2 or 3 pins now how to do?
kindly guide me to state forward way to configure.
thank in advance.
Hi Sahil
Please checkout the following faq: MCU-PLUS-SDK-AM263X: Configuring GPIO Interrupts
Regards,
Akshit
i already check, i want individual gpio pin interrupt (consider 7 or 8), but there is only 4 Xbar Instance if i try to configure the pin with same instance then configuration error occurs. then how i can use separate gpio interrupt (more than 5) with using bank.
There are only 4 GPIO interrupts mapping to VIM0 then CPU core. The interrupt numbers are 144, 145, 146, and 147. This means there you can have 4 ISR's for GPIO modules at max.
If you need more: You'll have to use GPIO bank interrupt. The 16 GPIO pins in the same bank will share the same interrupt number and interrupt ISR.
The GPIOs should be in the same GPIO bank
GPIO[15:0] -- bank 0
GPIO[31:16] -- bank 1
and so on...
To work on multiple GPIO pins from the same bank. All you need to do is:
This should enable you to use as many GPIO pins as you want, upto 139.
Best Regards,
Akshit