Texas Instruments bq27500 Marine Instruments User Manual


 
www.ti.com
7COMMUNICATIONS
7.1I
2
CINTERFACE
(a)1-bytewrite (b)quickread
(c)1-byteread
(d)incrementalread
(S=Start,Sr=RepeatedStart, A = Acknowledge,N=No Acknowledge,andP =Stop).
FuelGaugeGenerated
Hostgenerated
bq27500
bq27501
System-SideImpedanceTrack™FuelGauge
SLUS785SEPTEMBER2007
ThefuelgaugesupportsthestandardI
2
Cread,incrementalread,one-bytewritequickread,and
functions.The7-bitdeviceaddress(ADDR)isthemostsignificant7bitsofthehexaddressandisfixedas
1010101.The8-bitdeviceaddressistherefore0xAAor0xABforwriteorread,respectively.
Figure7-1.SupportedI
2
CFormats
Thequickreadreturnsdataattheaddressindicatedbytheaddresspointer.Theaddresspointer,a
registerinternaltotheI
2
Ccommunicationengine,incrementswheneverdataisacknowledgedbythe
bq27500ortheI
2
Cmaster.Quickwritesfunctioninthesamemannerandareaconvenientmeansof
sendingmultiplebytestoconsecutivecommandlocations(suchastwo-bytecommandsthatrequiretwo
bytesofdata).
Attempttowritearead-onlyaddress(NACKafterdatasentbymaster):
Attempttoreadanaddressabove0x7F(NACKcommand):
Attemptatincrementalwrites(NACKallextradatabytessent):
Incrementalreadatthemaximumallowedreadaddress:
TheI
2
CenginereleasesbothSDAandSCLiftheI
2
Cbusisheldlowfort
(BUSERR)
.Ifthefuelgaugewas
holdingthelines,releasingthemfreesthemastertodrivethelines.Ifanexternalconditionisholding
eitherofthelineslow,theI
2
Cengineentersthelow-powersleepmode.
SubmitDocumentationFeedbackCOMMUNICATIONS33