DT,

The 28-pin version has 6 power control pwm outputs, and 2 standard CCP pwm outputs
for a total of 8. The 40-pin has 8 power control pwm outputs and the 2 standard CCP.

The only thing I don't like is they use the CCP1 & CCP2 pwm outputs as power control
pwm fault inputs.

You should grab a couple samples. The motion feedback module on these is awesome.