Greetings Jerson,

thank you for your reply

One question:

When needed to stop the HPWM we just place a zero duty value but internally the module is still active and on standby.

Is it possible to really shutdown the HPWM module, like for example placing the "CCP1CON=0" in the code's last loop ?

Thanks