Hi all,
I have been developing code for OMAP-L138 with my custom board. I use BIOS 5.41, XDC 3.22, CCS5.1, DSPLINK 1.65, CGT 7.3.1.
This week I faced a problem. I had a code for reading a device over SPI with restrict timing and I brought together it with dsplink to implement on OMAP-L138. I changed interrupt vectors and task priority which dsplink uses and recompiled. I use INT4 (high priority) for timing requirement. DSPLink uses INT8 and INT9. I transfer almost 40K byte with message queue. The code goes to timer2 isr 150K times at every second. Timer2isr takes 100 to 200cycles (I can't measure).
If I increase the timer frequency over 150K or if I don't set this line "bios.HWI.instance("HWI_INT4").interruptMask = "all";" on .tcf file, DSPLink violates the timer interrupt. I believe DSPLink masks all the other interrupts even-though timer interrupt priority is higher than DSPLink. I think DSPLink disables the GIE. The timer misses some interrupts. I am not sure but DSPLink may also effect timing.
Does anyone know DSPLink disable interrupts?
Thanks
Serdar