Texas Instruments bq27500 Marine Instruments User Manual


 
www.ti.com
bq27500
bq27501
System-SideImpedanceTrack™FuelGauge
SLUS785SEPTEMBER2007
4.1.1.1Control():0x00/0x01
IssuingaControl()commandrequiresasubsequenttwo-bytesub-command.Theseadditionalbytes
specifytheparticularcontrolfunctiondesired.TheControl()commandallowsthesystemtocontrol
specificfeaturesofthebq27500duringnormaloperationandadditionalfeatureswhenthebq27500/1isin
differentaccessmodes,asdescribedinTable4-2.
Table4-2.Control()Subcommands
CNTLSEALED
CNTLFUNCTIONDESCRIPTION
DATAACCESS
CONTROLSTATUS0x0000YesReportsthestatusofDFChecksum,Hibernate,IT,etc.
DEVICETYPE0x0001YesReportsthedevicetype(eg:"bq27500")
FWVERSION0x0002YesReportsthefirmwareversiononthedevicetype
HWVERSION0x0003YesReportsthehardwareversionofthedevicetype
Reserved0x0004NoNottobeused
RESETDATA0x0005NoReturnsresetdata
Reserved0x0006NoNottobeused
PREV_MACWRITE0x0007NoReturnspreviousMACcommandcode
ReportsthechemicalidentifieroftheImpedanceTrack™
CHEMID0x0008Yes
configuration
BOARDOFFSET0x0009NoForcesthedeviceBoardOffsettobemeasuredandstored
CCINTOFFSET0x000bNoForcesthedevicetomeasureandstoretheinternalCCoffset
SETHIBERNATE0x0011YesForcesDF:PackConfiguration[HIBERNATE]to1
CLEARHIBERNATE0x0012YesForcesDF:PackConfiguration[HIBERNATE]to0
SEALED0x0020NoPlacesthebq27500/1inSEALEDaccessmode
ITENABLE0x0021NoEnablestheImpedanceTrack™algorithm
IFCHECKSUM0x0022NoReportstheinstructionflashchecksum
CALMODE0x0040NoPlacesthebq27500/1incalibrationmode
RESET0x0041NoForcesafullresetofthebq27500/1
4.1.1.1.1CONTROLSTATUS:0X0000
InstructsthegasgaugetoreturnstatusinformationtoControladdresses0x00/0x01.Thestatusword
includesthefollowinginformation.
Table4-3.CONTROLSTATUSBitDefinitions
Flags()bit7bit6bit5bit4bit3bit2bit1bit0
HighByteFASSS-CCABCA
LowByteHIBERNATESLEEPLDMDRUP_DISVOKQEN
FAS=Statusbitindicatingthebq27500/1isinFULLACCESSSEALEDstate.Activewhenset.
SS=Statusbitindicatingthebq27500/1isinSEALEDState.Activewhenset.
CCA=Statusbitindicatingthebq27500/1isCoulombCounterCalibrationroutineisactive.Activewhenset.
BCA=Statusbitindicatingthebq27500/1BoardCalibrationroutineisactive.Activewhenset.
HIBERNATE=StatusbitindicatingarequestforentryintoHIBERNATEfromSLEEPmode.Truewhenset.Defaultis0.
SLEEP=Statusbitindicatingthebq27500/1isinSLEEPmode.Truewhenset.Defaultis0.
LDMD=Statusbitindicatingthebq27500/1ImpedanceTrack™algorithmisusingconstant-powermode.Truewhenset.Defaultis0
(constant-currentmode)
RUP_DIS=Statusbitindicatingthebq27500/1Ratableupdatesaredisabled.Updatesdisabledwhenset.
VOK=Statusbitindicatingthebq27500/1voltagesareOKforQMAX.Truewhenset.
QEN=Statusbitindicatingthebq27500/1QMAXupdatesenabled.Truewhenset.
4.1.1.1.2DEVICETYPE:0x0001
Instructsthefuelgaugetoreturnthedevicetypetoaddresses0x00/0x01.
GENERALDESCRIPTION 10SubmitDocumentationFeedback