Datasheet
DATAFLASHINTERFACE
AccessingtheDataFlash
bq27510-G1
www.ti.com
.....................................................................................................................................................................................................SLUS927–APRIL2009
BlockDataChecksum():0x60
UNSEALEDAccess:Thisbytecontainsthechecksumonthe32bytesofblockdatareadorwrittentodataflash.
Theleast-significantbyteofthesumofthedatabyteswrittenmustbecomplemented([255–x],forxthe
least-significantbyte)beforebeingwrittento0x60.
SEALEDAccess:Thisbytecontainsthechecksumforthe32bytesofblockdatawrittentoManufacturerInfo
BlockA,B,orC.Theleast-significantbyteofthesumofthedatabyteswrittenmustbecomplemented([255–
x],forxtheleast-significantbyte)beforebeingwrittento0x60.
BlockDataControl():0x61
UNSEALEDAccess:Thiscommandisusedtocontroldataflashaccessmode.Writing0x00tothiscommand
enablesBlockData()toaccessgeneraldataflash.Writinga0x01tothiscommandenablesSEALEDmode
operationofDataFlashBlock().
SEALEDAccess:ThiscommandisnotavailableinSEALEDmode.
DeviceNameLength():0x62
UNSEALEDandSEALEDAccess:ThisbytecontainsthelengthoftheDeviceName.
DeviceName():0x63…0x69
UNSEALEDandSEALEDAccess:ThisblockcontainsthedevicenamethatisprogrammedinDeviceName
ApplicationStatus():0x6a
Thisbytefunctionallowsthesystemtoreadthebq27510ApplicationStatusdataflashlocation.Referto
Table6forspecificbitdefinitions.
Reserved–0x6b–0x7f
Thebq27510dataflashisanon-volatilememorythatcontainsbq27510initialization,default,cellstatus,
calibration,configuration,anduserinformation.Thedataflashcanbeaccessedinseveraldifferentways,
dependingonwhatmodethebq27510isoperatinginandwhatdataisbeingaccessed.
Commonlyaccesseddataflashmemorylocations,frequentlyreadbyasystem,areconvenientlyaccessed
throughspecificinstructions,alreadydescribedinSectionDataCommands.Thesecommandsareavailable
whenthebq27510iseitherinUNSEALEDorSEALEDmodes.
Mostdataflashlocations,however,areonlyaccessibleinUNSEALEDmodebyuseofthebq27510evaluation
softwareorbydataflashblocktransfers.Theselocationsshouldbeoptimizedand/orfixedduringthe
developmentandmanufactureprocesses.Theybecomepartofagoldenimagefileandcanthenbewrittento
multiplebatterypacks.Onceestablished,thevaluesgenerallyremainunchangedduringend-equipment
operation.
Toaccessdataflashlocationsindividually,theblockcontainingthedesireddataflashlocation(s)mustbe
transferredtothecommandregisterlocations,wheretheycanbereadtothesystemorchangeddirectly.Thisis
accomplishedbysendingtheset-upcommandBlockDataControl()(0x61)withdata0x00.Upto32bytesofdata
canbereaddirectlyfromtheBlockData()(0x40…0x5f),externallyaltered,thenrewrittentotheBlockData()
commandspace.Alternatively,specificlocationscanberead,altered,andrewritteniftheircorrespondingoffsets
areusedtoindexintotheBlockData()commandspace.Finally,thedataresidinginthecommandspaceis
transferredtodataflash,oncethecorrectchecksumforthewholeblockiswrittentoBlockDataChecksum()
(0x60).
Copyright©2009,TexasInstrumentsIncorporatedSubmitDocumentationFeedback15
ProductFolderLink(s):bq27510-G1
Not Recommended For New Designs