Pic18F23K22. (Assembly)
On setting up a CCP2 capture TIM1 on interrupt, the CCP2 interrupt flag occurs OK and I see the accumulated value in TIM1 but it does not get loaded into CCPR2H/L.
I have cleared CCPTMRS0 which according to the Man. appears to set CCP2 for TIM1?
Anything else I might be missing?
Debugging with Pickit3 ICD.
Max.
On setting up a CCP2 capture TIM1 on interrupt, the CCP2 interrupt flag occurs OK and I see the accumulated value in TIM1 but it does not get loaded into CCPR2H/L.
I have cleared CCPTMRS0 which according to the Man. appears to set CCP2 for TIM1?
Anything else I might be missing?
Debugging with Pickit3 ICD.
Max.