DSPRelated.com
Forums

Hardware Interrupts unexpectedly disabled for short periods of time TMS320C6416

Started by luc_savard August 8, 2008
Hello guys,

It looks like the hardware interrupts are being disabled for short
periods of time and I don't understand why. The duration of these
periods are a few mili-seconds.

I know that the HWI can be disabled during loops if you set the
opmization level to -o2 or -o3. However, all the files in my
project have their optimazation levels either set to -o1 or 'None'
so that is not it.

I looked in the assembly code and it does not mention anything about
Interrupts being disabled anywhere. The only thing the Headers in
the .asm files do say is "Interrupt thrhld: Disabled" and I think
that this is normal since the optimazation levels are really low.

I am familiar with the functions: IRQ_Disable, IRQ_Enable,
HWI_Disable and HWI_Enable. I inspected the code and they are not
the cause of this problem. I don't have any self modifying code in
either my project.

So, what else could be the cause for the HWI to be disabled?
Are there other events that cause the TMS320C6416 to disable/enable
interrupts I should be aware of?

Thanks