I am developing code for the C674x DSP on the OMAP L138, I need to trigger an interrupt on one of the GPIO bank 3 (event 52, SYS_INT_GPIO_B3INT) signals to trigger HWI 7. The DSP is running SYSBIOS.
I read through the information in the posts below and it looks to me like I have everything configured to support this feature (pinmux, system interrupt, hwi etc.). But I'm not able to detect any interrupts on the GPIO bank 3 when the GPIO signal changes state. I have verified the hardware using an oscilloscope.
http://processors.wiki.ti.com/index.php/Configuring_GPIO_Interrupts#GPIO_ISR
http://processors.wiki.ti.com/index.php/Setting_up_interrupts_in_DSP_BIOS
PFA, the code for the low-level driver and the associated unit-test. Eventually I will need to to check which specific GPIO caused the interrupt, but for now I'm only looking for the GPIO bank interrupt. What am I missing in my configuration? Would appreciate any suggestions you have to debug this issue.
Thanks,
Dinesh