Hello team,
Am presently working on bq27426 fuel gauge,am unable to read device id which is 2byte (0x01 ans 0x00),am unable to understand write and read sequence,for writing command and subcommand to guage,plz let me know how to come out of these issue.
1.my i2c write function has 4 parameters which is base addrs, device addrs, reg addrs and reg data,by using these function how can i send command and subcommand which is 2byte,and i have tried it by sending addrs as 0xAA which is used for writing and for reading 0xAB,but am able to see only 1byte i.e 0xAA in CRO.
2.What is the correct sequence to follow for writing and reading command and subcommand.
3.below is the link which i followed till now for series of bq27xx,
Is it correct document for write and read sequence,or
Could you prefer a document for bq27426 if possible
These could help me alot.
Thanks in advance
Suraj.N