Is there any example code for the BQ27510 guage for I2C communication?.
We have a custom board not the eval board.
I've made some progress.
Could the tools group verify the following subcommand values for me, even if they are close. I do not have an eval board with me and I'm using the bq27510 guage. If they are worng, what are they supposed to read?
DEVICE_TYPE [0x0001] 0x510
FW_VERSION [0x0002] 0x111
HW_VERSION [0x0003] 0xb4
The commands that you have shown are returning expected values. If your purpose is to confirm your I2C implementation I would say that it is working right.
Thanks for verifying.
I am using dq27510 gauge
I didn't know what is the procedure to communicate with dq27510 device using i2c in linux
plz guid me
Thanks for advance
We do not have any specific sourcecode or guidance to implemnent I2C in linux. Developing for I2C is microprocessor dependent and varies for different platforms.
I want the procedure to initiate the bq27510 .(i.e) what is the command flow to initiate the bq27510
Thanks for your replay
What kind of initialization are you referring to?
Setting up a bq27510 is done by using the evaluation software. The bqEasy section of the evaluation software guides you through the setup that eventually has you doing a learning cycle so that a data flash image can be created which would then be loaded into all bq27510 devices that go through your production line.
Maybe the following doc will help you get started with the command format:
The doc has examples on how to send and receive commands and sub-command replies.
If you are using uClinux, then you must make sure you have your I2C device in /dev
I can able to communicate with bq275410 device using i2c but now i want to read the data from data flash memory. But i read the 32 byte data using DataFlashBlock() cmd
I want the procedure to write and read the data to the data flash (accessing data flash)
plz guid me
Thanks for your information
If you are trying to put the "Golden File" in, all TI has released is the 3 page flowchart on pg 147 in SLUA449B. Follow the chart and you should be able to program it.
Thanks for your information :)
Just a warning. Make sure you have the evaluation board. If you erase the IF and then not able to reprogram the chip, it's essentially bricked. Make sure you save the .senc file so you can recover it.
We are unable to locate the SLUA449B.pdf from the TI site
Plz share the link for the SLUA449B.pdf
There is a new version of that document online. Please try this http://focus.ti.com/lit/an/slua449c/slua449c.pdf
It is not the strongest of the species that survives, nor the most intelligent that survives. It is the one that is the most adaptable to change. - Charles Darwin
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. 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 respect to these materials. 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.