首页 AS5600DatasheetENv2英文版技术指导书

AS5600DatasheetENv2英文版技术指导书

举报
开通vip

AS5600DatasheetENv2英文版技术指导书AS560012-bitProgrammableContactlessPotentiometerGeneralDescriptionTheAS5600isaneasytoprogrammagneticrotarypositionsensorwithahigh-resolution12-bitanalogorPWMoutput.Thiscontactlesssystemmeasurestheabsoluteangleofadiametricmagnetizedon-axismagnet.ThisAS5600isdes...

AS5600DatasheetENv2英文版技术指导书
AS560012-bitProgrammableContactlessPotentiometerGeneralDescriptionTheAS5600isaneasytoprogrammagneticrotarypositionsensorwithahigh-resolution12-bitanalogorPWMoutput.Thiscontactlesssystemmeasurestheabsoluteangleofadiametricmagnetizedon-axismagnet.ThisAS5600isdesignedforcontactlesspotentiometerapplicationsanditsrobustdesigneliminatestheinfluenceofanyhomogenousexternalstraymagneticfields.Theindustry-standardI²Cinterfacesupportssimpleuserprogrammingofnon-volatileparameterswithoutrequiringadedicatedprogrammer.Bydefaulttheoutputrepresentsarangefrom0to360degrees.Itisalsopossibletodefineasmallerrangetotheoutputbyprogrammingazeroangle(startposition)andamaximumangle(stopposition).TheAS5600isalsoequippedwithasmartlowpowermodefeaturetoautomaticallyreducethepowerconsumption.Aninputpin(DIR)selectsthepolarityoftheoutputwithregardtorotationdirection.IfDIRisconnectedtoground,theoutputvalueincreaseswithclockwiserotation.IfDIRisconnectedtoVDD,theoutputvalueincreaseswithcounterclockwiserotation.OrderingInformationandContentGuideappearatendofdatasheet.KeyBenefits&FeaturesThebenefitsandfeaturesofAS5600,12-bitProgrammableContactlessPotentiometerarelistedbelow:Figure1:AddedValueofUsingAS5600BenefitsFeaturesHighestreliabilityanddurabilityContactlessanglemeasurementSimpleuser-programmablestartandstoppositionsovertheI²CSimpleprogramminginterfaceGreatflexibilityonangularexcursionMaximumangleprogrammablefrom18°upto360°High-resolutionoutputsignal12-bitDACoutputresolutionSelectableoutputAnalogoutputratiometrictoVDDorPWM-encodeddigitaloutputLow-powerconsumptionAutomaticentryintolow-powermodeamsDatasheetPage1[v1-01]2014-Oct-14DocumentFeedbackAS5600−GeneralDescriptionBenefitsFeaturesEasysetupAutomaticmagnetdetectionSmallformfactorSOIC-8packageRobustenvironmentaltoleranceWidetemperaturerange:-40°Cto+125°CApplicationsTheAS5600isideallysuitedforcontactlesspotentiometers,contactlessknobs,pedals,RCservosandotherangularpositionmeasurementsolutions.BlockDiagramThefunctionalblocksofthisdeviceareshownbelow:Figure2:FunctionalBlocksofAS5600VDD3V3SDASCLDIRRegisterSettingVDD5VLDO3.3VI²COTPPGOAnalogHallSensorsPWMFront-EndDigitalATANAFE12-bitA/DProcessingDriver(CORDIC)OUTandFiltering12-bitD/AAGCMagneticCoreAS5600GNDPage2amsDatasheetDocumentFeedback[v1-01]2014-Oct-14AS5600−PinAssignmentsPinAssignmentsFigure3:SOIC-8Pin-outVDD5V18DIRVDD3V327SCLOUT36SDAAS5600GND45PGOFigure4:PinDescriptionPinNumberNameTypeDescription1VDD5VSupplyPositivevoltagesupplyin5VmodePositivevoltagesupplyin3.3Vmode(requiresan2VDD3V3Supplyexternal1-μFdecouplingcapacitorin5Vmode)3OUTAnalog/digitaloutputAnalog/PWMoutput4GNDSupplyGroundProgramoption(internalpull-up,connectedto5PGODigitalinputGND=ProgrammingOptionB)6SDADigitalinput/outputI²CData7SCLDigitalinputI²CClockDirectionpolarity(GND=valuesincreaseclockwise,8DIRDigitalinputVDD=valuesincreasecounterclockwise)amsDatasheetPage3[v1-01]2014-Oct-14DocumentFeedbackAS5600−AbsoluteMaximumRatingsAbsoluteMaximumRatingsStressesbeyondthoselistedunder“AbsoluteMaximumRatings“maycausepermanentdamagetothedevice.Thesearestressratingsonly.Functionaloperationofthedeviceattheseoranyotherconditionsbeyondthoseindicatedunder“OperatingConditions”isnotimplied.Exposuretoabsolutemaximumratingconditionsforextendedperiodsmayaffectdevicereliability.Figure5:AbsoluteMaximumRatingsSymbolParameterMinMaxUnitsCommentsElectricalParametersDCSupplyVoltageatVDD5VVDD5V-0.36.1VpinDCSupplyVoltageatVDD3V3-0.34.0VVDD3V3pinDCSupplyVoltageatallVIO-0.3VDD+0.3VdigitaloranalogpinsInputcurrent(latch-upI-100100mANorm:JESD78SCRimmunity)ContinuousPowerDissipation(TA=+70°C)ContinuouspowerP50mWTdissipationElectrostaticDischargeESDHBMElectrostaticdischargeHBM±2kVNorm:MIL883Emethod3015.7TemperatureRangesandStorageConditionsTSTRGStoragetemperaturerange-55+125°CNorm:ICP/JEDECJ-STD-020Thereflowpeaksolderingtemperature(bodytemperature)isspecifiedaccordingtoIPC/JEDECJ-STD-020“Moisture/ReflowTPackagebodytemperature+260°CBODYSensitivityClassificationforNon-hermeticSolidStateSurfaceMountDevices.”TheleadfinishforPb-freeleadedpackagesis“MatteTin”(100%Sn)RelativehumidityRH585%NC(non-condensing)MSLMoisturesensitivelevel3Norm:ICP/JEDECJ-STD-033Page4amsDatasheetDocumentFeedback[v1-01]2014-Oct-14AS5600−ElectricalCharacteristicsElectricalCharacteristicsAlllimitsareguaranteed.TheparameterswithminimumandmaximumvaluesareguaranteedwithproductiontestsorSQC(StatisticalQualityControl)methods.OperatingConditionsFigure6:SystemElectricalCharacteristicsandTemperatureRangeSymbolParameterConditionsMinTypMaxUnits5.0VoperationmodePositivesupplyvoltageinVDD5V4.55.05.5V5.0VmodeDuringOTPburnprocedure(2)3.3Voperationmode3.03.33.6VPositivesupplyvoltageinVDD3V33.3VmodeDuringOTPburnprocedure(2)3.33.43.5VPM=00IDD(1)6.5mASupplycurrentinNOMAlwaysonPM=01lDD_LPM1(1)3.4mASupplycurrentinLPM1Pollingtime=5msPM=10lDD_LPM2(1)1.8mASupplycurrentinLPM2Pollingtime=20msPM=11lDD_LPM3(1)1.5mASupplycurrentinLPM3Pollingtime=100msInitialpeak,1μs100mASupplycurrentperbitforIDD_BURNburnprocedureSteadyburning,<30μs40mATAOperatingtemperature-40+125°CProgrammingT+20+30°CPtemperatureNote(s)and/orFootnote(s):1.Fortypicalmagneticfield(60mT)excludingcurrentdeliveredtotheexternalloadandtoleranceonpollingtimes.2.ForOTPburnprocedurethesupplylinesourceresistanceshouldnotexceed1Ohm.amsDatasheetPage5[v1-01]2014-Oct-14DocumentFeedbackAS5600−ElectricalCharacteristicsDigitalInputsandOutputsFigure7:DigitalInputandOutputCharacteristicsSymbolParameterConditionsMinTypMaxUnitsV_IHHigh-levelinputvoltage0.7×VDDVV_ILLow-levelinputvoltage0.3×VDDVV_OHHigh-leveloutputvoltageVDD-0.5VV_OLLow-leveloutputvoltage0.4VI_LKGLeakagecurrent±1μAAnalogOutputFigure8:AnalogOutputCharacteristicsSymbolParameterConditionsMinTypMaxUnitsDACintegral-non-linearityINL_DAC±5LSBelectricalspecificationDACdifferential-non-linearityDNL_DAC±1LSBelectricalspecificationROUT_FDOutputresistiveload0toVDDoutput100kΩROUT_PDOutputResistiveload10%to90%output10kΩCOUTOutputcapacitiveload1nFPage6amsDatasheetDocumentFeedback[v1-01]2014-Oct-14AS5600−TimingCharacteristicsPWMOutputFigure9:PWMOutputCharacteristicsSymbolParameterConditionsMinTypMaxUnitsPWMf1PWMfrequency(1)PWMF=00115HzPWMf2PWMfrequency(1)PWMF=01230HzPWMf3PWMfrequency(1)PWMF=10460HzPWMf4PWMfrequency(1)PWMF=11920HzPWM_DCPWMdutycycle2.997.1%PWM_SRPWMslewrateCload=1nF0.52V/μsOutputcurrentforI_O±0.5mAPWMoutputCapacitiveloadforC_L1nFPWMoutputNote(s)and/orFootnote(s):1.Frequencyisgivenastypicalvalues,toleranceis±5%TimingCharacteristicsFigure10:TimingConditionsSymbolParameterConditionsMinTypMaxUnitsT_DETWDWatchdogdetectiontime(1)WD=11minuteT_PUPower-uptime10msF_SSamplingrate150μsT_SETTL1SettlingtimeSF=002.2msT_SETTL2SettlingtimeSF=011.1msT_SETTL3SettlingtimeSF=100.55msT_SETTL4SettlingtimeSF=110.286msNote(s)and/orFootnote(s):1.Givenastypicalvalues,toleranceis±5%amsDatasheetPage7[v1-01]2014-Oct-14DocumentFeedbackAS5600−MagneticCharacteristicsMagneticCharacteristicsFigure11:MagneticCharacteristicsSymbolParameterConditionsMinMaxUnitsRequiredorthogonalcomponentOrthogonalmagneticfieldofthemagneticfieldstrengthBzstrength,regularoutputnoise3090mTmeasuredatthedie'ssurfaceON_SLOWandON_FASTalongacircleof1mmMinimumrequiredorthogonalBz_ERRORmagneticfieldstrength,8mTMagnetdetectionlevelSystemCharacteristicsFigure12:SystemSpecificationsSymbolParameterConditionsMinTypMaxUnitsRESResolution12bitDeviationfrombestlinefit;360°maximumangle,nomagnetINL_BLSystemINLdisplacement,no±1degreezero-programmingperformed(PWM,I²C)OrthogonalcomponentfortheRMSoutputmagneticfieldwithinthespecifiedON_SLOW0.015degreenoise(1sigma)range(Bz),after2.2ms;SF=00OrthogonalcomponentfortheRMSoutputON_FASTmagneticfieldwithinthespecified0.043degreenoise(1sigma)range(Bz),after286μs,SF=11Page8amsDatasheetDocumentFeedback[v1-01]2014-Oct-14AS5600−DetailedDescriptionDetailedDescriptionTheAS5600isaHall-basedrotarymagneticpositionsensorusingplanarsensorsthatconvertthemagneticfieldcomponentperpendiculartothesurfaceofthechipintoavoltage.ThesignalscomingfromtheHallsensorsarefirstamplifiedandfilteredbeforebeingconvertedbytheanalog-to-digitalconverter(ADC).TheoutputoftheADCisprocessedbythehardwiredCORDICblock(CoordinateRotationDigitalComputer)tocomputetheangleandmagnitudeofthemagneticfieldvector.Theintensityofthemagneticfieldisusedbytheautomaticgaincontrol(AGC)toadjusttheamplificationleveltocompensatefortemperatureandmagneticfieldvariations.TheanglevalueprovidedbytheCORDICalgorithmisusedbytheoutputstage.TheusercanchoosebetweenananalogoutputandaPWM-encodeddigitaloutput.Theformerprovidesanoutputvoltagewhichrepresentstheangleasaratiometriclinearabsolutevalue.Thelatterprovidesadigitaloutputwhichrepresentstheangleasthepulsewidth.TheAS5600isprogrammedthroughanindustry-standardI²Cinterfacetowriteanon-chipnon-volatilememory.Thisinterfacecanbeusedtoprogramazeroangle(startposition)andamaximumangle(stopposition)whichmapsthefullresolutionoftheoutputtoasubsetoftheentire0to360degreerange.ICPowerManagementTheAS5600bepoweredfroma5.0Vsupplyusingtheon-chipLDOregulator,oritcanbepowereddirectlyfroma3.3Vsupply.TheinternalLDOisnotintendedtopowerotherexternalICsandneedsa1μFcapacitortoground,asshowninFigure13.In3.3Voperation,theVDD5VandVDD3V3pinsmustbetiedtogether.Figure13:5.0Vand3.3VPowerSupplyOptions5.0VOperation3.3VOperation4.5-5.5V3.0–3.6V*VDD5VLDOVDD3V3VDD5VLDOVDD3V3100nF1µF100nF10µF**GNDGNDAS5600AS5600*3.3-3.5VforOTPprogramming**RequiredforOTPprogrammingonlyamsDatasheetPage9[v1-01]2014-Oct-14DocumentFeedbackAS5600−DetailedDescriptionI²CInterfaceTheAS5600supportsthe2-wireFast-modePlusI²C-slaveprotocolindevicemode,incompliancewiththeNXPSemiconductors(formerlyPhilipsSemiconductors)specificationUM10204.Adevicethatsendsdataontothebusisatransmitterandadevicereceivingdataisareceiver.Thedevicethatcontrolsthemessageiscalledamaster.Thedevicesthatarecontrolledbythemasterarecalledslaves.Amasterdevicegeneratestheserialclock(SCL),controlsthebusaccess,andgeneratestheSTARTandSTOPconditionsthatcontrolthebus.TheAS5600alwaysoperatesasaslaveontheI²Cbus.Connectionstothebusaremadethroughtheopen-drainI/OlinesSDAandtheinputSCL.Clockstretchingisnotincluded.ThehostMCU(master)initiatesdatatransfers.The7-bitslaveaddressoftheAS5600is0x36(0110110inbinary).SupportedModes•Random/Sequentialread•Byte/Pagewrite•Automaticincrement(ANGLEregister)•Standard-mode•Fast-mode•Fast–modePlusTheSDAsignalisthebidirectionaldataline.TheSCLsignalistheclockgeneratedbytheI²CbusmastertosynchronizesamplingdatafromSDA.ThemaximumSCLfrequencyis1MHz.DataissampledontherisingedgeofSCL.I²CInterfaceOperationFigure14:I²CTimingDiagramSDAtbuftLOWtRtFtHD.STASCLtSU.STAStopStarttHD.STAtHD.DATtHIGHtSU.DATRepeatedtSU.STOStartPage10amsDatasheetDocumentFeedback[v1-01]2014-Oct-14AS5600−DetailedDescriptionI²CElectricalSpecificationFigure15:I²CElectricalSpecificationsSymbolParameterConditionsMinTypMaxUnit0.3xVILLogiclowinputvoltage-0.3VVDD0.7xVDD+VIHLogichighinputvoltageVVDD0.3HysteresisofSchmitttrigger0.05xVHYSVDD>2.5VVinputsVDDLogiclowoutputvoltageVOL(open-drainoropen-collector)atVDD>2.5V0.4V3mAsinkcurrentIOLLogiclowoutputcurrentVOL=0.4V20mAOutputfalltimefromVIHmaxtot10(1)nsOFVILmax120Pulsewidthofspikesthatmustt(2)nsSPbesuppressedbytheinputfilter50InputVoltagebetween0.1xIInputcurrentateachI/OPin-10(3)μAIVDDand0.9x+10VDDTotalcapacitiveloadforeachbusC550pFBline(4)CI/OI/Ocapacitance(SDA,SCL)10pFNote(s)and/orFootnote(s):1.InFast-modePlus,falltimeisspecifiedthesameforbothoutputstageandbustiming.Ifseriesresistorsareusedthishastobeconsideredforbustiming.2.InputfiltersontheSDAandSCLinputssuppressnoisespikesoflessthan50ns.3.I/OpinsofFast-modeandFast-modePlusdevicesmustnotloadordrivetheSDAandSCLlinesifVDDisswitchedOFF.4.Special-purposedevicessuchasmultiplexersandswitchesmayexceedthiscapacitancebecausetheyconnectmultiplepathstogether.amsDatasheetPage11[v1-01]2014-Oct-14DocumentFeedbackAS5600−DetailedDescriptionI²CTimingFigure16:I²CTimingSymbolParameterMinMaxUnitfSCLKSCLclockfrequency1.0MHzBusfreetime(timebetweentheSTOPandSTARTt0.5μsBUFconditions)(1)tHD;STAHoldtime;(Repeated)STARTcondition0.26μstLOWLowphaseofSCLclock0.5μstHIGHHighphaseofSCLclock0.26μstSU;STASetuptimeforaRepeatedSTARTcondition0.26μs(2)tHD;DATDataholdtime0.45μs(3)tSU;DATDatasetuptime50nstRRisetimeofSDAandSCLsignals120ns(4)tFFalltimeofSDAandSCLsignals10120nstSU;STOSetuptimeforSTOPcondition0.26μsNote(s)and/orFootnote(s):1.Afterthistime,thefirstclockisgenerated.2.Adevicemustinternallyprovideaminimumholdtimeof120ns(Fast-modePlus)fortheSDAsignal(referredtotheVIHminofSCL)tobridgetheundefinedregionofthefallingedgeofSCL.3.AFast-modedevicecanbeusedinastandard-modesystem,buttherequirementtSU;DAT=250nsmustbemet.ThisisautomaticallyifthedevicedoesnotstretchthelowphaseofSCL.IfsuchadevicedoesstretchthelowphaseofSCL,itmustdrivethenextdatabitonSDA(tRmax+tSU;DAT=1000+250=1250ns)beforeSCLisreleased.4.InFast-modePlus,falltimeisspecifiedthesameforbothoutputstageandbustiming.Ifseriesresistorsareused,thishastobeconsideredforbustiming.Page12amsDatasheetDocumentFeedback[v1-01]2014-Oct-14AS5600−DetailedDescriptionI²CModesInvalidAddressesTherearetwoaddressesusedtoaccessanAS5600register.ThefirstistheslaveaddressusedtoselecttheAS5600.AllI²Cbustransactionsincludeaslaveaddress.TheslaveaddressoftheAS5600is0x36(0110110inbinary)Thesecondaddressisawordaddresssentinthefirstbytetransferredinawritetransaction.ThewordaddressselectsaregisterontheAS5600.ThewordaddressisloadedintotheaddresspointerontheAS5600.Duringsubsequentreadtransactionsandsubsequentbytesinthewritetransaction,theaddresspointerprovidestheaddressoftheselectedregister.Theaddresspointerisincrementedaftereachbyteistransferred,exceptforcertainreadtransactionstospecialregisters.Iftheusersetstheaddresspointertoaninvalidwordaddress,theaddressbyteisnotacknowledged(theAbitishigh).Nevertheless,areadorwritecycleispossible.Theaddresspointerisincreasedaftereachbyte.ReadingWhenreadingfromaninvalidaddress,theAS5600returnsallzerosinthedatabytes.Theaddresspointerisincrementedaftereachbyte.Sequentialreadsoverthewholeaddressrangearepossibleincludingaddressoverflow.AutomaticincrementoftheaddresspointerforANGLE,RAWANGLEandMAGNITUDEregistersThesearespecialregisterswhichsuppresstheautomaticincrementoftheaddresspointeronreads,soare-readoftheseregistersrequiresnoI²Cwritecommandtoreloadtheaddresspointer.Thisspecialtreatmentofthepointeriseffectiveonlyiftheaddresspointerissettothehigherbyteoftheregister,whichholdstheleastsignificantbits.WritingAwritetoaninvalidaddressisnotacknowledgedbytheAS5600,althoughtheaddresspointerisincremented.Whentheaddresspointerpointstoavalidaddressagain,asuccessfulwriteaccessedisacknowledged.Pagewriteoverthewholeaddressrangeispossibleincludingaddressoverflow.SupportedbusprotocolDatatransfermaybeinitiatedonlywhenthebusisnotbusy.Duringdatatransfer,thedatalinemustremainstablewheneverSCLishigh.ChangesinthedatalinewhileSCLishighareinterpretedasSTARTorSTOPconditions.amsDatasheetPage13[v1-01]2014-Oct-14DocumentFeedbackAS5600−DetailedDescriptionAccordingly,thefollowingbusconditionshavebeendefined:BusNotBusyBothSDAandSCLremainhigh.StartDataTransferAchangeinthestateofSDAfromhightolowwhileSCLishighdefinestheSTARTcondition.StopDataTransferAchangeinthestateofSDAfromlowtohighwhileSCLishighdefinestheSTOPcondition.DataValidThestateofthedatalinerepresentsvaliddatawhen,afteraSTARTcondition,SDAisstableforthedurationofthehighphaseofSCL.ThedataonSDAmustbechangedduringthelowphaseofSCL.Thereisoneclockperiodperbitofdata.EachI²CbustransactionisinitiatedwithaSTARTconditionandterminatedwithaSTOPcondition.ThenumberofdatabytestransferredbetweenSTARTandSTOPconditionsisnotlimited,andisdeterminedbytheI²Cbusmaster.Theinformationistransferredbyte-wiseandeachreceiveracknowledgeswithaninthbit.AcknowledgeEachI²Cslavedevice,whenaddressed,isobligedtogenerateanacknowledgeafterthereceptionofeachbyte.TheI²Cbusmasterdevicemustgenerateanextraclockperiodforthisacknowledgebit.AslavethatacknowledgesmustpulldownSDAduringtheacknowledgeclockperiodinsuchawaythatSDAisstablelowduringthehighphaseoftheacknowledgeclockperiod.Ofcourse,setupandholdtimesmustbetakenintoaccount.Amastermustsignalanendofareadtransactionbynotgeneratinganacknowledgebitonthelastbytethathasbeenclockedoutoftheslave.Inthiscase,theslavemustleaveSDAhightoenablethemastertogeneratetheSTOPcondition.Figure17:DataReadSlaveAddressRepeatedifmoreBytesaretransferredSDAMSBLSBR/WACKACKSCL12...67891...789StartStopConditionorConditionRepeatedStartConditionPage14amsDatasheetDocumentFeedback[v1-01]2014-Oct-14AS5600−DetailedDescriptionDependingonthestateoftheR/Wbit,twotypesofdatatransferarepossible:DatatransferfromamastertransmittertoaslavereceiverThefirstbytetransmittedbythemasteristheslaveaddress,followedbyR/W=0.Nextfollowsanumberofdatabytes.Theslavereturnsanacknowledgebitaftereachreceivedbyte.Iftheslavedoesnotunderstandthecommandordataitsendsanotacknowledge(NACK).Dataistransferredwiththemostsignificantbit(MSB)first.DatatransferfromaslavetransmittertoamasterreceiverThemastertransmitsthefirstbyte(theslaveaddress).Theslavethenreturnsanacknowledgebit,followedbytheslavetransmittinganumberofdatabytes.Themasterreturnsanacknowledgebitafterallreceivedbytesotherthanthelastbyte.Attheendofthelastreceivedbyte,aNACKisreturned.ThemastergeneratesalloftheSCLclockperiodsandtheSTARTandSTOPconditions.AtransferisendedwithaSTOPconditionorwitharepeatedSTARTcondition.BecausearepeatedSTARTconditionisalsothebeginningofthenextserialtransfer,thebusisnotreleased.Dataistransferredwiththemostsignificantbit(MSB)first.AS5600slavemodesSlaveReceiverMode(WriteMode)SerialdataandclockarereceivedthroughSDAandSCL.Eachbyteisfollowedbyanacknowledgebitorbyanotacknowledgedependingonwhethertheaddress-pointerselectsavalidaddress.STARTandSTOPconditionsarerecognizedasthebeginningandendofabustransaction.TheslaveaddressbyteisthefirstbytereceivedaftertheSTARTcondition.The7-bitAS5600addressis0x36(0110110inbinary).The7-bitslaveaddressisfollowedbythedirectionbit(R/W),which,forawrite,is0(low).AfterreceivinganddecodingtheslaveaddressbytetheslavedevicedrivesanacknowledgeonSDA.AftertheAS5600acknowledgestheslaveaddressandwritebit,themastertransmitsaregisteraddress(wordaddress)totheAS5600.ThisisloadedintotheaddresspointerontheAS5600.Iftheaddressisavalidreadableaddress,theAS5600answersbysendinganacknowledge(Abitlow).Iftheaddresspointerselectsaninvalidaddress,anotacknowledgeissent(Abithigh).Themastermaythentransmitzeroormorebytesofdata.Iftheaddresspointerselectsaninvalidaddress,thereceiveddataarenotstored.Theaddresspointerwillincrementaftereachbytetransferredwhetherornottheaddressisvalid.Iftheaddress-pointerreachesavalidpositionagain,theAS5600answerswithanacknowledgeandstoresthedata.ThemastergeneratesaSTOPconditiontoterminatethewritetransaction.amsDatasheetPage15[v1-01]2014-Oct-14DocumentFeedbackAS5600−DetailedDescriptionFigure18:DataWrite(SlaveReceiverMode)S01101100AXXXXXXXXAXXXXXXXXAXXXXXXXXAXXXXXXXXAPS–StartA–Acknowledge(ACK)Datatransferred:X+1Bytes+AcknowledgeP–StopSlaveTransmitterMode(ReadMode)Thefirstbyteisreceivedandhandledasintheslavereceivermode.However,inthismode,thedirectionbitindicatesthattheAS5600willdrivedataonSDA.STARTandSTOPconditionsarerecognizedasthebeginningandendofabustransaction.TheslaveaddressbyteisthefirstbytereceivedafterthemastergeneratesaSTARTcondition.Theslaveaddressbytecontainsthe7-bitAS5600address.The7-bitslaveaddressisfollowedbythedirectionbit(R/W),which,foraread,is1(high).Afterreceivinganddecodingtheslaveaddressbyte,theslavedevicedrivesanacknowledgeontheSDAline.TheAS5600thenbeginstotransmitdatastartingwiththeregisteraddresspointedtobytheaddresspointer.Iftheaddresspointerisnotwrittenbeforetheinitiationofareadtransaction,thefirstaddressthatisreadisthelastonestoredintheaddresspointer.TheAS5600mustreceiveanotacknowledge(NACK)toendareadtransaction.Figure19:DataRead(SlaveTransmitterMode)S01101101AXXXXXXXXAXXXXXXXXAXXXXXXXXAXXXXXXXXNAPS–StartA–Acknowledge(ACK)Datatransferred:X+1Bytes+AcknowledgeNA–NotAcknowledge(NACK)Note:LastdatabyteisfollowedbyNACKP–StopPage16amsDatasheetDocumentFeedback[v1-01]2014-Oct-14AS5600−DetailedDescriptionFigure20:DataReadwithAddressP
本文档为【AS5600DatasheetENv2英文版技术指导书】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
个人认证用户
天山书童
暂无简介~
格式:pdf
大小:712KB
软件:PDF阅读器
页数:0
分类:高中语文
上传时间:2019-11-24
浏览量:27