Hi,
Are you sure it's not the W-phase output that isn't complementary?

Look at the PWMCON0 register, you have it set to %01010100 which means that PWM0 and PWM1 is in complentary mode while PWM2 (the W-phase according to your code) is in independant mode.

/Henrik.