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.

USB2ANY: How to program the TPS65400 for initial configuration

Part Number: USB2ANY
Other Parts Discussed in Thread: TPS65400,

Hello,

this is the first time that i'm writing on the community, probably the post is not in the correct forum, if that's true i'm sorry...

I use a TPS65400 in a PCB in order to provide all power supplies that i need. I need to configure the paramenters of the four bucks on the TPS65400 before first power-on of the board.

In order to achive this goal i thought i could use the USB2ANY adapter, and with a PC program the chip in PMBus. I can access all the pins of TPS65400 that i need to supply for configuration.

But i don't know how to program through the USB2ANY, have you got documentation? What program language do you suggest to use? 

I have seen that Ti provide a C/C++ compiler, is it suitable for my application?

For now i can use the USB2ANY for the TPS65400-EVM through the TI GUI, firmware version USB2ANY_1_19_0_0.

Thanks for the attention,

Bonacini Enrico

  • Enrico

    I'm going to transfer this to the power team...they should be able to help with your question.

    Regards
    Dennis
  • Hi,

    Do you mean you want to program the EEPROM through USB2ANY before power up?
    I will look into this and reply in one or two days.
    Thanks!

    Regards,
    Sam
  • Hi Sam,

    yes that's exactly what i need to do! 

    For me it's not mandatory to use USB2ANY but it seems to be the most smert way of programming EEPROM.

    Thanks!

    Best regards,

    Enrico Bonacini

  • Hi Enrico,

    I think you can do it.

    Please make sure that VDDG, VDDA, VDDD, VIN, CE, I2CADDR, RST_N, SDA, SCL connected well. Then, you can link to the device by using USB2ANY. Do the programming through TPS65400 GUI software.

    Is the VIN and PVIN connected together in your design, if so, please make sure that the ENx is disabled, or default value would appear on the Vout.

    Please try this and see if it can work. Thanks!

    Regards,

    Sam

  • Hi Sam,

    I have checked the connections of the pins you mentioned and they're fine, also ENx are disconnected since Vin is connected to PVin and SSx are not used.

    Maybe i havn't explained well, i would like to use a language like C since i need to perform some reading\writing cycles in order to accomplish fine tuning on Vout. 

    My idea was to read Vout, check the value and adjust Vref, repeat untill i'm into a specified range. So i would like to build my software, but i don't know how to acces the USB2ANY, nor which command has to provided in C or C++.

    If you know other way for reaching this goal please let me know.

    Thank for the quick reply,

    Regards,

    Enrico

  • Hi Enrico,

    I see...
    As far as I know, the USB2ANY doesn't provide any API to access to the device.
    I suggest you to build your own code to communicate with the device via I2C.
    For your idea, is it something like a soft start? TPS65400 has provided this function and you can adjust the Vout ramp time.

    Regards,
    Sam