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.

DSP TMS320F28335 connect to BQ76940 by I2C communication

Other Parts Discussed in Thread: TMS320F28335, BQ76940, CONTROLSUITE

Hi everyone,

I would like to make the code connect from DSP TMS320F28335 to IC bq76940 (TI), family of robust analog front-end (AFE). I see that they can communicate by I2C communication.

Is that possible? And can I get the support from TI to make the code?

Thank you very much!

  • Hi,

    I2C drivers are very well available in controlSuite that you can refer to and modify for BQ IC.
    C:\ti\controlSUITE\device_support\f2833x\v140\DSP2833x_examples_ccsv5\i2c_eeprom

    Regards,
    Gautam
  • Dear Mr. Gautam,

    Thank you very much for your support.
    I have see the code in the C:\ti

    Thank and best regards,
    Long
  • You're Welcome Mr. Long!
    Let us know if you need more help on this.

    Goodluck & Regards,
    Gautam
  • Hi Gautam,

    I am making the code and I get problem with I2C signal.

    When the DSP is not connect to the BQ76940, the I2C signal which is measured at DSP is good, like this

    nol_conect_monitor2.tif

    The IC is other PCB, and when I connect DSP to IC by some line, the frequency is  change to 84 khz of SCL and SCL signal is distorted, like this:

    conect_cell6.tif

    With the SCL signal like that, is there any problem for DSP to understand the news is transfer from the BQ76940?

    And from the I2C signal, how I can determine the cell voltage (the Lithium cell are connect to IC, IC measure the cell voltage and report to DSP) 

    Thank and Best regards,