Part Number: EV2400
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
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.
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).
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Matt Sunna:
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?
In reply to Ken Jewell1:
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.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.