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.

TMS320F28034: Behavior when conflicting ePWM between TBCTR write and TBCTR sync event occurring

Part Number: TMS320F28034

Hi Experts,

ePWM2 is configured as synchronization with ePWM1(EPWM2SYNCI) by setting TBCTL[PHSEN] to 1. When a software is attempting to write new TBCTR on ePWM2 at just receiving EPWM2SYNCI input, what happens?

case 1) ePWM2 TBCTR is synchronized to the value of TBPHS at the next edge of TBCLK and continue to increment the count. Thus, writing TBCTR is ignored.

case 2) ePWM2 TBCTR is updated to new written data  at the next edge of TBCLK and continue to increment the count. Thus, Sync event is ignored and TBPHS data is not uploaded to TBCTR.

Regards,

Uchikoshi