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.

TPS6594-Q1: I2C connection issue

Part Number: TPS6594-Q1

Hello TI Expert,

I am trying to reprogram the NVM on TPS65941212 + TPS65941111  but I am not able to connect to the device via I2C. It gives me an error saying Connected to AEVM controller, but failed to connect to TPS6594x_2p0_external pn DUTWITHI2C @0x48. I tried different adresses but it's the same problem. The SPI connection works however when I try to repogram the device it just says "Please wait verifying programming status" and does'nt change .Can you please help me with this ?

Thanks in advance!

Best Regards

Meghana

  • Hello Meghana,

    so some preliminary questions to better assist you:

    1. Are the devices receiving 3V3?

    2. When connected via SPI are you able to connect both EVMs or see the registers of either and see values other 00 or 11 in the register values?

    3. When trying to program the device do you do this while connected via SPI?

    Regards,

    Nicholas

  • Hello Nicholas,

    Yes the devices are receiving 3V3 (I have placed jumpers on V3V3 and VSYS, and SCL2/CS and GPIO1).Actually when I connect through SPI no devices are being detected it says hardware connected but does not detect device.In the register map page I see values 0xFF. And yes my attaempt to program was via SPI because I am not able to make the I2C connection.

    Regards

    Meghana

  • Hello Meghana,

    No you are correct in your jumper placement on the power, but do you have the SPI_EN on J7 shorted via jumpers on any of the boards while you are trying to connect via I2C?

    Thank you for viewing the register map as it confirms that while it says you're connected, the data over the SPI are invalid due to the hardware being placed in an incorrect state. Either 0x00 or 0xFF in all of the registers means that either SDO/SDI lines are being constantly driven either low or high.

    This is why the programming can not take as there needs to be a series of writes/reads in order to reprogram the device, so let's get proper connectivity working first.

    Are you having these EVMs stacked on top of one another or are you trying to connect to each one individually?

    So my first recommendations are to make that:

    • 1212 EVM has that 3V3 & VSYS jumper connected
    • GPIO1 & SCL2/CS closed on the 1212
    • GPIO2 & SDA2/SDO closed on the 1212

    Please let me know how this works out for you,

    Nicholas

  • Hello Nicholas,

    I am using the EVMs stacked on top of one another.I have been using the jumper connections as you specified and no I have not shorted SPI enable while trying to connect via I2C.The error still persists.

    Best Regards

    Meghana

  • Hello Meghana,

    There are two more things to check:

    1.Make sure the USB port you are using can provide the power required to use a dual PMIC setup or place an adequate power supply on J6 to account for the influx of current. I have seen a instant peak of 500 mA + which depending on the USB port will shut down to protect itself.

    2. Just to be sure have you set the master/salve pins correctly according to the user's guide here:

    User’s Guide TPS6594x-Q1 Evaluation Module

    Section- 3.6

    If these don't work, please write back, thank you,

    Nicholas