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
今天CloudCone发布了最新的消息,推送了几款特价独立服务器/杜甫产品,美国洛杉矶MC机房,分配100Mbps带宽不限流量,可以选择G口限制流量计划方案,存储分配的比较大,选择HDD硬盘的话2TB起,MC机房到大陆地区线路还不错,有需要美国特价独立服务器的朋友可以关注一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2...
RAKsmart 商家我们肯定不算陌生,目前主要的营销客户群肯定是我们。于是在去年的时候有新增很多很多的机房,比如也有测试过的日本、香港、美国机房,这不今年有新增韩国机房(记得去年是不是也有增加过)。且如果没有记错的话,之前VPS主机也有一次磁盘故障的问题。
这不今天有看到商家新增韩国服务器产品,当然目前我还不清楚商家韩国服务器的线路和速度情况,后面我搞一台测试机进行...
台湾云服务器去哪里买?国内有没有哪里的台湾云服务器这块做的比较好的?有很多用户想用台湾云服务器,那么判断哪家台湾云服务器好,不是按照最便宜或最贵的选择,而是根据您的实际使用目的选择服务器,只有最适合您的才是最好的。总体而言,台湾云服务器的稳定性确实要好于大陆。今天,云服务器网(yuntue.com)小编来介绍一下台湾云服务器哪里买和一年需要多少钱!一、UCloud台湾云服务器UCloud上市云商,...
flashtool强刷教程为你推荐
dvdes-644DVDES-829第二位出场的女的叫什么郑州软银科技有限公司河南比较出名的营销公司是哪家?我们下半年有新产品上市需要做一些推广电脑桌面背景图片电脑桌面壁纸在哪里?!燃气热水器和电热水器哪个好燃气热水器和电热水器的区别是什么,哪个比较好?三国游戏哪个好玩哪款三国游戏最好玩`!dnf魔枪士转职哪个好DNF魔枪士转职转哪个好 决战者征战者转职美国国际东西方大学明尼苏达大学(是莫瑞斯分校)和美国东北大学 应该去哪一个 是这个方面的专家回答啊!有偏见性的不要说!辽宁联通网上营业厅的联通营业厅怎么走如何增加百度收录如何提高百度的收录数量上海dns服务器地址上海浦东新区dns是多少
重庆服务器租用 域名备案只选云聚达 台湾服务器 vmsnap3 最好的空间 爱奇艺vip免费试用7天 vip购优惠 cdn加速是什么 联通网站 英雄联盟台服官网 服务器防火墙 小夜博客 新网dns 德国代理ip 饭桶 linux命令vi ddos攻击软件 冰盾ddos防火墙 电脑显示屏不亮但是主机已开机 远程主机强迫关闭了一个现有的连接 更多