Hello,
I am trying to set an event (event-16) , route it through INT5 and try to handle the interrupt by a small ISR code. In the main program I am setting the value of variable 'j=5'. From the ISR I want to increment it and then I want to check it from the main program. But the ISR is not getting fired. As I set the EVTSET register, the required EVTFLAG bit is also set.I have seen posts in the forum and trying to write the whole thing using C code only by accessing memory mapped registers and the core registers( by calling c6x header file). I am neither using csl libraries nor DSP BIOS, though I was advised to use either of them. But first I am trying to get familiarized with the register level phenomena , then I will go to some higher abstraction level. Can anyone please tell me where is the problem or whether I'm missing something? Do I need to do something in the build settings? I'm attaching my project folder.
I have another doubt. There are six cores in the processor. In my board the ISTB (interrupt service table base) is having different values for different cores after reset. The doubt comes because datasheet says the address at which by default the interrupt service table should stay after reset is device specific. So in my main program at the very first I am setting the ISTP to a particular value. Is it a normal phenomenon?
Regards,
AC.