I have an issue where I'm getting an illergal operation (interrupt #19). The problem appear to be related to my capture port interrupts. What's strange is that as long as I'm getting interrupts I have no issue, its when I stop getting interrupts that I get the illegal operation.
By looking at the ROV I can see that my HWI stack is overflowing. I tried increasing the size of the HWI stack from 4000 to 6000 but this did not help. Under normal operation the hwiStackPeak does not seem to get much above 300.
I found one issue that may be related. On my ISR for the capture ports I noticed that I ws getting interupt flasgs set even though I did not have those interupts enabled. This would cause the interrupt to fire continually. I addressed this by clearing all the int flags. This seems to have address this issue but now I'm getting the illegal operations.
Can someone give me some pointers to tracking down the source of the illegal operation?
Ed
System Info:
TMS320F28335
Sys/Bios 6.35.1.29