This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28335: TMS320F28335:

Part Number: TMS320F28335

Hi,

I am using 28335 controller board. My query is related to EPWM modules.

I am using EPWM1 channel as reference with SYNCOSEL=1 and for all the other EPWM channels SYNCOSEL=0(synchronized with EPWM1). The EPWM counter used is an UP-DOWN counter for all the channels. I need to used phase shift between EPWM1 and other channels, I am using PHSEN=0 for EPWM1 and PHSEN=1 for all other EPWM. I need to update the TBPHS registers for EPWM2-EPWM6 channels twice in a PWM period when an interrupt routine is called, once when the counter=zero and once when counter= period. But currently the update is taking place only once when the counter is zero. The interrupt routine is called twice using ADCINT in a PWM period, in which the update to TBPHS registers is done.

Please let me know if anybody have done something like this before.

Ritwik