Richard, thank you for responding to my plea for help. I looked at the link you provided and I can see that it will come in handy.
Fortunately, I found the cause of my issue. With tumbleweed's help, I was able to modify DT's_INT-18 for this specific PIC. It was working all along.
My issue stemmed from me not enabling the Timer module that I was working with. It was disabled at the PMD registers and I was actually enabling the wrong one.
This is what happens when I don't pay enough attention to which bits I set and clear.
I needed DT's_INT to work as I don't care to write in assembly, but I will if I have to.
Not only does it provide me with a HeartBeat timer interrupt, but also for two EUSART ports, an SPI interrupt and 24 IOC inputs. That's alot of interrupts that I think would be best handled by DT's_INT.
I'm not too concerned about the bloat it brings to the table as long as it gets the job done. There's enough memory in this PIC to get it to do what I need. I'm running it at 64mhz so I think I can catch the "slow" inputs in a timely manner.
Again, thank you and tumbleweed for the help.
I can post this version of DT's_INT if anyone is interested. It just needs an appropriate name.
Thank you guys,
csantex
Bookmarks