Hello.
I want that HWI_15 would be triggered for the rising edge on GPIO55 on DM6437.
I set my TConf as following:
bios.HWI.instance("HWI_INT15").interruptSelectNumber = 75;
bios.HWI.instance("HWI_INT15").fxn = prog.extern("test_HWI_15");
bios.HWI.instance("HWI_INT15").useDispatcher = 1;
bios.HWI.instance("HWI_INT15").interruptMask = "all";
I configured GPIO55 as output, GPIO BINTEN with BANK 3, and SET_RIS_TRIG23 with GPIO55.
I also configured a periodic task which toggles the signal of GPIO55.
Tconf setup for the task is as below;
bios.PRD.create("PRD0");
bios.PRD.instance("PRD0").order = 1;
bios.PRD.instance("PRD0").comment = "1ms Periodic Timer";
bios.PRD.instance("PRD0").mode = "continuous";
bios.PRD.instance("PRD0").period = 980;
bios.PRD.instance("PRD0").fxn = prog.extern("test_PRD_clockPrd", "C");
When I run my code, HWI_INT4 was triggered but not HWI_INT15.
It seems that the interrupt is occured on a rising edge.
I also tried the interrupt selection number 2 according to SPRU403s, but I observed the same result.
bios.HWI.instance("HWI_INT15").interruptSelectNumber = 2;
I don't know why HWI_INT4 is triggered, instead of HWI_INT15.
Could someone help me?
Dongseung