If I remember right...every time you use the HPWM command it resets the control register's, so the signal will drop out before the dutycycle changes.Use the HPWM command to initially setup the signal and alter the control registers directly to alter the duty cycle.Also it usually a good idea to do something with unused pins, and not leave them floating.