Marine Instruments User Manual

www.ti.com
5.8 POWER CONTROL
5.8.1 RESET FUNCTIONS
Store
checksum
ActiveRAM
changed?
GenerateNew
checksumvalue
YES
NO
Generate Active
RAMchecksum
value
DotheChecksum
ValuesMatch?
-Re initializeall
RAM
NO
YES
DEVICERESET
Stored
checksum
NORMAL
OPERATION
bq27500
bq27501
System-Side Impedance Track™ Fuel Gauge
SLUS785 SEPTEMBER 2007
When the bq27500 detects software reset ( [RESET] bit of Control( ) initiated), it determines the type of
reset and increments the corresponding counter. This information is accessible by issuing the command
Control( ) function with the RESET_DATA subcommand.
As shown in Figure 5-3 if a partial reset was detected, a RAM checksum is generated and compared
against the previously stored checksum. If the checksum values do not match, the RAM is reinitialized (a
Full Reset). The stored checksum is updated every time RAM is altered.
Figure 5-3. Partial Reset Flow Diagram
Submit Documentation Feedback FUNCTIONAL DESCRIPTION 29