Other Parts Discussed in Thread: BQSTUDIO
help me to check the programe? why can not change the design capacity?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
replace lines 345 and 346 with:
new_checksum = 0xFF - 0xFF & (0x9F + 0x92 + txbuf[1] + txbuf[2]); //this assumes that txbuf was not modified after lines 342 and 343
data_len = 0x06; //2 bytes address, 2 bytes data, 1 byte check sum, 1 byte length = 6
thanks for your response !
now i can modify the design capacity for bq27220 , the problem is need to add delay when send set data_len and checksum!
now i have new problem how to set SOC Flag Configuration A (SOC Flag Config A) Register ;