Hi Alain

You have two "capture" modules in a '252 ...

WHY not use both ... triggered at the SAME time ...
Mmmm

Although the "event" trigger would take place at a specific time, would there not be a problem stopping the timers?. Surely they cannot be stopped at the "same "time. One has to take priority over the other, by at least one instruction cycle if not two, one for the capture and a second for the stop.
Maybe then three cycles for the second timer (extra cyle whilst waiting for the first to be stopped.)


As mentioned.... how exactly is Exactly?



Just random thoughts

Duncan