Hi,
I would like to use HRPWM functionality in my application on TMS320F280049C. TI C2000 Coder supports only EPWM. Is there a way to create a block for EPWM with HRPWM function for scratch or extend functionality of already available EPWM block? I must inluce tight phase shift modulation on my model of PSFB.
Also I noticed that there is a possible mistake with F28004x driver for pwm:
void PLX_PWM_configure(PLX_PWM_Handle_t aHandle, uint16_t aModulator, const PLX_PWM_Params_t *aParams){
PLX_PWM_Obj_t *obj = (PLX_PWM_Obj_t *)aHandle;
PLX_ASSERT(aModulator >= 1);
PLX_ASSERT(aModulator <= 6);
…
}
Second assert causes that program stucks when flashed on device with EPWM7 and EPWM8 configured