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.

BQ76920EVM- I2C- Arduino Due

Other Parts Discussed in Thread: BQ76920, BQ76920EVM, BQ77PL900

Hello there,


I have a BQ76920 EVM. I wish to use Arduino due as an MCU.

I saw a previous post where Jeren tried Arduino with a similar AFE.

Arduino Due has an ARM Cortex processor, which runs at 3.3 V. As of now, I am able to scan the slave device address.

But, things start getting more complicated to any EEPROM with Due through I2C as the Wire library is only for AVR processors and I can't find other alternatives!

Can any one suggest me how to proceed further?

Thanks,

Digant

PS: Newbie with microcontrollers

  • Hi Digant,

    When using the bq76920EVM with an external MCU, be sure to remove the connection to the on-board gauge so there is no interference with the I2C from your MCU.  The bq7692000 on the EVM is a 2.5V output version, so you may need to remove the pull up shunts and provide the SDA and SCL pull ups from the 3.3V on your MCU board.  Check signal levels.  For the ALERT if used, you may need a level shifter.  For a final system implementation a 3.3V version of the bq76920 would be a better choice.  

    The bq76920 is a register based device so it will need specific register accesses to communicate with the AFE rather than an EEPROM routine. For the Arduino, someone may offer suggestions here but you may find better information and suggestions on a Arduino focused forum.  Of course TI offers microcontrollers and we would be glad if you can consider those in the future, information can be found at  and there are forums for the TI MCU's on e2e.

  • Thank you. Problem got solved, the approach you mentioned works.
    Thanks,
    Digant
  • FYI an alternative to the wire library which can use any pins of the MCU:
    playground.arduino.cc/.../SoftwareI2CLibrary

    That is what I used to communicate with the bq77pl900 over I2C because I couldn't get the wire library to send a repeat start.

    ~J