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.

TMDSDOCK28379D: TMDSDOCK28379D sample code

Part Number: TMDSDOCK28379D
Other Parts Discussed in Thread: C2000WARE

Hi Team,

Could you help our customer please. Here is their concern below.

I have a software related question for the TMDSDOCK28379D.

I'm wondering if there is any code available for these controllers that I could use to generate an ePWM signal that will synchronize the ePWM of a second controller.

That way both controllers are producing ePWM signals on roughly the same clock cycles.

I'd like one controller to generate an ePWM that can be used to synchronize a secondary controller's ePWM signals. In other words, I'd like both controllers to generate multiple ePWM signals that occur with little time delay between them, and I understand this synchronization must be done with the ePWMSYNCI/O.

One other quick question i had is if ePWMSYNC is the same as ePWM4A, or if it's a specifici signal.

Best regards,

Jonathan

  • Hi Jonathan,

    We do not have a ready example to showcase sync between two devices. But, an easy way as the customer pointed out would be using ePWMSYNCO.

    The procedure to configure would be to generate a syncout signal from the desired EPWM module and route it to a GPIO pin through XBAR.

    The GPIO pin can externally be connected to the GPIO of second device and pulled in as EPWMSYNCIN signal.

    For reference, we have an example available with C2000Ware_XX/driverlib/f2837xd/cpu1/examples/epwm - epwm_ex3_synchronization

    One other quick question i had is if ePWMSYNC is the same as ePWM4A, or if it's a specifici signal.

    I couldn't clearly get this question.

    From what I understood the question, ePWM4A is a separate output from the EPWM4 module which gives you the ACTUAL PWM signals, whereas EPWMSYNC is the SYNCHRONIZATION signal used to sync PWMs.

    Thanks,

    Aditya