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.

TMS320F28386D: How to take out two different EXTSYNCOUT from the ePWM module via GPIO

Part Number: TMS320F28386D


Hello,

I am currently designing a control system based on the TMS320F28386D microcontroller. It has to control two different inverters simultaneously.

In addition, each inverter has an interleaving configuration, so I need to sinchronize the operation. For that purpose, I have to take out two different EXTSYNCOUT signals. 

I want to know if taking out two EXTSYNCOUTSIGNAL via GPIO is possible, and if it is possible how it can be configured.

By the figure 17-6 of the TMS320F2838x manual, it appears that only one EXTSYNCOUT signal can be routed from the ePWM module to OUTPUT X-BAR GPIO.

Thanks in advance, 

Daniel Pérez

  • Hi Daniel,

    There is only one EXTSYNCOUT signal that can be selected from the SYNCSEL register.

    However depending on what your trying to send out, the CLB does have access to certain PWM module's ZERO and PERIOD events. So if you're wanting to syncout those specific events you could use the CLB as your EXTSYNCOUT.

    Best,

    Ryan Ma