Other Parts Discussed in Thread: BQ27541-G1, BQSTUDIO
Hi,
I am referring document SLUA801 for guage communication. I am configuring BQ27542 connected to MCU over I2C. I have already generated golden image files - .bq.fs and .df.fs. I am using .df.fs file for configuration. I have copied it's content to my MCU code in array form. I have taken functions given in gauge.c in document SLUA801. In function guage_execute_fs(), there is an array declared as pData[32] which reads maximum 32 byte data from one line in .df.fs file. However, when i opened .df.fs file, there are some lines in which data is 100 bytes long.
Is there something wrong in my .df.fs file or I have to increase pData array size?
Thanks,
Pradeep