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.

TMS320F280025C: what's the difference between TBCTL2.OSHTSYNC and GLDCTL2.OSHTLD ?

Part Number: TMS320F280025C

hi, experts

       may you have a nice day ~

        In 280025 TRM,  ePWM.17.4.3.3 

there is one select bit (TBCTL3.OSSFRCEN) , which decides TBCTL2.OSHTSYNC or  GLDCTL2.OSHTLD set the syncout latch.

about this I try undersand in below way:

1. when TBCTL2.OSHTSYNC is selected, it works as a software sync;

2. when GLDCTL2.OSHTLD is selected, only chosen load strobes can trigger a syncout.

Is there anything wrong with this understanding? Look forward to your suggestions

best wishes!

  • Hi Matt,

    More-or-less correct, I believe. Both options are latches for the one-shot-sync functionality- i.e. after a sync out pulse has occurred (if one-shot mode is active), another cannot happen until there's a pulse on the chosen register between the two. TBCTL2.OSHTSYNC is a time-base submodule local control for this, while GLDCTL2.OSHTLD synchronizes this latch release with the global load strobe event in the rest of the ePWM module. 

    Regards,

    Jason Osborn