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
georgedatacenter怎么样?georgedatacenter这次其实是两个促销,一是促销一款特价洛杉矶E3-1220 V5独服,性价比其实最高;另外还促销三款特价vps,大家可以根据自己的需要入手。georgedatacenter是一家成立于2019年的美国vps商家,主营美国洛杉矶、芝加哥、达拉斯、新泽西、西雅图机房的VPS、邮件服务器和托管独立服务器业务。georgedatacen...
hostwebis怎么样?hostwebis昨天在webhosting发布了几款美国高配置大硬盘机器,但报价需要联系客服。看了下该商家的其它产品,发现几款美国服务器、法国服务器还比较实惠,100Mbps不限流量,高配置大硬盘,$44/月起,有兴趣的可以关注一下。HostWebis是一家国外主机品牌,官网宣称1998年就成立了,根据目标市场的不同,以不同品牌名称提供网络托管服务。2003年,通过与W...
易探云怎么样?易探云是国内一家云计算服务商家,致力香港服务器、国内外服务器租用及托管等互联网业务,目前主要地区为运作香港BGP、香港CN2、广东、北京、深圳等地区。易探云服务器均选择当下热门线路,比如CN2 GIA、BGP线路、CN2线路等,所有云主机支持月付,并且首月优惠,年付优惠,优惠后香港沙田云服务器/独立ip/香港CN2线路,每月仅18元,188元/年。点击进入:易探云官方网站地址1、香港...
flashtool强刷教程为你推荐
视频制作软件哪个好免费的视频剪辑软件用哪个好?录屏软件哪个好有什么好用的录制屏幕的软件吗压缩软件哪个好现在哪个压缩软件最稳定又快 ?手动挡和自动挡哪个好自动挡和手动挡哪个好?宝来和朗逸哪个好朗逸和宝来买哪个好qq空间登录网站QQ空间打开需要输入用户名和密码,下面是正在连接一个网址和领域网址东莞电信宽带资费东莞电信无线宽带上网卡资费首选dns服务器地址首选DNS服务器是什么意思网通dns服务器地址联通DNS地址怎样设置360云盘网页版360云盘网页版在哪里登录呀?
论坛虚拟主机 in域名注册 greengeeks 主机 息壤主机 java主机 香港托管 谷歌香港 美国php空间 绍兴高防 权嘉云 hostloc 国外视频网站有哪些 美国独立日 联通网站 supercache 稳定空间 网站防护 googlevoice 美国主机侦探 更多