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.

TPS65987D: Using I2C to communicate with TPS65987D evm

Part Number: TPS65987D
Other Parts Discussed in Thread: MSP430G2553,

Hello ,

I am currently working on a USB type-C charging solution using the TPS65987D evm, and I am trying to use I2C on my MSP430G2553 to read register from the TPS65987D . I connected the appropriate pin on my MSP430 with the SDA and SCL  pin of the connector J8 of the TPS65987D evm. I programmed the S4 switches to set my Slave address to 0x20 and turn off the I2C_SDA and I2C_SCL switch on the S1. But unfortunately I didn’t manage to read anything, even when I am using a Salae to visualize the I2C signals. When I did my test the evm was powered through the type C connector (20V), and nothing was plugged to the micro usb port.

 

Do you have any idea on what am I doing wrong?

Thanks in advance,

Foucauld

  • Hi Foucauld,

    There could be multiple reasons for this can you try accessing the TPS65987D with a FTDI or Aardvark and let us know the results? Please also compare the waveform with the failure condition to find out differences if any.

    Thanks,
    Rahul
  • Hi Rahul,
    Thanks for your quick response. I can flash my EVM using the FTDI chip, but I cannot using directly I2C by connecting tmy MSP430 to the SDA and SCL pin of the connector J8. I disconnected the pin from the FTDI by switching of the SDA and SCL signal using switch S1. Do you have any idea on how I can achieve that? Currently I cannot visualize any signals on the J8 pins.

    Thanks,

    Foucauld
  • Hi Foucauld,

    Flashing the EVM required SPI not I2C, so I'll suggest you to read one of the device registers using TI's tool. If it works then it will confirm that I2C port of PD controller is working as expected.

    We'll debug further once we know that the PD controller's I2C is working fine.

    Thanks,
    Rahul
  • Hi Foucauld,

    Do you need any further help on this? Can I close this post?

    Please click "This resolves my issue" if you're satisfied with the answer and no longer need my support.

    Thanks,
    Rahul