AN1245:EFP01ConfigurationToolGuideTheEFP01familyenergyfriendlyPMICdevicesareextremelyflexible,highlyefficient,multi-outputpowermanagementIC,pro-vidingcompletesystempowerandprimarycellbatteryCoulombcountingforEFM32andEFR32devicesTheEFP01ConfigurationTool(EFPConfigurator)determinesthebestcomponentval-uesandconnectionsgivendesignconstraints,caculatesexpectedperformance,andauto-generatesconfigurationcodeforEFP01ConfigurationTooldevices.
ThisdocumentdiscusseshowtousetheEFP01ConfigurationToolaspartofanEFx32project.
KEYPOINTSEFP01expandstheinputsupplyrangeofEFR32-basedsystems.
EFP01reducespowerconsumptionofsystemsthatuseEFR32deviceswithoutanintegratedDCDCconverter.
EFP0111enablesEFR32'sradiotooperateathigheroutputpowerusingcoincellbatteries.
UsetheEFP01ConfigurationTooltoconfigureEFP01devices.
UsetheEFP01ConfigurationTooltoevaluateperformanceandoptimizeEFP01deviceoperation.
silabs.
com|Buildingamoreconnectedworld.
Rev.
1.
11.
GettingStartedRequiredSoftwareSimplicityStudioisthedevelopmentenvironmentforEFP01projects.
DownloadthelatestversionofStudioat:https://www.
silabs.
com/products/development-tools/software/simplicity-studioInstallationandSetup1.
DownloadandinstallthelatestSimplicityStudioversion.
2.
InSimplicityStudio,navigateto[Help->UpdateSoftware].
3.
Select[InstallbyDevice]andinthe[ProductSearch]enterthenameofthedesiredEFP01deviceandEFx32Geckodevice.
Click[Next]andinstallallrequiredcomponents.
FormoredetailonSimplicityStudioupdates,configuration,andtoolsupport,seeAN0822:SimplicityStudioUser'sGuide.
4.
CreateanEFP01Configuratorproject.
Todothisnavigateto[File]>[New]>[Project]andselect[EFPConfiguratorProject].
Se-lectyourEFP01devicefromthepartslist,andclickthroughtogeneratetheproject.
AN1245:EFP01ConfigurationToolGuideGettingStartedsilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|22.
EFP01ConfigurationToolOverviewTheEFP01ConfigurationToolallowsasystemdesignertoconfigureandoptimizetheEFP01registersettingsforaspecificapplication.
Therearetwosupporteduse-casesfortheEFP01ConfigurationTool:1.
Forallorderablepartnumbers(OPNs),theEFP01ConfigurationToolcangenerateaheaderfilecontainingEFP01registerset-tingsthatcanbeincludedinanEFR32orEFM32Studioproject.
See4.
EFP01GeneratedHeaderFileformoredetailsontheheaderfilecontentandstructure.
2.
ForcertainOPNswithacorrespondingEvaluationKit(EFP0108andEFP0111),theEFP01ConfigurationToolcandirectlyinter-facetotheEvaluationKiton-boardEFP01andhostEFR32devices.
TheEFP01ConfigurationToolcanwriteregistersettingstoeithertheEFP01devicealoneortoboththeEFP01deviceandthehostEFR32deviceflash.
SeeWritetoDevice(forEFP0108andEFP0111)onpage4andStoretoFlash(forEFP0108andEFP0111)onpage5formoredetails.
Note:theEFP01ConfigurationToolitselfdoesnotmodifyanyofthesettingsinthe[Inputs]or[Configuration]sectionsdirectly.
In-stead,aftereveryrunofthetool(initiatedonanyvaluechangeorbyclickingthe[Calculate]button),apop-upwindowwillappearwithrecommendedchangestothesettingsbasedoffthecurrentinputs.
Theuserisexpectedtoimplementanychangeinthe[Configura-tion]themselves.
Note:theEFP01ConfigurationToolisintendedtosimplifyconfigurationoftheEFP01'sDCDCconvertersandLDOsinEM0andEM2mode.
ItisnotacomprehensiveEFP01configurationutility-assuch,certainEFP01featuresarenotconfigurablethroughthistoolandshouldbeimplementedincustomerCcode.
SpecificEFP01featuresthatarenotincludedintheEFP01ConfigurationToolinclude:CoulombcounterInterruptmasking/unmaskingADCreadingsEM4coarseregulatorconfigurationEnergymodetransitionmethod(I2CvsDirectMode)VOA_SWstateSeeAN1187:EFP01DesignConsiderationsandtheEFP01EnergyFriendlyPMICFamilyDataSheetformoretechnicaldetailsofdif-ferentparameters,modesofoperations,andformulasrelevanttoEFP01devices.
AN1245:EFP01ConfigurationToolGuideEFP01ConfigurationToolOverviewsilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|32.
1PowerSpecificationThepowerspecificationsectiondefinestheexpectedbatteryvoltagerange,configuredbythe[Vbatmin]and[Vbatmax]fields.
Theseshouldbesetbasedonthetypeofbatteryusedintheapplication.
The[VOA],[VOB],and[VOC]tabstogglebetweentheconfigurationoptionsforeachoftheEFP01outputs.
Forthemostpart,theseoutputsareconfiguredindependently,butsharesourcegeneration.
OneexceptionisfortheEFP0104OPN,inwhichtheVOADCDCAoutputisshortedtogethertotheVOCLDOCoutputonthePCBfora"BuckwithLDOinparallel"configuration.
FortheEFP0104VOA/VOCoutput,the[VOA]tabconfigurestheDCDCAandthe[VOC]tabconfigurestheLDOC.
CalculatePerformsarecalculation.
Notethatavaluechangetoanyoftheinputswilltypicallyresultinanautomaticrecalculation,souseofthisbuttonistypicallyunnecessary.
Arecalculationwillredisplaythepop-upwindowcontaininganyerrors,warnings,orinformation,aswellasrecommendedconfigurationchanges.
GenerateHeaderGeneratesasl_efpdrv_calc.
hheaderfileintheprojectdirectorycontainingthecurrentEFP01configurationregistersettings.
Note:ThefollowingtwobuttonoptionsappearonlyfortheEFP0108andEFP0111OPNs,andareonlysupportedifthecorrespondingEvaluationKit(i.
e.
,EFP0108EvaluationKitBRD8100AorEFP0111EvaluationKitBRD8100B)areattachedviaUSB.
ThoseEvalua-tionKitsincorporateanon-boardEFR32TG11deviceactingasanI2Chostinterfacingtotheon-boardEFP01device.
TheEFR32TG11devicehastwomechanismsforwritingregisterconfigurationtotheEFP01device:1.
ViaUSBdownloadwhileattachedtotheEFP01ConfigurationTool2.
FromtheEFR32TG11flashatstartuporonEFR32TG11resetWritetoDevice(forEFP0108andEFP0111)ThisbuttonwilldownloadthecurrentconfigurationtotheEFP01ontheEvaluationBoard.
Theconfigurationwill*not*bestoredontheEvaluationBoardanywhereexceptintheEFP01device'sinternalregisters.
IntheeventofaEFP01devicepowercycleoraEFR32TG11reset,thisdownloadedconfigurationwillbelost.
AN1245:EFP01ConfigurationToolGuideEFP01ConfigurationToolOverviewsilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|4StoretoFlash(forEFP0108andEFP0111)ThisbuttonwillcausethecurrentconfigurationtobewrittentotheEFP01deviceregistersaswellastheEFR32TG11deviceflashmemoryontheEvaluationBoard.
TheconfigurationstoredintheEFR32TG11flashwillbere-loadedintotheonboardEFP01deviceregisterswhenevertheEvaluationBoardEFR32TG11isreset(e.
g.
,whentheEFR32TG11poweriscycledbydisconnecting/recon-nectingtheUSBcable).
NotethatsimplypowercyclingtheEFP01deviceinputsupplywill*not*causeareloadoftheregisterconfigu-rationfromtheEFR32TG11flash.
2.
2InputsFieldsinthe[Inputs]sectionshouldbedeterminedbasedontheintendedapplicationandusecasefortheEFP01device.
Note:theEFP01ConfigurationToolitselfdoesnotmodifyanyofthesettingsinthe[Inputs]or[Configuration]sectionsdirectly.
In-stead,aftereveryrunofthetool(initiatedonanyvaluechangeorbyclickingthe[Calculate]button),apop-upwindowwillappearwithrecommendedchangestothesettingsbasedoffthecurrentinputs.
Theuserisexpectedtoimplementanychangeinthe[Configura-tion]themselves.
DCDCModeIndicateswhatmodetheselectedoutputistobeconfiguredfor.
DifferentmodesofEFP01operationrequiredifferentexternalconnec-tions,seeSection4.
TypicalConnectionDiagramsoftheEFP01EnergyFriendlyPMICFamilyDataSheetformoredetailsoneachmodeanditsintendedusecase.
OutputLoadCurrentMaxEM0IndicatestheexpectedmaximumloadontheEFP01deviceoutputwhenthedeviceisinEM0-Active/RunMode.
ThisisthehighestexpectedcurrentconsumptionofeverythingpoweredbytheEFP01device.
OutputLoadCurrentMaxEM2IndicatestheexpectedmaximumloadontheEFP01deviceoutputwhenthedeviceisinEM2-DeepSleepMode.
Formoreinforma-tionontheEFP01energymodesseeSection3.
3EnergyModesofthedevicedatasheet.
AN1245:EFP01ConfigurationToolGuideEFP01ConfigurationToolOverviewsilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|5OutputVoltageEM0/EM2ThedesiredoutputvoltagelevelfortheselectedoutputinthespecifiedenergymodeBatteryCurrentLimitBatteryCurrentLimitshouldbedefinedforweakorhighinternalimpedancepowersources.
MoredetailisfoundinSection3.
2.
1.
4CurrentLimitingofthedevicedatasheet.
EnteringabatterycurrentlimitinmAintothisfieldwillcauseasuggestedInrushCurrentMinPeriodsettingtoappearinthepost-calcu-lationpop-up.
TheusercanthenadjusttheInrushCurrentMinPeriodbasedoffthesuggestion.
Leavethisfieldblankifnocurrentlimitisdesired.
2.
3ConfigurationFieldsinthe[Configuration]sectionhavedefaultvaluessuitableformanyapplications.
Thesesettingsmayneedtobemodified.
Care-fullyreviewAN1187:EFPHardwareDesignConsiderationsandtheEFP01EnergyFriendlyPMICFamilyDataSheetbeforemodifyingthesevalues.
WhenanewEFP01ConfigurationToolprojectiscreated,thedefaultvaluesinthe[Configuration]sectionwillgenerallymatchtheEFP01deviceprogrammedOTPdefaultsettings.
Thereareafewexceptions,however.
Forexample,theVOBconverterisdisabledbydefaultoncertainOPNs.
However,mostoftheVOBconverter[Configuration]settingsintheEFP01ConfigurationToolwilldefaulttouseablevalues,sothatthetheuserhasonlytochangethe[DCDCMode]settingto"Enabled"togetausableconfiguration.
Note:theEFP01ConfigurationToolitselfdoesnotmodifyanyofthesettingsinthe[Inputs]or[Configuration]sectionsdirectly.
In-stead,aftereveryrunofthetool(initiatedonanyvaluechangeorbyclickingthe[Calculate]button),apop-upwindowwillappearwithrecommendedchangestothesettingsbasedoffthecurrentinputs.
Theuserisexpectedtoimplementanychangeinthe[Configura-tion]themselves.
AN1245:EFP01ConfigurationToolGuideEFP01ConfigurationToolOverviewsilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|6ConfigurationFieldsThe[Inductor]and[OutputCapacitor]controlfieldsrefertoexternalcomponentvaluestotheEFP01device.
Undermostconditionstheseshouldbelefttothedefaultvalue.
Note:Insomeconditionsthedefault2.
2uHinductorvaluewillbeincorrect.
SeeTable5.
5VOAOutputandTable5.
6VOBOutputofthedevicedatasheetfordetailsontheexternalinductorvalue.
TheotherfieldsrepresentprogrammableEFP01registervalues,andaredetailedinSection3.
SystemOverviewofthedevicedata-sheet.
2.
4PlotsTheEFP01ConfigurationToolcanalsoplotestimateddeviceperformanceovertheinputsuplyvoltagerange.
Note:TheEFP01ConfigurationTooloutputplotsrepresentestimatesbasedonsimulatedEFP01behavior,andarenotaguaranteeofdeviceperformance.
Boththe[VOA]and[VOB]tabshave[Plots]section,whichdisplaysestimatedEFP01performancemetricsbasedoffthegiveninputparameters.
Each[Plots]sectionhas[EM0]and[EM2]tabscontrollingwhichenergymodeisdisplayed.
Notethatthe[VOC]outputdoesnothaveitsown[Plots]section-theVOCConverteroutputiseitheranindependentLDO(e.
g.
,EFP0108/EFP0109/EFP0111)withnoplotdata,oritisusedinconjunctionwiththeVOAoutput(e.
g.
,EFP0104),inwhichcasetheVOCLDOoutputdataisincludedintheVOA[Plots]section.
AlsonotethatforsomeEFP01devices(e.
g,EFP0108andEFP0111),theVOBconverterinputsupplyisexpectedtobeconnectedtotheVOAconverteroutput.
SincetheVOAconverteroutputisexpectedtobeaconstantvoltage,the[VOB]outputplotsforthesedevi-ceswillshowonlyasingledatapointatthatVOAoutputvoltage.
EstimatedEfficiencyDisplaystheestimatedefficiency(includingquiescentcurrent)fortheselectedoutputacrossthebatteryvoltagerange.
Highefficiencywilldirectlyimprovebatterylife.
AN1245:EFP01ConfigurationToolGuideEFP01ConfigurationToolOverviewsilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|7DCDCOperatingModeDisplaystheconverteroperatingmodeasitvarieswiththeinputsupplyvoltage.
ForEFP01convertersthatsupportoperationineitherDCDCandLDOmodes(e.
g.
,theVOBconverterforalldevicesandtheVOAconverterforEFP0104),thisplotwilldisplaytheinputvoltagecrossoverpointfrom"Buck"to"LDO"operation(theoperatingmodecrossovervoltageiscontrolledbythe[ModeChangeThreshold]inputparameter).
NotethatsomeEFP01deviceswillonlyeveroperateinasinglemode-forexample,theVOAconverterontheEFP0108,EFP0109,andEFP0111deviceswillalwaysoperatein"Boost".
Est.
OutputRipple@SpecifiedLoadEstimatestheworstcaseoutputripplevoltageversusinputsupplyvoltagefortheselectedoutput.
Theripplevoltageestimateassumestheloadcurrentisequaltothevalueenteredinthe[OutputLoadCurrentMax(mA)]input.
PFMSwitchingEventTimesEstimatesthedurationoftheon-timeandoff-timeswitchingeventsofthePFMconverterversustheinputsupplyvoltage.
PeakCurrentWhentheEFP01converterisoperatinginaDCDCmode(e.
g,"Buck"or"Boost"),thisplotdisplaystheestimatedinductorpeakcurrentversusthesupplyinputvoltage.
Theinductorpeakcurrentisconfiguredbythe[PeakCurrent]inputparameters.
Thisvalueiscontrol-ledduringDCDCoperationviafieldsinthe[Configuration]section.
Notethatoncertainoutputs,adaptivepeakcurrentcontrolispossi-bleforadvancedusecases.
SeeSection3.
2.
1.
3PeakCurrentAdjustmentinthedevicedatasheet.
ForEFP01convertersthatsupportoperationineitherDCDCandLDOmodes(e.
g.
,theVOBconverterforalldevicesandtheVOAconverterforEFP0104),whenoperatinginLDOmodesthisplotdisplaystheestimatedLDOcurrentversusthesupplyinputvoltage.
Thesystemdesignershouldensurethattheselectedinductorsaturationcurrentexceedsthedisplayedpeakcurrent(allowingforsomemargin).
Est.
DCCurrentsWhentheconverterisoperatinginDCDCorLDOmode,thisplotdisplaystheestimatedthemaximumallowableloadcurrentversusinputsupplyvoltageforthegivensettings,aswellastheestimatedinputsupplycurrentforthatgivenmaximumload.
ConvertersoperatinginLDOmodewillgointoBypassmode(i.
e.
,theinputisdirectlyshortedtotheoutput)astheinputsupplyvoltageapproachestheoutputvoltageandtheLDOcannolongerregulate.
WhentheconverterisinBypassmode,thisplotwillsimplydisplaythevalueenteredinthe[OutputLoadCurrentMax(mA)].
AN1245:EFP01ConfigurationToolGuideEFP01ConfigurationToolOverviewsilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|83.
EFP01ConfigurationToolWorkflowThissectiondescribestheworkflowusingtheEFP01ConfigurationTool.
1.
ConsulttheEFP01EnergyFriendlyPMICFamilyDataSheettounderstandwhichconnectionsandhardwareconfigurationareneededfortheapplication.
2.
EntertheexpectedvoltagerangeofthepowersourcetotheEFP01deviceinthe[Vbatmin]and[Vbatmax]fields.
3.
EntertheplannedDCDCmodeandotherinputsbasedonthedatasheetdescriptionsandexpectedapplicationparameters.
See2.
EFP01ConfigurationToolOverviewformoredetailoneachavailableoption.
4.
Theconfigurationtoolwillautomaticallycalculateeachnewinputparameter.
Ifanymetricsfalloutofspecification,thetoolwillthrowanerrorandrecommendchangestoeitherthe[Inputs]orthe[Configuration]fields.
Makechangestotherecommendedfieldsuntilnoerrorsshow.
5.
Observethe[Plots]performancegraphsforboth[EM0]and[EM2].
Confirmthatmetricssuchasmaximumoutputloadcurrent,peakcurrent,efficiency,andoutputripplevoltagearecompatiblewiththeapplication.
6.
Ifmultipleoutputsareused,repeatthisprocessforeachoutput([VOA],[VOB],and[VOC])asneeded.
Notethattheoutputsmayhavedifferentpropertiesandoptionswhicharedefinedinthedevicedatasheet.
7.
Oncetheconfigurationforeachoutputsatisfiestheapplicationrequirements,click[GenerateHeader]togenerateasl_efpdrv_calc.
hheaderfilewiththecurrentconfiguration(referto4.
EFP01GeneratedHeaderFileformoreinformationontheheaderfilecontents).
Thegeneratedsl_efpdrv_calc.
hheaderfilemustbeincludedintotheEFR32projectforusebytheEFP01driverduringinitialization.
DriverdocumentationcanbefoundforanyEFx32deviceathttps://docs.
silabs.
com/#section-mcu-wireless.
SelectthedesiredEFR32deviceandnavigateto[ExternalDeviceDrivers]>[EFPDriver].
FormoreinformationonusingtheEFP01driver,seethedocumentationondocs.
silabs.
comandinAN1187:EFP01DesignConsiderations.
AN1245:EFP01ConfigurationToolGuideEFP01ConfigurationToolWorkflowsilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|94.
EFP01GeneratedHeaderFileThesl_efpdrv_calc.
hgeneratedheaderfileconsistsoftwosections:asetofregisteraddress/datapairsandanoptionalarrayofdatausedforthecasewhentheEFP01VOBoutputpowerstheEFR32deviceDECOUPLEinput.
GeneratedHeaderFile:EFP01Address/DataPairsThefirsthalfofthegeneratedheaderfilecontainsthefollowing#defines:SL_EFP_GEN:anarraycontainingregisteraddressanddatapairs(e.
g.
,{{ADD1,DATA1},{ADD2,DATA2},etc})SL_EFP_GEN_SIZE:aconstantequaltothecountofalltheelementsintheSL_EFP_GENarrayThesl_efp_init()initializationfunctionwillinteratethroughtheSL_EFP_GENarraytowriteeachdatabytetothecorrespondingaddress.
AfewnotesontheSL_EFP_GENarray:Theaddress/datapairsintheSL_EFP_GENarrayarelistedinaspecificorder,suchthattheessentialconfigurationforeachcon-verter(targetvoltage,peakcurrents,etc)iswrittenbeforetheconverterisenabled.
TheheaderfilecommentsprecedingtheSL_EFP_GENarrayprovide:1.
Auser-readablelistingofeachbitfieldsettingforthecurrentconfiguration2.
AlistofchangesbetweenthecurrentconfigurationandtheoriginalOTPdefaultsforthatparticularEFP01device.
WhentheEFP01VOBoutputpowerstheEFR32device'sDECOUPLEinput,theEFP01_BK_CTRL1addresswillberemovedfromtheSL_EFP_GENarraytopreventenablingtheVOBconverter.
Forthiscase,theVOBconverterwillbeenabledduringtheDE-COUPLEHandoffsequence,describedbelow.
//**GeneratedEFP01GeneralConfigurationSettings**////VOA_V=0x04:VOA_V=4//BB_IPK=0x92:BB_IPK_EM2=4,BB_IPK=18//BB_CTRL5=0x80:BB_DRVR_SPEED=2,BB_IPK_BOOST_ADJ=0//BB_CTRL6=0x00:BB_IPK_NOADJ=0,SW_FAST=0,BB_IRI_CON=0,BB_TOFF_MAX=0//LDOC_BB_CTRL=0x50:SEQ_BB_FIRST=0,BB_TON_MAX=5,VOC_IRI_CON=0//BB_CTRL3=0xB5:NTM_LDO_THRSH=5,NTM_DUR=2,BB_MODE=5//VOB_EM0_V=0x8D:OOR_DIS=1,VOB_EM0_V=13//VOB_EM2_V=0x0D:VOB_EM2_V=13//BK_IPK=0x2A:BK_IPK_EM2=1,BK_IPK=10//BK_CTRL2=0x50:BK_RES_TON_ONLY=0,BK_LDO_THRESH=5,BK_IRI_CON=0//LDOB_CTRL=0x0C:LDO_NO_AUTO_BYP=0,LDOB_BYP=0,LDOB_VMIN=0,LDOB_IGAIN=12//VOC_V=0x05:VOC_V=5//LDOC_CTRL=0x0C:LDOC_ENA_SA=0,LDOC_BYP=0,LDOC_VMIN=0,LDOC_IGAIN=12//**ConfigurationChangesfromOriginal(i.
e.
,OTPDefault)Configuration**////BB_CTRL6.
BB_TOFF_MAXvaluechangedfrom3to0//VOB_EM0_V.
VOB_EM0_Vvaluechangedfrom0to13//VOB_EM2_V.
VOB_EM2_Vvaluechangedfrom0to13//BK_IPK.
BK_IPKvaluechangedfrom0to10//BK_IPK.
BK_IPK_EM2valuechangedfrom0to1//LDOB_CTRL.
LDOB_IGAINvaluechangedfrom0to12//VOC_V.
VOC_Vvaluechangedfrom0to5#defineSL_EFP_GEN_SIZE13#defineSL_EFP_GEN{\{EFP01_VOA_V,0x04},\{EFP01_BB_IPK,0x92},\{EFP01_BB_CTRL5,0x80},\{EFP01_BB_CTRL6,0x00},\{EFP01_LDOC_BB_CTRL,0x50},\{EFP01_BB_CTRL3,0xB5},\{EFP01_VOB_EM0_V,0x8D},\{EFP01_VOB_EM2_V,0x0D},\{EFP01_BK_IPK,0x2A},\{EFP01_BK_CTRL2,0x50},\{EFP01_LDOB_CTRL,0x0C},\{EFP01_VOC_V,0x05},\{EFP01_LDOC_CTRL,0x0C},\}AN1245:EFP01ConfigurationToolGuideEFP01GeneratedHeaderFilesilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|10GeneratedHeaderFile:DECOUPLEHandoffNote:Thesl_efp_decouple_handoff()routineandtheheaderfileparsingdiscussedbelowmaynotbeimplementedintheEFP01driv-ersuntillaterin2020.
Ifthatroutineisnotpresentinthedrivers,itcanbemanuallyimplementedbycopyingthecodein5.
EFP01DecoupleHandoffRoutineintotheproject.
Thissl_efp_decouple_handoff()routineshouldbecalledimmediatelyfollowingEFP01initial-ization(i.
e.
,el_efp_init())wheneverEFP01ispoweringtheEFR32DECOUPLEpin.
Thesecondhalfofthegeneratedheaderfilecontainsthefollowing#defines:SL_DECOUPLE_HANDOFF_ARGS:anarraycontainingthefollowingbitfieldsettings{BK_IRI_CON,BK_TON_MAX,BK_IPK}SL_EFP_DECOUPLE_HANDOFF_ARGS_SIZE:aconstantequaltothecountofalltheelementsintheSL_DECOUPLE_HAND-OFF_ARGSarrayIfSL_EFP_DECOUPLE_HANDOFF_ARGS_SIZEis>0,thesl_efp_init()initializationfunctionwillcallthesl_efp_decouple_handoff()function.
//**EFR32DECOUPLEHandoffSequenceConfigurationSettings**////ForapplicationswhereEFP01'sDCDCBoutput(VOB)ispoweringtheEFR32'sDECOUPLEsupply,//EFR32mustmanagethehandofffromEFR32'sinternalLDOtotheEFP01DCDCoutput.
////TheEFP01configurationsettingsbelowarepassedtoaEFP01driverfunction(sl_efp_decouple_handoff())//tomanageaseamlesstransitionoftheDECOUPLEpowersupplyfromtheinternalEFR32LDOtotheEFP01//DCDCBoutput.
Duringthistransition,certainEFP01settings(inrushcurrent,on-timemaximum,peakcurrent)//aremomentarilysettoconservativevalues,andthenrestoredtotheuser-desiredconfigurationvalues.
////Ifthismanaged-handoffsequenceisnotused,thereisthepossibilityofcreatingamomentaryvoltage//overshootontheDECOUPLEthatexceedstheDECOUPLEpinmaximumvoltage.
Therefore,the//sl_efp_decouple_handoff()functionshouldbeusedwheneverpoweringDECOUPLEfromEFP01.
////IfSL_EFP_DECOUPLE_HANDOFF_ARGS_SIZE>0,theEFP01init()functionwillattempttocall//thesl_efp_decouple_handoff()function;otherwise,sl_efp_decouple_handoff()willnotbecalled.
#defineSL_EFP_DECOUPLE_HANDOFF_ARGS_SIZE3#defineSL_DECOUPLE_HANDOFF_ARGS{0,7,10}//BK_IRI_CON=0,BK_TON_MAX=7,BK_IPK=10AN1245:EFP01ConfigurationToolGuideEFP01GeneratedHeaderFilesilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|115.
EFP01DecoupleHandoffRoutineNote:Thesl_efp_decouple_handoff()routineandtheheaderfileparsingdiscussedinGeneratedHeaderFile:DECOUPLEHandoffonpage11maynotbeimplementedintheEFP01driversuntillaterin2020.
Ifthatroutineisnotpresentinthedrivers,itcanbeman-uallyimplementedbycopyingtheroutinebelowintotheproject.
Thissl_efp_decouple_handoff()routineshouldbecalledimmediatelyfollowingEFP01initialization(i.
e.
,el_efp_init())wheneverEFP01ispoweringtheEFR32DECOUPLEpin,asshownbelow://Examplesl_efp_decouple_handoff()manualimplementationstaticsl_efp_handle_tefp=&efp_handle_data;intmain(void){sl_efp_init_data_tinit=SL_EFP_INSTANCE_INIT_BRD4179B;sl_efp_init(efp,&init);//InitializeEFP01//Parametersfromtheheaderfileoutputcanbemanuallypassedtothe//sl_efp_decouple_handoff()routine//NoteforEFR32xG21devices,useofthesl_efp_decouple_handoff()functionrequiresupdating//theEFR32xG21SecureElement(SE)firmwaretoversion1.
1.
3orlatersl_efp_decouple_handoff(efp,0,7,10);//BK_IRI_CON=0,BK_TON_MAX=7,BK_IPK=10//Optional:ifusingDirectMode,itshouldbemanuallyenabledafterthehandoffroutine//sl_efp_enable_direct_mode(efp);}AN1245:EFP01ConfigurationToolGuideEFP01DecoupleHandoffRoutinesilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|12Manualsl_efp_decouple_handoff()code*@brief*PerformDECOUPLELDO->DCDCHandoffsequencevoidsl_efp_decouple_handoff(sl_efp_handle_thandle,uint8_tbk_iri_con,uint8_tbk_ton_max,uint8_tbk_ipk){sl_status_tstatus;uint8_ttmp;//SetVOBtargettohigherleveltoguaranteeitwilloverdrivetheEFR32DECOUPLELDOoutputsl_efp_set_vob_em01_voltage(handle,1130);//Setpeakcurrenttominimumsl_efp_write_register_field(handle,EFP01_BK_IPK,0,_EFP01_BK_IPK_BK_IPK_MASK,_EFP01_BK_IPK_BK_IPK_SHIFT);//SetTontimetominimumsl_efp_write_register_field(handle,EFP01_BK_CTRL1,1,_EFP01_BK_CTRL1_BK_TON_MAX_MASK,_EFP01_BK_CTRL1_BK_TON_MAX_SHIFT);//Setcurrentlimittomaximumsl_efp_write_register_field(handle,EFP01_BK_CTRL2,15,_EFP01_BK_CTRL2_BK_IRI_CON_MASK,_EFP01_BK_CTRL2_BK_IRI_CON_SHIFT);//EnableVOBDCDCinbuckonlymodesl_efp_set_vob_mode(handle,efp_vob_mode_buck);//MakesureVOBoutputisreadybeforeturningoffinternalLDOregulator.
do{status=sl_efp_read_register(handle,EFP01_STATUS_LIVE,&tmp);}while(((tmp&_EFP01_STATUS_LIVE_VOB_INREG_LIVE_MASK)==0)||(status!
=SL_STATUS_OK));//Setdesiredpeakcurrentsl_efp_write_register_field(handle,EFP01_BK_IPK,bk_ipk,_EFP01_BK_IPK_BK_IPK_MASK,_EFP01_BK_IPK_BK_IPK_SHIFT);//SetdesiredTONMAXsl_efp_write_register_field(handle,EFP01_BK_CTRL1,bk_ton_max,_EFP01_BK_CTRL1_BK_TON_MAX_MASK,_EFP01_BK_CTRL1_BK_TON_MAX_SHIFT);//Setdesiredcurrentlimitsl_efp_write_register_field(handle,EFP01_BK_CTRL2,bk_iri_con,_EFP01_BK_CTRL2_BK_IRI_CON_MASK,_EFP01_BK_CTRL2_BK_IRI_CON_SHIFT);//TurnoffinternalLDOregulator.
sl_efp_emu_ldo_enable(handle,false);//SetdesiredVOBvoltagesl_efp_set_vob_em01_voltage(handle,1100);}AN1245:EFP01ConfigurationToolGuideEFP01DecoupleHandoffRoutinesilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|136.
RevisionHistoryRevision1.
1May,2020AddedmanualDECOUPLEhandoffroutinecodeexampleandusagenotes5.
EFP01DecoupleHandoffRoutineUpdatedkeypointsonfrontpage.
Revision1.
0March,2020InitialrevisionAN1245:EFP01ConfigurationToolGuideRevisionHistorysilabs.
com|Buildingamoreconnectedworld.
Rev.
1.
1|14
ParkInHost主机商是首次介绍到的主机商,这个商家是2013年的印度主机商,隶属于印度DiggDigital公司,主营业务有俄罗斯、荷兰、德国等机房的抗投诉虚拟主机、VPS主机和独立服务器。也看到商家的数据中心还有中国香港和美国、法国等,不过香港机房肯定不是直连的。根据曾经对于抗投诉外贸主机的了解,虽然ParkInHost以无视DMCA的抗投诉VPS和抗投诉服务器,但是,我们还是要做好数据备...
今天遇到一个网友,他在一个服务器中搭建有十几个网站,但是他之前都是采集站点数据很大,但是现在他删除数据之后希望设置可能有索引的文章给予404跳转页面。虽然他程序有默认的404页面,但是达不到他引流的目的,他希望设置统一的404页面。实际上设置还是很简单的,我们找到他是Nginx还是Apache,直接在引擎配置文件中设置即可。这里有看到他采用的是宝塔面板,直接在他的Nginx中设置。这里我们找到当前...
鲨鱼机房(Sharktech)我们也叫它SK机房,是一家成立于2003年的老牌国外主机商,提供的产品包括独立服务器租用、VPS主机等,自营机房在美国洛杉矶、丹佛、芝加哥和荷兰阿姆斯特丹等,主打高防产品,独立服务器免费提供60Gbps/48Mpps攻击防御。机房提供1-10Gbps带宽不限流量服务器,最低丹佛/荷兰机房每月49美元起,洛杉矶机房最低59美元/月起。下面列出部分促销机型的配置信息。机房...
flashtool强刷教程为你推荐
电脑管家和360哪个好电脑管家和360卫士哪个好?华为p40和mate30哪个好荣耀30pro和华为p40对比。,哪个更值得入手?朗逸和速腾哪个好朗逸和新速腾哪个性能更好点?浮动利率和固定利率哪个好房贷利率是固定的还是浮动的好?willyunlee生化女战士主要讲的什么360云盘下载下载一个360云盘,怎么下载360云盘关闭360百度云盘到底什么时候关闭什么快递最便宜寄大件用什么快递便宜?电影票在哪买便宜在哪买电影票最便宜最便宜的车最便宜的车是多少钱?
购买域名 视频空间租用 域名停靠一青草视频 greengeeks godaddy域名优惠码 12306抢票助手 ibrs panel1 双线主机 网络空间租赁 免费申请个人网站 100mbps 网通服务器 中国电信网络测速 云服务器比较 atom处理器 服务器托管价格 googlevoice 侦探online 时间同步服务器 更多