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.

TMS320F28377S: Synchronisation of ePWM in Simulink

Part Number: TMS320F28377S

Hello, I am working on LaunchPad LAUNCHXL-F28377S with Matlab Simulink. I am trying to deploy a simulink model which has used 3 ePWM (ePWM7A, ePWM8A and ePWM6A).

Now if I say that ePWM7A and ePWM8A are synchronised what exactly that means?

Does that mean, Count of both ePWM will start at same time? ( That is what is my Requirement).

  • Are you asking what synchronised means with respect to the Simulink model of the ePWM driver? Or what synchronised means with respect to the actual C2000 device?

    Sean
  • I was asking about ePWM driver.
  • Hi Manish,

    Yes, from either a HW or SW synchronization event the synchronized ePWMs will start counting at the same time.

    By default this counting will be from 0, but you can also enter a value in the TBPHS register to specify a start value (if you want to e.g. maintain some phase relationship between the multiple ePWMs). You can also do things like control which direction (up or down) the counter will start in up-down count mode (via the PHSDIR bit).