I am using Matlab/Simulink 2017a with TIC2000 support package to develop software for a custom design. I am using an eCAP to capture the high and low time of a PWM signal so I can calculate the duty cycle.
It is reading the high and low counts properly. However when the signal is at 0% or 100% duty cycle the counts freeze (as expected) however the Capture Flag (CF) output stays at 1 even though I expect it to go to zero since there should be no capture happening.
Any thoughts?
Thanks,
Don
