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.

TMS320F28375D: Can customer use CLB to expand these two channels HRPWM into four interleaved PWM control signals?

Part Number: TMS320F28375D

Dears,

    The customer's product is a 60kW DCDC, using TMS320F28375D as the main controller. At present, the PFC use four channel BuckBoost interleaved parallel, and the DCDC use LLC  and uses six sets of HRPWM. Due to control accuracy issues, customer want to change PFC BuckBoost to HRPWM control mode. As TMS320F28375D only has two channels of HRPWM left, it is not enough. Can customer use CLB to expand these two channels into four interleaved PWM control signals? Due to the urgency of the project, the customer has not used CLB before and hopes that TI can provide technical support to help the customer quickly implement this feature.

  • Hi Jon,

    This is possible, as you can input these HRPWM signals into the CLB via the Input XBAR, then the CLB XBAR, and finally into the CLB TILE itself. From here you can do a multitude of things using the Finite state machines and Look-up tables to distinguish each signal from one another. To output these signals, all you would need to do is use the output look-up table to drive these signals out of the CLB. 

    If you would like to instead create PWM signals purely from the CLB itself, this too is possible. There is a great example under our C2000Ware SDK (clb_ex3_auxiliary_pwm) that shows how this is possible using a combination of look-up tables, state machines, counters, and the High level controller. Please note that due to a restriction of resources per CLB TILE, only 3 PWM signals can be generated per TILE. So to create 4 signals from the CLB, two TILEs are required. 

    To start I would recommend looking through our C28 academy chapter on CLB to get familiar with the CLB peripheral and terminology. Then I would look at our CLB tools user guide to understand how each block within the CLB works, and then focus on section 4.1.2. which goes into detail on how the PWM generation example works. 

    Kind regards,

    AJ Favela