cancel
Showing results for 
Search instead for 
Did you mean: 

eMIOS paired interrupts handled together

aurelien23
Senior
Posted on February 16, 2016 at 16:49

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!
0 REPLIES 0