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.

TMS320F28379D: CLB Output Routing Limitation (TMS320F28379D)

Part Number: TMS320F28379D

Hi,

I'm working with the TMS320F28379D and trying to route ePWMs and GPIOs through the CLB (Configurable Logic Block).

From my understanding:

Each CLB tile provides 8 outputs.

The ePWMxA and ePWMxB signals are connected to the first two CLB outputs.
Additionally, there are two Output X-BAR connections (CLB OUT4 and CLB OUT5) that I am using to route GPIOs. These outputs can also be used to route ePWM signals if needed.
The remaining CLB outputs are connected to other peripheral blocks and are not directly available for my use case.

The challenge is that the F28379D has only 4 CLB tiles. Effectively, I can utilize only about 4 outputs per CLB tile, giving a total of 16 CLB-routed outputs.

My requirement is either:

  • 18 PWM outputs, or
  • 12 PWM outputs + 6 GPIOs (18 total outputs)

Since the available CLB outputs appear to be limited, I'm wondering:

  • Is this a fundamental limitation of the TMS320F28379D CLB architecture?
  • Is there any alternative method to route more than 16 outputs through the CLB?
  • Has anyone implemented a similar solution or found a workaround using Output X-BAR, ePWM routing, GPIO multiplexing, or another peripheral?

Any insights would be appreciated.

  • Hello, please note Friday was US holiday and the CLB SME is OOO today, you should hear back tomorrow.

  • Hi,

    I apologize for the late response as I was previously OOO. 

    Let me respond to you questions below:

    1. Yes this is unfortunately a limitation of the TMS320F28379D CLB architecture. Other devices have more CLB TILEs, such as 6, which would allow you to use more outputs total. 

    2. Unfortunately for your use case there is no alternative routing for more then 16 GPIO + ePWM signals

    3. I am not aware of a workaround for this. However, if two ePWM signals are not in need of CLB manipulation, you could always use 2 stand alone ePWM modules.

    Kind regards,
    AJ Favela