Tool/software: Code Composer Studio
Hello,
I am toggling a GIO pin, and generating interrupt at the rising edge. I am able to see that the interrupt flags are getting set, but the ISR is not getting serviced. I am not able to resolve why the ISR (&gioHighLevelInterrupt in this case) is not getting serviced.
Please help me resolve the issue.
Do I have to configure any settings in the core registers? If so, how to do it?
Below is the code snippet of main function:
int main(void)
{
/* USER CODE BEGIN (3) */
/* USER CODE END */
_enable_interrupt_ ();
gioInit(); //GIO initialization
gioEnableNotification(gioPORTA, 4); //enables interrupt for GIOA 4
vimEnableInterrupt(9, 0); //enables interrupt for the selected channel
vimChannelMap(2, 9, &gioHighLevelInterrupt); //maps the request to the respective channel
gioToggleBit(gioPORTA, 6); //toggle GIOA 6
while (1)
{
;
}
return 0;
}
Please let me know if I have missed anything.
Regards
Sanjana V