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.

UCD90320: How to do configuration programming or update the device via I2C ?

Part Number: UCD90320
Other Parts Discussed in Thread: LM3S811

Tool/software:

Hi TI Experts,

I am working on an Accelerator tray platform that uses a UCD90320 power sequencer, which is connected to a BMC (Baseboard Management Controller) via I2C bus.
We have received a feature request to allow the BMC to update or program the UCD90320 configuration data (*.hex file) via the I2C/SMBus protocol.
I am looking for any Linux drivers or application tools that Texas Instruments (TI) has already implemented for this purpose, which we can use as a reference. Additionally, please share the documentation and relevant sections we should consult for further information.

  • Hi, 

    We don't have Linux drivers but do have Fusion Command Line Tools. Download and install TI-Fusion-Digital-Power-Designer GUI, then you can view the document from main window -> Help menu -> Document Help Center of how to save the configuration as data flash file (.hex), or data flash script file (.csv), and then user Command Line tool to import the configuration to device. For UCD90320 device, it is recommended to import configuration as Data Flash file.

    Regards

    Anne Ngo

    Texas Instruments

  • Hi,

    It is my understanding that Fusion tools typically operate on a PC connected via a TI USB adapter. However, in my current application, the BMC functions as the host microcontroller responsible for writing to the data flash of the UCD device through the I2C bus.

    Referring to the "Configuration Programming of UCD Devices" document, I noted the following approach:

    • Export the data flash hex file using the Fusion GUI.

    • Develop a custom programming solution on the host microcontroller that can accept hex input and write it to the device, following the general procedure outlined in the document.

    • A sample “C” source code implementation, developed for the Texas Instruments Stellaris LM3S811 (ARM Cortex-M3 based), is available for reference. This can be downloaded from:
      http://software-dl.ti.com/analog/analog_public_sw/fusion/UCD9xxx-UCD3xxx-Programming-Example-C-Code.zip.

    Could we consider using this sample "C" source code as a basis to develop our programming solution for the BMC host microcontroller?

    I would appreciate your guidance on whether this is the recommended approach or if there are alternative best practices we should consider to meet our requirements.

    Thanks,
    Balaji R G

  • Hi, Balaji R G,

    Yes, you can use the sample C code as references. For UCD90XX devices, we recommend using "Download Config Via Normal Mode". 

    Regards

    Anne Ngo