Part Number: TMS320F28335
Dear Team:
if(objMtr->mtrNum == HAL_MTR1)
{
PWM_disableCounterLoad(objMtr->pwmHandle[0]); // disable phase syncronization
}
else if(objMtr->mtrNum == HAL_MTR2)
{
PWM_enableCounterLoad(objMtr->pwmHandle[0]); // enable phase syncronization
PWM_setPhase(objMtr->pwmHandle[0],(halfPeriod_cycles>>1)); // half PWM period
}
I have change the value of halfPeriod_cycles, But there is no change with the phase difference. Did I choose the wrong variate? Or how can I change the PWM phase?