Other Parts Discussed in Thread: BQSTUDIO
Hello sir,
As i am working with fuel gauge(BQ27742-g1), i have done all step related to Bqstudio like chem id, update data memory and learning cycle (generate bq.fs , df.fs and srec files). Now my next step is to program other fuel gauge for production using microcontroller not with bqstudio because inbuilt in pcb with other circuitry.
My first question is which file i should use to program. Can i go with df.fs file (because it has less data around 7kb). do i really need flash file like srec and bq.fs (data around 180kb in both).
second question is how can i make program. as i know if i take bq.fs file w: means write that data using i2c and C: means read data from device using i2c. But how can i write and read that much much data using i2c.
i have seen one video from TI as well, but i am still confuse. how to do.?
and in slua801.pdf (Gauge communication) i have seen gauge.c and gauge.h file from this. but still confuse do i really need to send 180kb data.?
if you have any file and code please attach it. and please solve my query as soon possible you can.
Please can you make one small program for write data for this using c code:
W: 16 00 02 00 00 00 EA FF 33 EB FB 33 6D FC 33 65 FE 33 7D FE 33 FF FF 3F 42 07 00 FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F FF FF 3F 03 01 3F 58 CB 33 ED 00 08 00 00 00 00 00 00 FF AA 0E FB A7 0E FF A6 0E FF A1 0E FF A0 0E FE A3 0E 47 A2 0E D2 FF 3A FF A1 0E 58 A0 0E FF A3 0E
W: 16 64 DA 33
X: 2
C: 16 66 00
Thanking you
Regards,
Reena Patel