Hi,
I don't know if you eventually solved this problem but I think you may be using the wrong interrupt commands. For CCP you need to use CCP1IF interrupt flag and CCP1IE to enable/disable the interrupt. Do not use timer interrupts. The Microchip data sheet "Tips 'n Tricks" DS41214A page 8 explains how to measure pulse width. I have tried it and it does work!
Bookmarks