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.

TMS320F28335: how to synchronize two or more TMS320F28335, C2000 family microcontroller.

Part Number: TMS320F28335


I am trying to synchronize the SVPWM pulses of two DC/AC converters using SYNCIN/SYNCO functionality of ePWM modules through CAN communication. But when external EPWMxSYNCI (hard-wire) connecting Sync_out pulse of master card to Sync_In of slave card, the ePWM signals are not synced & when using internal Software_Sync (SWFSYNC) bit to sync both PWM, there was continuous jittering of Slave card PWM observed with respect to master card PWM signals.

Request Mr.Prakash / anyone to guide me to sync PWM signals if this is achieved using SPI communication.

  • So here is a list of things you need to do and check for.

    1. Make sure EPWMxSYNCI is actually causing a sync event in the first device.
      1. Ensure the GPIO mux is configured to select EPWMxSYNCI
      2. Use SYNCI in EPWM setup to synchronize your PWM counter
      3. Run and make sure the counter is synced when you pulse the EPWMxSYNCI pin.
    2. Pass the SYNCO to GPIO.
      1. Select the source for SYNCO
      2. Configure GPIO mux to bring out the EPWMxSYNCO on to a pin.
      3. Check the pin for SYNCO output
    3. In the second device do the same.
    4. Connect the two devices

    What part of this process is failing?

  • Patrik,

    If you needed further help just go ahead and reply to this and I will assist you on the specific issues you faced.

    Nima