Hi,
its works on simulator for all phases but in real world only phase 3 as i mention before.

i think its the pin portb.4 and portb.3 on the PIC16F737 but im not sure.

A) yes, i have check the function of portb.3 and portb.4 -

based on the datasheet
portb.3:
-Digital I/O.
-CCP2 capture input, compare output, PWM output.
-Analog input channel 9.
portb.4:
-Digital I/O.
-Analog input channel 11.

since i declare portb.5 as the ccp3, should be no problem for portb.3.
portb.4 same function as i use for phase 1 and 2

B)i tried another pin which is portb.2 and portb.3, still not function well (seem like it wont toggle properly)

C)havent done it yet. will test using it next week and feedback to you again.

D)Yes, i measure part A and B directly to the pin PIC

btw, i test it on the breadboard. havent change the breadboard yet but i dont think its the reason.

i will test it again friday next week and feedback to you.
if u have any more idea on testing error please let me know

photoelectric