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.

UCD3138A: Graphical config tool for UCD3138?

Part Number: UCD3138A

Hi,

I'm preparing firmware for UCD3138A and I'm wondering if there is a tool that would aid in configuring registers of this IC.

I have downloaded "Digital Power Studio", but if I don't miss anything, this tool allows only to generate code configuring filter coefficients.

It would be extremely helpful to have a tool preparing similar code for defining operation of blocks and interconnections between them (the mode and period of DPWM, timing of pulses, triggering of EADC by the DPWM, the filter driven by the EADC, the filter's output to DPWM, etc.). This should be possible for any arbitrary power system topology. Preferably this would be a graphical tool, allowing to draw a kind of schematic.

Is such tool available?

Best regards,

Adam

  • Hi Adam,

    An AE will be helping you soon on your E2E question.
  • Unfortunately no such tool exists.

    Your best bet is to start from a firmware that is quite close to what you need and modify the existing code.
    You need to read the TRM (Technical reference Manual) in order to learn how to configure the peripherals.

    What kind of topology/configuration you are developing?

    Regards,

    Yitzhak Bolurian

  • Hello Yitzhak,

    I do read the TRM, but it's long, which is of course because the chip has extensive capabilities, which is good, just it is very easy to overlook or misinterpret configuration values in registers. A typical problem with using something for the first time.

    If not a tool, maybe a checklist exists? Like: configure the coefficients here, tell DPWM to trigger EADC here, turn on something here and something there...

    In this case the topology is simple, it is a synchronous buck, I use one DPWM block in normal mode + one EADC + one filter.

    Best Regards,
    Adam
  • Hi Adam,

    The closet simple buck like firmware is "Lab 4" in the training material on ti.com:

    http://www.ti.com/tool/ucd-training-labs

    Please download and install the labs and take a look at Lab4.

    There are different initialization functions that each one presents a necessary step in configuring a simple closed loop.

    Regards,

    Yitzhak