Other Parts Discussed in Thread: SYSBIOS
Hello,
i am trying to implement a fast ADC interrupt routine avoiding the Hwi dispatcher of SYSBIOS.
For that reason i want to use the Hwi_Plug() to insert the isr into the Pie Vector. This works without problems, the correct address is written to the Vector and after Enabling the Interrupt with Hwi_enableInterrupt(37);
the isr is executed. But then when returning the DSP somehow jumps to a wrong location in memory which leads to a Illegal Opcode Trap (unplugged interrupt flagged: intr# 19)
I have modified the provided Example Code to show you my problem, please see attached zip file.
Please help me to solve this Problem as it is very important for the Project that i am currently working on.
Thank you
Michael