Hi,
Is there any example code for the BQ27510 guage for I2C communication?.
We have a custom board not the eval board.
Thanks.
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.
Hi Mike
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
Latha,
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.
Michael
I want the procedure to initiate the bq27510 .(i.e) what is the command flow to initiate the bq27510
Thanks for your replay
Latha
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:
http://focus.ti.com.cn/cn/lit/an/slua467a/slua467a.pdf
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
Hi
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)
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 :)
Regards
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
Hi Latha,
There is a new version of that document online. Please try this http://focus.ti.com/lit/an/slua449c/slua449c.pdf
Regards,
Nancy
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