Hi,
I'm using pic16f690 (by microchip MPLAB°) for programming a bq27541, but i have a problem to change the value of the pack configuration.
I have written the flowwing instructins.
Blockdatacontrol() : 0x61->0x00
blockflashclass : 0x3E-> 0x40
dataflashblock : 0x3F->0x00
blockdata : 0x40 and 0x41 -> (0x01 an 0x00 respectily)
And it is the good configuration for the pack configuration but i don't know the value of checksum of the block and how to change it.
i have tried to change the value of blockdatacheksum but nothing happened
Can someone help me please ?
Thanks
this question is a duplicate. the oter forum entry can be found in the battery mangement section
Please refer to the sample C code for MSP430 communication with bq27541 (and other single-cell fuel gauges and authentication ICs) here:
SLVA413 "MSP430 Microcontroller Software for Handheld Fuel Gauge & Battery Authentication"
it's okay
I have found the solution there is a long time