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.

GPIO IRQ on DSP side (OMAP3530)

Other Parts Discussed in Thread: OMAP3530, DM3730

Hello,

I want to use GPIO IRQ on OMAP3530. I have programed GPIO IRQ on the ARM side but I can't get it work on DSP side.

- I have configured the GPIO on the ARM side (the configuration is working because the GPIO IRQ work on ARM side)

- I have edited the tconf file of my dsp linux project (I don't use CCS) like this:

------------------------------

bios.HWI.RESETVECTOR = false;
bios.HWI.EXTPIN6POLARITY = "high-to-low";
bios.HWI.ENABLEEXC = true;
bios.HWI.instance("HWI_INT6").interruptSelectNumber=88; 
bios.HWI.instance("HWI_INT6").useDispatcher = 1;  
bios.HWI.instance("HWI_INT6").interruptMask = "all";

------------------------------

- My main file:

-----------------------------

static Fxn myHWI();

Fxn myHWI()
{
    temp = 1;
}

Void main(Int argc, Char *argv[])

{

  HWI_disable();   
  C64_enableIER(C64_EINT6);   
  HWI_ierToWugenMasks(sleepArgs);  
  HWI_applyWugenMasks(sleepArgs);   
  HWI_dispatchPlug(6,myHWI(),NULL,NULL);  
  HWI_enable();       

}

----------------------------

- As you can see I have used "HWI_ierToWugenMasks" and "HWI_applyWugenMasks" but in the "hwi.h" file they seem to be only for omap2430 and omap3430. So I have edited the "hwi.h" to let me use them.

Do you see my mistake ?

Thanks in advance