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

Hello to all,

actually, i am working on paralleling of two or more converters.

Here I want to generate a PWM from two or more controllers at the same time. The PWM should be synchronized with each other and controlling of PWM also should be in sequence.

Here for controller to controller communication, I am using SPI protocol.

I am looking for the controllers synchronizing using SPI protocols.

  • HI,
    you have to configure syncout on one of the two devices and sincin on the other, use SPI to send duty cycle.
  • Hello,

    Biagio is exactly right. Look for information on the external sync in and sync out signals on the GPIO mux. You will want to use those and then use the TBPHS register to compensate for the delay in transmission from one device to the other.

    Regards,

    Kris

  • Hello Kris,

    Here I configure GPIO32, GPIO33 for external sync in and sync out in both master, slave1, and slave2.

    master sync out connected to the slave1 sync in, slave1 sync out connected to slave2 sync in.

    Here I couldn't find where to configure the external sync provision for ePWM.

    kindly let me know the possibilities.

    Thanks & Regards

  • Please see page 27 of the ePWM user's guide for your device ()

    The external sync in and out sync signals will be configured as a mux option on the GPIO mux. You are looking for EPWMSYNCO and EPWMSYNCI. You can reference pg 75 here 

    It looks like you probably already found the GPIO mux part based on your selection of GPIO32 and 33 but just wanted to include it for anyone else who may come along the thread.

    Regards,

    Kris