2016-02-16 07:49 AM
Hello,
please look at the attached document which explains my problem in details.GOAL: measure the period of 16 input signal period to increase precision (counts 16 rising edge).
I'm using eMIOS0 ch1 to count 16 periods and on match interrupt I sample the eMIOS0 ch0 internal counter to calculate time since last match. Problem is detecting rollover on eMIOS0 ch0 because like explained in the document, on each eMIOS0 ch1 match, eMIOS0 ch0 flag / overflow is also set!!!
Please help... Thanks!