Hi, I am trying to use a GPIO signal as a HWI on a TMS320C6454 DSP. The HWI I created is never executed.
I will try to explain what I am doing to set up the HWI.
Let's say I'd like to use GP[6] rising edge for the HWI. In main(), I configured the GPIO registers as follows: GP[6] is set as an input (in GPIO_DIR), BINTEN is set to 1, and the corresponding bit for GP[6] in RIS_TRIG is set.
Also in main(), this line executes:
C64_enableIER(C64_EINT6);
And these two lines are in the DSP/BIOS Config:
bios.HWI.instance("HWI_INT6").fxn = prog.extern("hwi_gpio6_rising_edge"); bios.HWI.instance("HWI_INT6").interruptSelectNumber = 57;
I have verified the GPIO input is changing. The hwi just does not execute.