• Resolved

EV2400: EV2400 bqcomm - python

Prodigy 20 points

Replies: 3

Views: 32

Part Number: EV2400

Hi,

The simple code example in this document https://www.ti.com/lit/an/sluaa11a/sluaa11a.pdf?ts=1614072496676&ref_url=https%253A%252F%252Fwww.google.com%252F 

python script referrers to "import bqcomm" where can I find this file? It doesn't install with pip, so assume it is custom to TI

Thanks,

Ken

  • Hi Ken,

    Yes, this is internal to TI, so I don't think we can share this. The reason I used Python in this app note was to give a simple example steps without the requirements for a specific microcontroller.

    There are also MSP430 code examples in the product folder for the BQ76952 that you can download. I also have an unpublished example using an ARM based MCU if needed.

    Best regards,

    Matt

    Please click "This resolved my issue" button if this post answers your question

     TI provides design resources and design advice (including technical, schematic, code and/or system review) “as is” and with all faults.  All information in this or related correspondence is provided subject to TI’s Important Notice (http://www.ti.com/corp/docs/legal/important-notice.shtml).

  • In reply to Matt Sunna:

    Hi Matt,

    thank you for the prompt reply. 

    I wanted to run the EV2400 from a PC to run test scripts, for other i2c devices (i2c expanders) not just the BQ chipsets, so basically as a USB to I2C emulator. The "Advanced Comm" within BQ studio works for this so would have been nice to run from python. Is there any way bqcomm could be released under NDA? or is there a command line interface to do this? 

    Thanks,

    Ken.

  • In reply to Ken Jewell1:

    Hi Ken,

    Unfortunately, there isn't a way to share the bqcomm library. There is a bqTools SDK available that may be useful. I do not have experience personally using this, but it is often requested. You need to contact your local TI sales rep to get the bqTools SDK.

    The BQ76952 does use I2C (not sure if you are using this device), so you should be able to interact with it similarly to other I2C devices on your bus.

    Regards,

    Matt

    Please click "This resolved my issue" button if this post answers your question

     TI provides design resources and design advice (including technical, schematic, code and/or system review) “as is” and with all faults.  All information in this or related correspondence is provided subject to TI’s Important Notice (http://www.ti.com/corp/docs/legal/important-notice.shtml).