Quote Originally Posted by HenrikOlsson View Post
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.
Thanks a lot, you guided me on the right way.
I've read the datasheet, and especially the "PWMCON0" register description. I've modified the value to PWMCON0 = %01000000, and now the 3 phases are working very well (the low-side V phase is now inverted properly).

Now, I've to modify the duty according to a sinus function. I think about it.