avoiding truncation of the last A1 pulse during the A2 period is easy. Not so much avoiding truncation of the first A1 pulse. @electronice123, is it acceptable to not enable the first A1 pulse until the entire pulse occurs within the A2 period? In other words, if A1 is already active when A2 goes high, is it OK to ignore it? (A1)