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
如今我们网友可能较多的会选择云服务器、VPS主机,对于虚拟主机的话可能很多人不会选择。但是我们有些外贸业务用途的建站项目还是会有选择虚拟主机的。今天看到的Stablehost 商家虚拟主机在黑五期间也有四折优惠,对于这个服务商而言不是特别的喜欢,虽然他们商家和我们熟悉的老鹰主机商有些类似,且在后来老鹰主机改版和方案后,Stablehost 商家也会跟随改版,但是性价比认为不如老鹰主机。这次黑色星期...
青果云香港CN2_GIA主机测评青果云香港多线BGP网络,接入电信CN2 GIA等优质链路,测试IP:45.251.136.1青果网络QG.NET是一家高效多云管理服务商,拥有工信部颁发的全网云计算/CDN/IDC/ISP/IP-VPN等多项资质,是CNNIC/APNIC联盟的成员之一。青果云香港CN2_GIA主机性能分享下面和大家分享下。官方网站:点击进入CPU内存系统盘数据盘宽带ip价格购买地...
青云互联怎么样?青云互联是一家成立于2020年的主机服务商,致力于为用户提供高性价比稳定快速的主机托管服务,目前提供有美国免费主机、香港主机、韩国服务器、香港服务器、美国云服务器,香港安畅cn2弹性云限时首月五折,15元/月起;可选Windows/可自定义配置,让您的网站高速、稳定运行。点击进入:青云互联官方网站地址青云互联优惠码:八折优惠码:ltY8sHMh (续费同价)青云互联香港云服务器活动...
flashtool强刷教程为你推荐
p图软件哪个好用手机p图软件那个好苹果x和xr哪个好苹果x和xr哪个好?有何区别?无纺布和熔喷布口罩哪个好无纺布除了做尿布湿口罩这些,还有其他什么用处吗?牡丹江教育云空间登录云端学习如何登录?51个人空间登录我在电脑上用的是Q号登录51个人空间,在手机上怎么却不能用Q号登录51个人空间了360云查杀360杀毒有没有云查杀功能?360云盘转存百度云盘如何把360云盘文件转存到百度云网盘便宜的拼音廉价是什么意思便宜的反义词便宜的近义词是什么哪个快递最便宜什么快递最便宜
linux主机 万网域名管理 bluevm 外贸主机 香港主机 rak机房 轻博客 网站监控 轻博 租空间 ibox官网 国外代理服务器软件 华为云服务登录 跟踪路由命令 百度云空间 阿里云个人邮箱 睿云 广州主机托管 cdn加速 傲盾代理 更多