background image

DCDC_REG0[DCDC_LP_DF_CMP_ENABLE] = 1
If the DC-DC mode is Boost mode, it is necessary to set POSLIMIT_BOOST_IN to 0x12 after startup. During startup, this register
is set to a small value to limit voltage spikes and the software application must configure this bit field to the recommended value
to allow higher currents, especially when battery voltage is low.
DCDC_REG1[POSLIMIT_BOOST_IN] = 0x12
The DC-DC recommended software initialization and periodically voltage monitoring flowchart is given below:

Enable DCDC

Module Clock Gating

Set

POSLIMIT_BOOST_IN

to 0x12

Configure DCDC

LoopControl Registers and

DCDC_LP_DF_CMP ENABLE

Configure VDD_1P8

and VDD_1P5 output

targets

Is Boost mode

?

Enable Bandgap 1V

buffer

Measure the

VDCDC_IN with ADC

Measure the 1 V

reference bandgap

with ADC

Calculate VDCDC_IN

using bandgap

reference with 8 mV

LSB resolution

Disable

BATTMONITOR_EN_BATADJ

Update

DCDC_BATTMONITOR_BAT

T_VAL

Enable

BATTMONITOR_EN_BATADJ

Initialize ADC

Initialize Timer

Need to adjust

VBATT_DIV

?

no

no

yes

Adjust

VBATT_DIV_CTRL

yes

Timer periodically runs this portion

Figure 6. Flowchart of DC-DC initialization

The period for the Timer to trigger the measurement of the VDCDC_IN is user controlled and depends on the applications
VDCDC_IN voltage dynamics. Every time the application expects a voltage change, it is recommended to execute the
DCDC_BATTMONITOR_BATT_VAL calibration routine.
It is expected that software monitors the VDCDC_IN periodically, using the SAR ADC, and adjust the DC-DC settings as required
to optimize the performance. Not adjusting the DCDC_BATTMONITOR_BATT_VAL when the VDCDC_IN voltage level has
changed could lead to erratic behavior. The DC-DC does not have a bypass circuit. So when configured for buck or boost, the
controller attempts to regulate the voltage no matter what the level of VDCDC_IN.
There are multiple ways to initialize the DC-DC: the DC-DC SDK (Software Development Kit) drivers (fsl_dcdc.c
and fsl_dcdc.h), direct register accesses, or the connectivity framework drivers. The DC-DC connectivity framework is
contained within the DCDC.c and DCDC.h files. Consider the below code segment from the MCUXpresso DC-DC
connectivity Framework as an example to initialize the DC-DC, Timer, and the ADC to set VDD1P8 to 1.8 V and

NXP Semiconductors

DC-DC converter software setup

MKW4xZ/3xZ/3xA/2xZ DC-DC Power Management, Rev. 3, 04 June 2021

Application Note

8 / 28

Содержание AN5025

Страница 1: ...e the output voltages within the ranges shown in the table below provided that in Buck mode for all input ranges the outputs are lower than input voltage by 50 mV or higher than input voltage by 50 mV...

Страница 2: ...orrect return signal without series resistance from VDD_1P8 to VDD_0 1 It is not possible to configure the DC DC for buck or boost modes while sourcing VDD_0 1 from an external source 3 DC DC Power mo...

Страница 3: ...he better for efficiency 3 2 1 Buck Mode Manual Startup In this mode the DC DC is not automatically started upon the presence of voltage on VDCDC_IN Instead the DC DC is started after a pulse or level...

Страница 4: ...mode manual start 3 2 2 Buck Mode Auto start This mode allows the DC DC to automatically turn on immediately after power is applied to the device Typical startup time is 2 3 ms and varies with the loa...

Страница 5: ...t voltage in the range of 0 9 V to 1 795 V To guarantee startup the DC DC requires a minimum of 1 1 V The typical conversion efficiency is 90 In this mode the DC DC converter increases the input volta...

Страница 6: ...C mode must change after the power is turned off and the pin configuration correctly set 4 DC DC converter software setup The DC DC operates in two different modes Continuous Mode and Pulsed Mode In C...

Страница 7: ...e more than necessary and consumes more current than desired 4 1 Application Initialization Requirements To ensure optimum DC DC operation it is highly recommended to configure the Loop Control bits a...

Страница 8: ...DC initialization The period for the Timer to trigger the measurement of the VDCDC_IN is user controlled and depends on the applications VDCDC_IN voltage dynamics Every time the application expects a...

Страница 9: ...th VDD1P8 1 8V DCDC_Init mDCDCBuckDefaultConfig call to DCDC SDK Framework 4 2 Configuring Continuous mode The DC DC converter operates only in Continuous Mode when the MCU is in RUN WAIT and STOP mod...

Страница 10: ...efficiency when loading is less than 0 5 mA As mentioned before larger tank capacitors on VDD_1P8 and VDD_1P5 lead to better efficiency in pulsed mode as the refresh time increases Pulsed mode is auto...

Страница 11: ...reticLowerThresholdValue kDCDC_HystereticThresholdOffset0mV enableDiffComparators true Code DCDC Low Power Configuration DCDC_SetLowPowerConfig DCDC dcdc_Low_Power_Config Disable Stepping prior to cal...

Страница 12: ...e performed on a test board containing just the microcontroller with device running in VLPR pulsed mode and a minimal number of internal modules enabled For this example which uses the default DC DC r...

Страница 13: ...e microcontroller will immediately be hold on reset until a power off and power on cycle is performed Note that if VDCDC_IN returns to its normal value as the VDD_1P8 is still programmed to be below V...

Страница 14: ...left disabled When powered on it reduces overshoot undershoot for high dynamic loading The response time increment gets configure on DCDC_REG2 DCDC_LOOPCTRL_EN_RCSCALE The tradeoff is that it increase...

Страница 15: ...put replacing the normal size FET on low power modes pulsed This double FET has a smaller RDS resistance from drain to source but pre driver consumes a slightly higher current As the current consumpti...

Страница 16: ...C DC switching works and the paths that the current take In a buck converter the higher frequency contents of the inductor current will circulate in one of two loops the first when charging charging p...

Страница 17: ...8 13 11 M4 M3 9 10 12 M2 C410 C418 1 5 V Figure 12 Current loops of the two outputs of the DC DC converter in boost mode Physical location of the components in this route determines the area shape of...

Страница 18: ...Figure 13 Current route during charging phase NXP Semiconductors Hardware design Guidelines MKW4xZ 3xZ 3xA 2xZ DC DC Power Management Rev 3 04 June 2021 Application Note 18 28...

Страница 19: ...t should also be noted here that while surface mount capacitors are advantageous due to their size they have the negative side effect of often times having an actual capacitance less than their rated...

Страница 20: ...value 10 uH 20 tolerance Inductor current rating 120 mA Buck mode Inductor current rating 320 mA Boost mode vdd1p8 supplying 1 8 V Inductor current rating 400 mA Boost mode vdd1p8 supplying 3 3 V Ind...

Страница 21: ...to the device specific data sheet as this limit may not be the same for all devices Note the output current specification in either buck and boost modes represent the maximum current the DC DC convert...

Страница 22: ...on is 12 96 mW Power IN x 90 Leaving a total of 112 mW assuming a 125 mW maximum power output 125 mW 12 96 mW available to power the RF portion and other circuits There is a maximum capacity for VDD_1...

Страница 23: ...ce specific data sheet as to the actual limits at 1 8 V and 3 0 V Also note that other conditions such as VDD_1P8 voltage may affect these limits NOTE 6 3 DC DC timings 6 3 1 Turn on time The below os...

Страница 24: ...until DC DC is stable yellow curve Just after the voltage stabilization occurs the application may add extra loads such as turning on internal modules or draining high current on GPIOs 6 3 2 Settle T...

Страница 25: ...Figure 20 Settle time NXP Semiconductors Current estimation and efficiency report MKW4xZ 3xZ 3xA 2xZ DC DC Power Management Rev 3 04 June 2021 Application Note 25 28...

Страница 26: ...MHz Fastest wake up condition PowerIn 0 0 100 0 075 0 025 0 050 85 80 90 95 75 PowerIn 0 025 0 125 0 100 0 050 0 075 90 88 92 94 86 PowerIn 0 025 0 125 0 100 0 050 0 075 90 89 91 92 93 94 88 PowerIn 0...

Страница 27: ...tial release 1 03 2018 General updates 2 03 2020 Updates to Hardware Design Guidelines Clarifications of switching frequency Updates to voltage requirements 3 06 2021 Editorial updates NXP Semiconduct...

Страница 28: ...rly check security updates from NXP and follow up appropriately Customer shall select products with security features that best meet rules regulations and standards of the intended application and mak...

Отзывы: