




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
August2015AW2015帶低電壓充電指示功能的RGB呼吸燈控制特概LEDAW2015是一款帶低電壓充電指示和呼吸燈控制RGBLED驅(qū)動芯片,最LED2561600萬PWM分辨率即使在低亮度時也能保持均勻細膩的AW2015支持低電壓充電指示指示功能。當(dāng)電池電若充電指示狀態(tài)CHRG_F為高,則自動開啟默認LED1(紅燈)輸出,周期為5秒,最大輸出電流為6mA。ShutDown模式下,AW2015內(nèi)部電路全部關(guān)閉,功耗小于1μAStandby模式下,AW2015僅I2C接口工作,功耗小于10μA。2.4~5.5V。August2015AW2015帶低電壓充電指示功能的RGB呼吸燈控制特概LEDAW2015是一款帶低電壓充電指示和呼吸燈控制RGBLED驅(qū)動芯片,最LED2561600萬PWM分辨率即使在低亮度時也能保持均勻細膩的AW2015支持低電壓充電指示指示功能。當(dāng)電池電若充電指示狀態(tài)CHRG_F為高,則自動開啟默認LED1(紅燈)輸出,周期為5秒,最大輸出電流為6mA。ShutDown模式下,AW2015內(nèi)部電路全部關(guān)閉,功耗小于1μAStandby模式下,AW2015僅I2C接口工作,功耗小于10μA。2.4~5.5V。最大輸出電流4級可每路獨立256級電流可配,支持1600萬種配256PWM控制實現(xiàn)淡進淡12bitPWM3組獨立的Pattern控制3路LED可同步控制或單獨控制支持低電壓充電狀態(tài)自動指I2C接口CHRG_F引腳為高時直接啟動呼吸燈LED1輸出,呼最大輸出電流1.8~3.3V芯片采用纖小占板面積小FC-QFN8L封裝纖小的FC-QFN8L典型應(yīng)用1Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,August2015AW20153ChannelLEDDriverswithAutoChargingGENERAL3-channelconstantcurrentLEDAW2015isathreechannelsconstantcurrentLEDdriverwithautochargingindicationfunction.Themaxoutputcurrentis4-levelselectableamong3mA,6mA,12mAand25mA.EachLEDis256currentlevelsconfigurablesoastoachieve256*256*256colormixing.The256-leveldimmingand12bitsPWMresolutioncreatefineandsmoothdimmingeffecteveninlowbrightness.theconditionoflowbatteryvoltage.Whenthevoltageofbatteryistoolow,andtheI2Cinterfacecan’twork,theinternalpatterncontrollerwillbeactivatedifCHRG_Fpinishigh,andpinLED1willoutputbreathingeffectwithperiodof5sand6mAmaxcurrent.Inshutdownmode,AW2015turnoffallinternalcircuitandtheconsumptionislessthan1μA.Instandbymode,I2Cinterfaceworksandtheconsumptionislessthan10μA.Thedevicerequiresonly2.4V~5.5Vsinglepowersupply.AnI2Ccompatibleinterfacein400kHzfastmodeisprovided,thedeviceaddressis64h.AW2015isavailableinaultra-thin8pinFC-QFN1.2mm×1.2mm×0.37mmpackage.4-levelIMAXselections:3/6/12/25mA256currentlevelssettingforeachLEDSupports256*256*256color-mixing256-levelPWMdimming,12-bitPWMresolutionSupportchargingindicationunderlowbatteryvoltageconditionDirectlystartupbreathinglightonLED1viapullingpinCHRG_FuptohighMaxoutputcurrent:AutomaticAugust2015AW20153ChannelLEDDriverswithAutoChargingGENERAL3-channelconstantcurrentLEDAW2015isathreechannelsconstantcurrentLEDdriverwithautochargingindicationfunction.Themaxoutputcurrentis4-levelselectableamong3mA,6mA,12mAand25mA.EachLEDis256currentlevelsconfigurablesoastoachieve256*256*256colormixing.The256-leveldimmingand12bitsPWMresolutioncreatefineandsmoothdimmingeffecteveninlowbrightness.theconditionoflowbatteryvoltage.Whenthevoltageofbatteryistoolow,andtheI2Cinterfacecan’twork,theinternalpatterncontrollerwillbeactivatedifCHRG_Fpinishigh,andpinLED1willoutputbreathingeffectwithperiodof5sand6mAmaxcurrent.Inshutdownmode,AW2015turnoffallinternalcircuitandtheconsumptionislessthan1μA.Instandbymode,I2Cinterfaceworksandtheconsumptionislessthan10μA.Thedevicerequiresonly2.4V~5.5Vsinglepowersupply.AnI2Ccompatibleinterfacein400kHzfastmodeisprovided,thedeviceaddressis64h.AW2015isavailableinaultra-thin8pinFC-QFN1.2mm×1.2mm×0.37mmpackage.4-levelIMAXselections:3/6/12/25mA256currentlevelssettingforeachLEDSupports256*256*256color-mixing256-levelPWMdimming,12-bitPWMresolutionSupportchargingindicationunderlowbatteryvoltageconditionDirectlystartupbreathinglightonLED1viapullingpinCHRG_FuptohighMaxoutputcurrent:Automaticbreathinglightwithflexiblethreeindependentpatterncontrollerspulsesrepeating,multiplecolorsalternativemultiplepatternsrunningsuccessively400kHzfastI2Cinterface,1.8V~3.3VSinglepowersupply,2.4V~5.5VLowpowerLessthan1μAinshutdownmodeLessthan10μAinstandbymodeFC-QFN8LAdapterPlugInIndicatorChargingIndicator2Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,August2015 GENERAL PINCONFIGURATIONANDTOP PINAugust2015 GENERAL PINCONFIGURATIONANDTOP PIN ORDERING ABSOLUTERATINGS(NOTE I2CINTERFACE POWER_ON OPERATING SOFTWARE I2C LED LED PATTERNCONTROL MANUALCONTROL AUTOCHARGING REGISTER REGISTER DETAILEDREGISTER TAPEANDREEL CARRIER PIN1 RECOMMENDEDLAND 3Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,August2015PINCONFIGURATIONANDTOPAW2015FCRTOPAW2015FCR123PIN4Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,841SerialClockInputforI2C2SerialAugust2015PINCONFIGURATIONANDTOPAW2015FCRTOPAW2015FCR123PIN4Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,841SerialClockInputforI2C2SerialDataI/OforI2C34ChargeIndicator5PowerSupply(2.4V-6LED3CathodeDriver,anodeconnectedto7LED2CathodeDriver,anodeconnectedto8LED1CathodeDriver,anodeconnectedtoAugust2015PWMAdapterPlugInIndicatorChargingIndicator5Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,August2015PWMAdapterPlugInIndicatorChargingIndicator5Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,August2015ORDERINGR:Tape&FC:FC-RATINGS(NOTENOTE1:Conditionsoutofthoserangeslistedin“absolutemaximumratings”maycausepermanentdamagesAugust2015ORDERINGR:Tape&FC:FC-RATINGS(NOTENOTE1:Conditionsoutofthoserangeslistedin“absolutemaximumratings”maycausepermanentdamagestothedevice.Inspiteofthelimitsabove,functionaloperationconditionsofthedeviceshouldwithintherangeslistedin“recommendedoperatingconditions”.Exposuretoabsolute-maximum-ratedconditionsforprolongedperiodsmayaffectdevicereliability.NOTE2:Thehumanbodymodelisa100pFcapacitordischargedthrougha1.5kΩresistorintoeachpin.Testmethod:MIL-STD-883GMethod3015.76Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,Supplyvoltagerange-0.3VtoInputvoltageSCL,-0.3Vto-0.3Vto-0.3VtoOutputvoltage-0.3Vto-40℃to-55℃toLeadTemperature(Soldering10ESD(NOTEHBM(humanbodyLatch-Part-TapeandAugust20157Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,TestPower-VCurrentinShutdown(over1CurrentinStandby5QuiescentCurrentinActiveallLEDoffCurrentinActiveAllchannelsettoLED1August20157Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,TestPower-VCurrentinShutdown(over1CurrentinStandby5QuiescentCurrentinActiveallLEDoffCurrentinActiveAllchannelsettoLED1setto12.75mALED2,LED3offAllchannelsettoTFALL=2.1s,TOFF=1sLED1setto12.75mALED2,LED3offTFALL=2.1s,TOFF=1sDigitalLogicalLogicinputlowVLogicinputhighVVBAT-Lowlevelinput5Highlevelinput5LogicoutputlowSDA,VOutputleakageSDAopen1I2CI2C-BUSclockLEDAugust2015NOTE5:Thevalueistestedindefault8Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,CurrentAugust2015NOTE5:Thevalueistestedindefault8Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,Current-%-%PWMRegisterRegisterAugust2015I2CINTERFACE9Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,InterfaceClockLowlevelwidthofHighlevelwidthofDatahold0DatasetupRisingtimeofSDAandFallingtimeofSDAandStopAugust2015I2CINTERFACE9Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,InterfaceClockLowlevelwidthofHighlevelwidthofDatahold0DatasetupRisingtimeofSDAandFallingtimeofSDAandStopconditionsetupTimebetweenstartandstopAugust2015AW2015providesapower-onresetfeaturethatiscontrolledbyVBATsupplyvoltage.WhentheVBATsupplyvoltagerisesfrom0Vto2.4V,theinternalLDOstartstowork.Theresetsignalwillbegeneratedtoperformapower-onresetoperation,whichwillresetallcontrolcircuitsandconfigurationAugust2015AW2015providesapower-onresetfeaturethatiscontrolledbyVBATsupplyvoltage.WhentheVBATsupplyvoltagerisesfrom0Vto2.4V,theinternalLDOstartstowork.Theresetsignalwillbegeneratedtoperformapower-onresetoperation,whichwillresetallcontrolcircuitsandconfigurationregistersuntiltheinternalpowervoltagebecomestable.ThestatusbitSTATUS.PUIS(register:0x02bit4)willbesetto1whenpower-onresetoperationoccurs,whichwillbeclearedbyareadoperationofSTATUSregister.UsuallytheSTATUS.PUISbitcanbeusedtocheckwhetheraunexpectedpower-oneventhastakenplace.InAW2015,pinSCLprovidespowerdowncontrol.Therearethreeworkmodesavailable:Shut-down,StandbyandActivemode.ShutFigure1.AW2015operatingmodeShut-downAW2015entersintotheshut-downmodewhenCHRG_FislowandSCLlevelispulledtolowforover130ms(preventssystemagainstwrongresetscausedbyelectromagneticallyinfluences)Inshut-downmode,AW2015willresetallinternalcircuitsandconfigurationregister,allblocksinsideAW2015arebasicallyswitchedoffexceptthepoweronresetcircuitandtheSCLleveldetectcircuit,andthecurrentconsumptionisverylow(<1A).StandbyAW2015entersintostandbymodewhenSCLlevelispulledhighfromshut-downmodeorCHRG_FislowandCHIPENis0fromactivemode.Instandbymode,onlypartofinternalcircuitcanwork,theOSCstillkeepclosedsothatthereisnotinternalclock,theLDOoperatesinlowpowerstate.ThecurrentconsumptionislessthanInstand-bymode,theI2Cinterfaceisaccessible,butonlyregistersRSTIDRandGCRcanbeActiveWhenbitCHIPENofGCRregisterissetto1instandbymodeorCHRG_Fishighinshutdownmode,AW2015entersintoactivemode.Inactivemode,theinternalOSCstartstoworktoprovideclocksignal.Usercanconfigurethedevicetoproducethepre-definedpatternlightingeffectsinpatternmodeorturneachLEDonoroffdirectly.WhenPWMlevelislowinfade-inandfade-out,onlytheOSCmoduleworksandtheconsumptionisCopyright?2015SHANGHAIAWINICTECHNOLOGYCO.,CHRG_F=SCL=&&CHRG_F=0)&&CHRG_F=0)August201580uA(IQ).SotheaverageconsumptionofbreathingiseveryeFigure2.AW2015consumptioninactiveReferthefollowingdetailedformula(LED1/LED2/LED3(TRISE+TFALL)*25%+ T+++August201580uA(IQ).SotheaverageconsumptionofbreathingiseveryeFigure2.AW2015consumptioninactiveReferthefollowingdetailedformula(LED1/LED2/LED3(TRISE+TFALL)*25%+ T+++Writing0x55toregisterRSTIDR(register:0x00)viaI2CinterfacewillresettheAW2015internalcircuitsandallconfigurationregisters.I2CAW2015supportstheI2Cserialbusanddatatransmissionprotocolinfastmodeat400KHz.AW2015operatesasaslaveontheI2Cbus.Connectionstothebusaremadeviatheopen-drainI/OpinsSCLandSDA.Thepull-upresistorcanbeselectedintherangeof1k~10kΩandthetypicalvalueis4.7kΩ.AW2015cansupportdifferenthighlevel(1.8V~3.3V)ofthisI2Cinterface.DeviceTheI2Cdeviceaddress(7-bit)ofAW2015is0x64,followedbytheR/WbitDataWhenSCLishighlevel,SDAlevelmustbeconstant.SDAcanbechangedonlywhenSCLislowoData I2CI2Cstart:SDAchangesformhighleveltolowlevelwhenSCLishighI2Cstop:SDAchangesformlowleveltohighlevelwhenSCLishighCopyright?2015SHANGHAIAWINICTECHNOLOGYCO.,WhenPWMlevelislow,onlythetimermoduleworksandtheconsumptionisIQAugust2015PP:STOPS:STARTSr:STARTRepeatedFigure4.I2CStart/StopConditionACKACKmeansthesuccessfultransferofI2Cbusdata.Aftermastersends8bitsdata,August2015PP:STOPS:STARTSr:STARTRepeatedFigure4.I2CStart/StopConditionACKACKmeansthesuccessfultransferofI2Cbusdata.Aftermastersends8bitsdata,SDAmustbereleased;SDAispulledtoGNDbyslavedevicewhenslaveacknowledges.Whenmasterreads,slavedevicesends8bitdata,releasestheSDAandwaitsforACKfrommaster.IfACKissendandI2Cstopisnotsendbymaster,slavedevicesendsthenextdata.IfACKisnotsendbymaster,slavedevicestopstosenddataandwaitsforI2Cstop.DataOutputbyNotby8129ClockPulseforFigure5.I2CACKWriteOnedatabitistransferredduringeachclockpulse.Dataissampledduringthehighstateoftheserialclock(SCL).Consequently,throughouttheclock’shighperiod,thedatashouldremainstable.AnychangesontheSDAlineduringthehighstateoftheSCLandinthemiddleofatransaction,abortsthecurrenttransaction.NewdatashouldbesentduringthelowSCLstate.Thisprotocolallowsasingledatalinetotransferbothcommand/controlinformationanddatausingthesynchronousserialclock.EachdatatransactioniscomposedofaStartCondition,anumberofbytetransfers(setbythesoftware)andaStopConditiontoterminatethetransaction.EverybytewrittentotheSDAbusmustbe8bitslongandistransferredwiththemostsignificantbitfirst.Aftereachbyte,anAcknowledgesignalmustfollow.Inawriteprocess,thefollowingstepsshouldbeMasterdevicegeneratesSTARTcondition.The“START”signalisgeneratedbyloweringtheSDAsignalwhiletheSCLsignalishigh.Masterdevicesendsslaveaddress(7-bit)andthedatadirectionbit(r/w=SlavedevicesendsacknowledgesignaliftheslaveaddressisCopyright?2015SHANGHAIAWINICTECHNOLOGYCO.,August2015Mastersendscontrolregisteraddress(8-bit)SlavesendsacknowledgesignalMastersendsdatabytetobewrittentotheaddressedregisterSlavesendsacknowledgesignalIfmasterwillsendfurtherdatabytesthecontrolregisteraddresswillbeincrementedbyoneafteracknowledgesignal(repeatstep6,7)MastergeneratesSTOPconditiontoindicatewritecycle01234567801234567801234August2015Mastersendscontrolregisteraddress(8-bit)SlavesendsacknowledgesignalMastersendsdatabytetobewrittentotheaddressedregisterSlavesendsacknowledgesignalIfmasterwillsendfurtherdatabytesthecontrolregisteraddresswillbeincrementedbyoneafteracknowledgesignal(repeatstep6,7)MastergeneratesSTOPconditiontoindicatewritecycle012345678012345678012345678A6A5A4A3A2A1A0R/WAckA7A6A5A4A3A2A1A0AckD7D6D5D4D3D2D1DeviceRegisterWriteFigure6.I2CWriteByteReadInareadcycle,thefollowingstepsshouldbeMasterdevicegeneratesSTARTMasterdevicesendsslaveaddress(7-bit)andthedatadirectionbit(r/w=0).Slavedevicesendsacknowledgesignaliftheslaveaddressiscorrect.Mastersendscontrolregisteraddress(8-bit)SlavesendsacknowledgesignalMastergeneratesSTOPconditionfollowedwithSTARTconditionorREPEATSTARTconditionMasterdevicesendsslaveaddress(7-bit)andthedatadirectionbit(r/w=1).Slavedevicesendsacknowledgesignaliftheslaveaddressiscorrect.Slavesendsdatabytefromaddressedregister.Ifthemasterdevicesendsacknowledgesignal,theslavedevicewillincreasethecontrolregisteraddressbyone,thensendthenextdatafromthenewaddressedregister.IfthemasterdevicegeneratesSTOPcondition,thereadcycleisCopyright?2015SHANGHAIAWINICTECHNOLOGYCO.,August2015801234567801234567A5A4A3A2R/WA6A5A4A3A0DeviceRegister01234567801678RepeatstartR/WD6D1WriteDevice01234567801678R/WtransactionA6A5A4A3A2A1PSDeviceWriteFigure7.I2CReadByteLEDAW2015hasthreeLEDdriverstodriveoneRGBLEDorthreesingle-colorLEDs.EachLEDisdrivenbycommon-anodemodeconstantcurrentsourcewithdutycyclecontrolledbyPWM.BothcurrentandPWMcanbeconfiguredviaI2Cinterface.LEDGlobally,themaximumoutputcurrentforthreeLEDsis4-levelselectableamong3mA,6mA,12mAand25.5mAviaregisterIMAX(register:0x03).Ingeneral,IMAXisusedtosetthemaxbrightnessofLEDoutput.ForeachLED,thereis256currentlevelsconfigurablevia8-bitregistergroupsILEDx_y(x=1~3,y=1~4).SoinRGBapplicationitispossibletocombineinto256x256x256color-mixingschemestotallytoachieveso-calledtrue-coloreffect.GenerallythecurrentlevelregisterisusedtoformspecifiedLEDcolorforRGBapplication.AW2015has4groupspre-definedcurrentregisterscapableofforming4dedicatedcolorsintrue-colorpatternscheme,inwhichupto4pre-definedcolorscanbeconfiguredtorepresent4kindsofmessage,morethanonecolorcanflashonebyonesuccessivelyinthesamepatternwhenit’snecessarytotransmitmorethanonemessages.PWMDimmingAugust2015801234567801234567A5A4A3A2R/WA6A5A4A3A0DeviceRegister01234567801678RepeatstartR/WD6D1WriteDevice01234567801678R/WtransactionA6A5A4A3A2A1PSDeviceWriteFigure7.I2CReadByteLEDAW2015hasthreeLEDdriverstodriveoneRGBLEDorthreesingle-colorLEDs.EachLEDisdrivenbycommon-anodemodeconstantcurrentsourcewithdutycyclecontrolledbyPWM.BothcurrentandPWMcanbeconfiguredviaI2Cinterface.LEDGlobally,themaximumoutputcurrentforthreeLEDsis4-levelselectableamong3mA,6mA,12mAand25.5mAviaregisterIMAX(register:0x03).Ingeneral,IMAXisusedtosetthemaxbrightnessofLEDoutput.ForeachLED,thereis256currentlevelsconfigurablevia8-bitregistergroupsILEDx_y(x=1~3,y=1~4).SoinRGBapplicationitispossibletocombineinto256x256x256color-mixingschemestotallytoachieveso-calledtrue-coloreffect.GenerallythecurrentlevelregisterisusedtoformspecifiedLEDcolorforRGBapplication.AW2015has4groupspre-definedcurrentregisterscapableofforming4dedicatedcolorsintrue-colorpatternscheme,inwhichupto4pre-definedcolorscanbeconfiguredtorepresent4kindsofmessage,morethanonecolorcanflashonebyonesuccessivelyinthesamepatternwhenit’snecessarytotransmitmorethanonemessages.PWMDimmingInAW2015,eachLEDcurrentsourceisgatedbya256-level,12bitresolutionPWMsignaltocreatefinedimmingEachLEDhasan8bitPWMregisterPWMx(register:0x1c,0x1d,0x1e)tocontrolthedutycycleofconstantcurrentsource.TherampupanddownareautomaticallyimplementedbyPWMdutycontinuouslyadjustedtoformasmoothLEDcurrenttransitionbetweenONandOFFstate.Therampslope,forriseandfall,areseparatelysetviaconfiguringthebit4~bit7inpatternregistersPATx_1andPATx_2.Therampingcanbeconfiguredaslinearandlogarithmiccurvebysettingbit0~1(PWMLOG)inregisterLEDCTR(register0x08).LEDEachLEDofAW2015canbeindependentlyconfiguredtoworkornotviacontrolbit--LEDxEN=0,LEDxchannelisdisabledandnocurrentLEDxEN=1,LEDxchannelisenabledtooutputlightingeffectindifferentworkByregisterconfiguration,AW2015providestwotypesofLEDcontrol-PatterncontrolCopyright?2015SHANGHAIAWINICTECHNOLOGYCO.,August2015AW2015containsthreeindependentpatterncontrollerandthreegroupsofpatternparameterregistertogenerateuser-definedbreathinglightingeffect.InRGBapplication,onepatterncontrollercontrol3LEDsimultaneouslytoproducetrue-colorbreathinglighting,andthreegroupsofpatternparametercanbeexecutedsuccessivelyorcyclically.ForLED-independentapplication,threepatterncontrollerareallocatedtothreedifferentLEDsrespectively,eachoperateswithindividualpatternparameter,usercanstartorstopeachpatternindependentlyManualcontrolUserdirectlysetthebrightnesslevelofeachLEDbyconfiguringrelativecurrentlevelregisterandPWMlevelregisterviaI2Cinterface.Usuallyit’srecommendedtomodifythePWMleveltosetonoroff.ForeachvariationofPWMlevelAugust2015AW2015containsthreeindependentpatterncontrollerandthreegroupsofpatternparameterregistertogenerateuser-definedbreathinglightingeffect.InRGBapplication,onepatterncontrollercontrol3LEDsimultaneouslytoproducetrue-colorbreathinglighting,andthreegroupsofpatternparametercanbeexecutedsuccessivelyorcyclically.ForLED-independentapplication,threepatterncontrollerareallocatedtothreedifferentLEDsrespectively,eachoperateswithindividualpatternparameter,usercanstartorstopeachpatternindependentlyManualcontrolUserdirectlysetthebrightnesslevelofeachLEDbyconfiguringrelativecurrentlevelregisterandPWMlevelregisterviaI2Cinterface.Usuallyit’srecommendedtomodifythePWMleveltosetonoroff.ForeachvariationofPWMlevelregister,thesmoothlyrampingeffectissupportedbysettingFADE_INbitand/orFADE_OUTbitinregisterLCFGx(x=1~3).-PatternControlBreathingLightingWhenregisterbitLCFGx.LEDMD(register:0x04,0x05,0x06bit0)issetto1,thecorrespondingLEDxoperatesinpatternmode.UsershouldconfiguretherelatedpatternparameterregistersaccordingtoactualtimingrequirementsviaI2Cinterfacebeforestartingpattern.Therepeatingtimesofpatternisconfigurablealso,whichmaybe1~2048orinfiniteaccordingtosettingofregisterPATx_T5(x=1~4).SinglePulseBasicallyonepatterncontainsonlyoneblinking,it’scalledassinglepulsemode.Insinglepulsemode,thepatternparametersincludesdelaytime,risetime,ontime,falltime,offtimeandrepeattimescanbesetbycorrespondingconfigurationregisters(PATx_T1~T5),Themeaningsofbasicsingle-pulsepatternparametersareshowninFigureandtablebelow.Figure8.Basicsingle-pulsepatternparameterAserialfastpulseblinkingcanbeusedtotransmitmessagedifferentfromthatcarriedbysinglepulse.Inmulti-pulsemode,upto4pulsesareallowedduringonecolorblinking.Besidesthebasictimingparameterdefinedinsingle-pulsemode,thereare2additionalparameterneedtobeset:Thenumberofmulti-pulseisdefinedbysettingbit4~5(MPULSE)inregisterPATx_T4(register:0x33/0x38/0x3D),theactualblinkingtimesisMPULSE+1.TheintervaltimebetweentwoadjacentpulsesisdefinedbyTSLOT,bit5~7inPATx_T4(register:Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,Pausetimebetweenmultiple0sDelaytimeuntilpattern08sRisetimefordimming08sOn08sFalltimefordimming08sOff08sAugust2015TTTAnexampleofmulti-pulsepatternisshownBlinkingwithmultipledifferentcolorsisallowedinonepatternperiodinRGBLEDapplication,ifdifferentcolorisexpectedtocarrydifferentmessage.InAW2015,theLEDcolorisdefinedbyLEDcurrentconfigureregisterILEDx_y(x=1~3,y=1~4),thereare4RGBcurrentcombinationAugust2015TTTAnexampleofmulti-pulsepatternisshownBlinkingwithmultipledifferentcolorsisallowedinonepatternperiodinRGBLEDapplication,ifdifferentcolorisexpectedtocarrydifferentmessage.InAW2015,theLEDcolorisdefinedbyLEDcurrentconfigureregisterILEDx_y(x=1~3,y=1~4),thereare4RGBcurrentcombinationtogenerate4pre-definedcolorsfordisplay.Morethanoneofthe4pre-definedcolorscanbechosenbysettingCE1~CE4,bit0~bit3inPATx_T4(register:x32/0x37/0x3C),whenCExissetto1,thecolor#xisallowtobedisplayedincurrentpattern.IfthecolorsettingonCE1~CE4ismodifiedduringcurrentpatternisrunning,theupdatingofnewcolorsettingwillnotoccuruntilpresentpatternperiodisover.switchingtoanothercolor,andthedisplayorderofcolorisalwaysfromcolor#1tocolor#4.Anexampleof4-color/single-pulsepatternisshownbelow,inwhichtheCE1~CE4arechangedtwiceduringpatternisrunning.Figure11.Exampleofmulti-colormodeandcolorschemeTrue-colorBreathingIntrue-colorbreathinglightingapplication,theLEDMD,bit0inLCFGx(register:0x04,0x05,0x06),andtheSYNC,bit3inLEDCTR(register:0x08bit3)shouldbesetto1,threeLEDoutputsharethesamepatterncontrollertogeneratePWMdimmingsimultaneously.Multi-pulse,multi-colorandmulti-patternmodesaresupportedfullyinthismode.TheRGBcolorisdefinedbyLEDcurrentsettingregisterILEDx_y(x=1~3,y=1~4),thereare4RGBcurrentcombinationtogenerate4pre-definedcolorfordisplay.Copyright?2015SHANGHAIAWINICTECHNOLOGYCO.,August2015Intrue-colormode(SYNC=1),3groupsofpatterntimerparameterscouldbeappliedtodefined3differentbreathinglightingeffects,whichcanbeexecutedsuccessivelyorkeeploopingforever,withoutexternalprocessorinvolvedtocontroleverypatternswitching.Foreachpattern,ifPATx_T4.SW(register:0x33,0x38,0x3E)issetto1,thenextpatternparameterwillbeloadedandstartedautomaticallyaftercurrentpatternhasThefollowingtablegivesthecurrent,patternandthestart/stopAugust2015Intrue-colormode(SYNC=1),3groupsofpatterntimerparameterscouldbeappliedtodefined3differentbreathinglightingeffects,whichcanbeexecutedsuccessivelyorkeeploopingforever,withoutexternalprocessorinvolvedtocontroleverypatternswitching.Foreachpattern,ifPATx_T4.SW(register:0x33,0x38,0x3E)issetto1,thenextpatternparameterwillbeloadedandstartedautomaticallyaftercurrentpatternhasThefollowingtablegivesthecurrent,patternandthestart/stopcontrolsourceforeachLEDchannelintrue-colorpatternmode.Note:Y=1~4,denotes4pre-definedcolorcode(color#1,color#2,color#3andcolorAnexampleofsinglepulseandcolorpatternrepeatingintrue-colorpatternmodeisdepictedinthefigureThefollowingfigureisanexampleofmultipulseandmulticolorpatternrepeatingintrue-colorpatternFigure13.Exampleof2-pulse/2-colorintrue-colorThefollowingfigureisanotherexampleofthreepatternsrunningsuccessivelyintrue-colorpatternFigure14.Exampleof3patternrunningsuccessivelyintrue-colorInsomeapplicationwherethreeLEDneedblinkingindividually.WhenregisterbitLCFGx.LEDMD(register:0x04,0x05,0x06bit0)issetto1,thecorrespondingLEDxoperatesinpatternmode.IfregisterbitCopyright?2015SHANGHAIAWINICTECHNOLOGYCO.,PATRUNbit0PATRUNbit4August2015LEDCTR.SYNC(register:0x08bit3)is0,allpatternruninindividually.Inthismode,the3internalpatterncontrollersand3groupsofpatternparametersaredistributedto3LEDchannelrespectively.EachLEDcanbecontrolledindependentlytoblinkaccordingtoitsownpatterndefinition.Inthismode,multi-pulsepatternissupported,butmulti-colorisnotsupported,thebitsCE1~CE4inregisterPATx_T4areignored.OnlyregistersILEDx_1isactiveforLEDcurrentsetting,theotherregisterincludingILEDx_2,ILEDx_3andILEDx_4arealluseless.Thefollowingtablegivesthecurrent,patternparameterandthestart/stopcontrolsourceselectionforeachLEDchannelinindividualbreathinglightingmode.Thefollowingfigureshowsanexampleof3patternsrunindividuallywithdifferentAugust2015LEDCTR.SYNC(register:0x08bit3)is0,allpatternruninindividually.Inthismode,the3internalpatterncontrollersand3groupsofpatternparametersaredistributedto3LEDchannelrespectively.EachLEDcanbecontrolledindependentlytoblinkaccordingtoitsownpatterndefinition.Inthismode,multi-pulsepatternissupported,butmulti-colorisnotsupported,thebitsCE1~CE4inregisterPATx_T4areignored.OnlyregistersILEDx_1isactiveforLEDcurrentsetting,theotherregisterincludingILEDx_2,ILEDx_3andILEDx_4arealluseless.Thefollowingtablegivesthecurrent,patternparameterandthestart/stopcontrolsourceselectionforeachLEDchannelinindividualbreathinglightingmode.Thefollowingfigureshowsanexampleof3patternsrunindividuallywithdifferentpatternPattern#1:repeattimes=Pattern#2:repeattimes=Pattern#3:repeattimes=Figure15.ExampleofIndividualPatternManualControlWhencontrolbitLCFGx.LEDMD(register:0x04,0x05,0x06bit0)issetto0,thecorrespondingLEDxisworkinmanualcontrolmode.Inmanualcontrolmode,theLEDlightingeffectsincludingcolor-mixedandbrightnessisdirectlyconfiguredbysettingcurrent/PWMlevelregisterviaI2Cinterface.WhenLEDCTR.SYNC(register:0x08,bit3)issetto0,threeLEDarecontrolledindividually,thePWMlevelandcurrentforeachisdefinedbyPWM1/PWM2/PWM3(register:0x1C/0x1D/0x1E)andILEDx_1(register0x10/0x11/0x12)respectively.WhenLEDCTR.SYNC(register:0x08,bit3)issetto1,theoutputcurrentsofthreeLEDaredefinedbyregisterILEDx_1respectively,buttheirPWMlevelaredeterminedcommonlybyregisterPWM1.SousercanchangethebrightnessofallLEDsimultaneouslybymodifyingthevalueofregisterPWM1only.Inmanualcontrolmode,autodimmingissupported.IfLCFGx.FADE_OUT(regis
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- TCSI 0045-2025 居家物理環(huán)境適老化改造規(guī)范
- 平?jīng)鏊原h(huán)氧地坪施工方案
- 初中記敘文的結(jié)尾寫法
- 建筑工程勞務(wù)施工合同范本
- 食用油罐外壁防腐施工方案
- 裝配式商超貨架施工方案
- 濱州期末數(shù)學(xué)試卷
- 沖擊鉆機施工方案
- 智研咨詢發(fā)布:中國干細胞治療行業(yè)發(fā)展現(xiàn)狀、產(chǎn)業(yè)全景概覽及投資方向分析報告
- 科技創(chuàng)新在高質(zhì)量共建一帶一路中的作用
- 《帶狀皰疹治療學(xué)》牛德興教授專業(yè)研究治療病毒性皰疹50年心血
- 20以內(nèi)進位加法口算練習(xí)打印版
- 戴氏無線電遙控飛機教程
- 課件:企業(yè)經(jīng)濟統(tǒng)計學(xué)
- 巴黎盧浮宮介紹PPT模板課件
- PPT模板 上海外國語大學(xué)
- 蒂森克虜伯電梯曳引輪鋼絲繩安裝布置
- 小學(xué)食堂滿意度問卷調(diào)查表
- 包裝SOP作業(yè)指導(dǎo)書
- 接待手冊(范本)
- 玻尿酸注射術(shù)前同意書
評論
0/150
提交評論