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.

TMS320F28379D: Hope a future EPWM TBPHS registers would have shadows

Part Number: TMS320F28379D


Sirs,

I'm writing this for a usage question and a customer feedback for a future product.

We would be glad if the EPWM type-4 hardware (F2837xy) could update the TBPHS register at Ctr=zero. But is it possible today ?

My customer would hope the EPWM TBPHS registers have shadows like TBPRD and CMP[A,B,C,D]. And all the registers, the TBPRD, CMP[A,B,C,D], and the TBPHS register are updated by the same trigger Ctr=zero. They would like to make sure the TBPHS is always smaller than TBPRD.

My customer uses EPWM1 as timing master, and the other EPWMs as EPWMxSYNC slaves. Their TBPHS and TBPRD values make a large jumps, so sometimes TBPHS is larger than TBPRD. My customer experienced a TBPRD overflow.
Today their software polls Ctr=zero and updates the TBPHS. They have optimized the code as much as possible, but the operation speed is not sufficient. They hope the EPWM will add TBPHS shadow registers and the operation is move from their software routine to the new shadow register.

Thank you for reading.