[SOLVED] Non-blocking PWM duty cycle capture using Timer Counter

Shouldn't you be reading the counter value register rather than the compare register? TC_CVx