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.

TMS320F280049C: how to use the Synchronizer for the CLB input?

Part Number: TMS320F280049C

During the configuration for the CLB_INPUT_FILTER, there is a Synchronizer function. I can not detailed introduction for it. Could you please help share how to better use it? What is the use case to enable it? Thank you.

  • For asynchronous signal, such as GPIOs or any signal going through Input XBAR etc. The synchronizer must be enabled. It will delay the signal by a clock cycle but it will synchronize it with the CLB clock which is necessary.

    There are driverlib functions which enable the synchronizer on a specific input. Please use them.

    Nima

  • Nima,

    What will occur if the synchronizer is no enabled?  And what about using the input signal from EPWM directly, do we need to enable the synchronizer?  Thank you.

  • The EPWM EVENT signals (CTR=ZERO, etc) are already SYNC signals. EPWM outputs are async. If you don't sync to the CLB clock, you may miss a signal so it is important to synchronize all ASYNC signals.

    You can see which signals are sync/async by looking at the TRM.