DS20005281A-page 4 2014 Microchip Technology Inc.
TABLE 2:28-PIN SUMMARY
MCP19114/5
I/O
ANSEL
A/D
Timers
28-Pin QFN
MSSP
Interrupt
Pull-up
BasicAdditional
GPA01YAN0——IOCY—Analog/Digital Debug Output
GPA12YAN1——IOCY—Sync Signal In/Out
GPA23YAN2T0CKI—IOC
Y——
(2)
INT
GPA35YAN3——IOCY——
GPA58N———IOC
(4)
(5)
Y
MCLRTest Enable Input
GPA67N———IOCY—Dual Capture/Single
Compare1 Input
GPA76N——SCLIOCN——
GPB010N——SDAIOCN——
GPB126YAN4——IOCY—V
REF2
(3)
GPB44YAN5——IOCYICSPDAT—
GPB527YAN6——IOCYICSPCLK—
GPB628YAN7——IOCY——
GPB79Y———IOCY—Single Compare2 Input
DESATP/
I
SOUT
12N——————DESATP input or I
Output
(6)
SOUT
DESATN11N——————DESAT Negative Input
I
SP
13N————Y—Current Sense Amplifier
Non-Inverting Input
I
SN
14N——————Current Sense Amplifier
Inverting Input
A
P
I
P
GND
GND
15N——————Primary Input Current Sense
16N—————A
17N—————P
GND
GND
Small Signal Ground
Large Signal Ground
SDRV18N——————Secondary LS Gate Drive
Output
PDRV19N——————Primary LS Gate Drive Output
V
DR
V
DD
V
V
I
FB
I
COMP
IN
S
20N—————V
21N—————V
22N—————V
DR
DD
IN
Gate Drive Supply Voltage
VDD Output
Input Supply Voltage
23N——————Output Voltage Sense
24N——————Error Amplifier Feedback input
25N——————Error Amplifier Output
Note 1: The Analog/Digital Debug Output is selected through the control of the ABECON register.
2: Selected when functioning as master or slave by proper configuration of the MSC<1:0> bits in the
MODECON register.
3: VREF2 output selected when configured as master by proper configuration of the MSC<1:0> bits in the
MODECON register.
4: The IOC is disabled when MCLR
5: Weak pull-up always enabled when MCLR
6: When RFB of MODECON<6> =0 Internal feedback resistor is enabled allow with DESAT
RFB=1, I
SOUT
is enabled.
is enabled.
is enabled, otherwise the pull-up is under user control.
6.0Configuring the MCP19114/5 ..................................................................................................................................................... 37
17.0 Flash Program Memory Control ............................................................................................................................................... 103
23.0 Timer1 Module with Gate Control ............................................................................................................................................. 137
27.0 PWM Control Logic .................................................................................................................................................................. 151
28.0 Master Synchronous Serial Port (MSSP) Module .................................................................................................................... 153
29.0 Instruction Set Summary .......................................................................................................................................................... 195
30.0 In-Circuit Serial Programming™ (ICSP™) ............................................................................................................................... 205
31.0 Development Support............................................................................................................................................................... 207
Index .................................................................................................................................................................................................. 219
The Microchip Web Site..................................................................................................................................................................... 225
Customer Change Notification Service .............................................................................................................................................. 225
Customer Support .............................................................................................................................................................................. 225
DS20005281A-page 6 2014 Microchip Technology Inc.
MCP19114/5
TO OUR VALUED CUSTOMERS
It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip
products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and
enhanced as new volumes and updates are introduced.
If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via
E-mail at docerrors@microchip.com. We welcome your feedback.
Most Current Data Sheet
To obtain the most up-to-date version of this data sheet, please register at our Worldwide Web site at:
http://www.microchip.com
You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page.
The last character of the literature number is the version number, (e.g., DS30000000A is version A of document DS30000000).
Errata
An errata sheet, describing minor operational differences from the data sheet and recommended workarounds, may exist for current
devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision
of silicon and revision of document to which it applies.
To determine if an errata sheet exists for a particular device, please check with one of the following:
• Microchip’s Worldwide Web site; http://www.microchip.com
• Your local Microchip sales office (see last page)
When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are
using.
Customer Notification System
Register on our web site at www.microchip.com to receive the most current information on all of our products.
DS20005281A-page 8 2014 Microchip Technology Inc.
MCP19114/5
1.0DEVICE OVERVIEW
The MCP19114/5 are highly integrated, mixed signal
low-side synchronous controllers that operate from
4.5V to 42V. The family features an analog PWM
controller with an integrated microcontroller core used
for LED lighting systems, battery chargers and other
low-side switch PWM applications. The devices feature
an analog internal PWM controller similar to the
MCP1631, and a standard PIC
to the PIC12F617.
Complete customization of device operating
parameters, start-up or shutdown profiles, protection
levels and fault handling procedures are accomplished
by setting digital registers using Microchip’s MPLAB
Integrated Development Environment software and
one of Microchip’s many in-circuit debugger and device
programmers.
The MCP19114/5 mixed signal low-side synchronous
controllers feature integrated programmable input
UVLO/OVLO, programmable output overvoltage (OV),
two low-side gate drive outputs with independent
programmable dead time, programmable leading edge
blanking (four steps), programmable 6-bit slope
compensation and an integrated internal
programmable oscillator for fixed-frequency
applications. An integrated 8-bit reference voltage
) is used for setting output voltage or current. An
(V
REF
internal comparator supports quasi-resonant
applications. Additional Capture and Compare
modules are integrated for additional control, including
enhanced dimming capability. The MCP19114/5
devices contain two internal LDOs. A 5V LDO is used
to power the internal processor and provide 5V
externally. This 5V external output can be used to
supply the gate drive. An analog filter between the V
output and the VDR input is recommended when
implementing a 5V gate drive supplied from V
4.7 µF capacitors are recommended with one placed
as close as possible to V
possible to V
, separated by a 10 isolation resistor.
DR
DO NOT exceed 10 µF on the V
is required to implement higher gate drive voltages. By
utilizing Microchip’s TC1240A voltage doubler supplied
from V
to provide VDR, a 10V gate drive can be
DD
achieved. A 4V LDO is used to power the internal
analog circuitry. The two low-side drivers can be used
to operate the power converter in bidirectional mode,
enabling the “shaping” of LED dimming current in LED
applications or developing bidirectional power
converters for battery-powered applications.
The MCP19114 is packaged in a 24-lead 4 mm x 4 mm
QFN. The MCP19115 is packaged in a 28-lead
5 mm x 5 mm QFN.
®
microcontroller similar
DD
and one as close as
DD
. An external supply
DD
®
X
DD
. Two
The ability for system designers to configure
application-specific features allows the MCP19114/5 to
be offered in smaller packages than currently available
in integrated devices today. The General Purpose
Input/Output (GPIO) of the MCP19114/5 can be
configured to offer a status output, a device enable, to
control an external switch, a switching frequency
synchronization output or input or even a device status
or "heartbeat" indicator. This flexibility allows the
MCP19114/5 packages and complete solutions to be
smaller, thereby saving size and cost of the system
printed circuit boards.
With integrated features like output current adjust and
dynamic output voltage positioning, the MCP19114/5
family has the best in class performance and highest
integration level currently available.
Power trains supported by this architecture include but
are not limited to boost, flyback, quasi-resonant
flyback, SEPIC, Ćuk, etc. Two low-side gate drivers are
capable of sinking and sourcing 1A at 10V V
. With a
DR
5V gate drive, the driver is capable of 0.5A sink and
source. The user has the option to allow the V
UVLO
IN
to shut down the drivers by setting the UVLOEN bit.
When this bit is not set, the device drivers will ride
through the UVLO condition and continue to operate
until VDR reaches the gate drive UVLO value. This
value is selectable at 2.7V or 5.4V and is always
enabled. An internal reset for the microcontroller core
is set to 2.0V. An internal comparator module is used to
sense the desaturation of the flyback transformer to
synchronize switching for quasi-resonant applications.
The operating input voltage for normal device operation
ranges from 4.5V to 42V with an absolute maximum of
44V. The maximum transient voltage is 48V for 500 ms.
DS20005281A-page 12 2014 Microchip Technology Inc.
MCP19114/5
2.0PIN DESCRIPTION
The 24-lead MCP19114 and 28-lead MCP19115
devices feature pins that have multiple functions
associated with each pin. Tab le 2 -1 provides a
description of the different functions. Refer to
Section 2.1 “Detailed Pin Functional Description”
for more detailed information.
TABLE 2-1:MCP19114/5 PINOUT DESCRIPTION
NameFunction
Input
Type
GPA0/AN0/TEST_OUTGPA0TTLCMOS General-purpose I/O
AN0AN—A/D Channel 0 input
TEST_OUT——Internal analog/digital signal multiplexer output
GPA1/AN1/CLKPINGPA1TTLCMOS General-purpose I/O
AN1AN—A/D Channel 1 input
CLKPINSTCMOS Switching frequency clock input or output
GPA2/AN2/T0CKI/INTGPA2STCMOS General-purpose I/O
AN2AN—A/D Channel 2 input
T0CKIST—Timer0 clock input
INTST—External interrupt
GPA3/AN3GPA3TTLCMOS General-purpose I/O
AN3AN—A/D Channel 3 input
GPA5/MCLR
GPA5TTL—General-purpose input only
MCLR
GPA6/CCD/ICSPDATGPA6STCMOS General-purpose I/O
ICSPDATSTCMOS Serial Programming Data I/O
CCDSTCMOS Single Compare output. Dual Capture input
GPA7/SCL/ICSPCLKGPA7STODGeneral-purpose open drain I/O
SCLI
ICSPCLKST—Serial Programming Clock
GPB0/SDAGPB0TTLODGeneral-purpose I/O
SDAI
GPB1/AN4/VREF2GPB1TTLCMOS General-purpose I/O
AN4AN—A/D Channel 4 input
VREF2—ANVREF2 DAC Output
GPB4/AN5/ICSPDAT
(MCP19115 Only)
GPB4TTLCMOS General-purpose I/O
AN5AN—A/D Channel 5 input
ICSPDATSTCMOS Primary Serial Programming Data I/O
GPB5/AN6/ICSPCLK
(MCP19115 Only)
GPB5TTLCMOS General-purpose I/O
AN6AN—A/D Channel 6 input
ISCPCLKST—Primary Serial Programming Clock
Legend:AN = Analog input or output CMOS = CMOS compatible input or outputOD = Open Drain
TTL = TTL compatible input ST = Schmitt Trigger input with CMOS levels I
Note 1:The Analog/Digital Debug Output is selected through the control of the ABECON register.
2:Selected when functioning as master or slave by proper configuration of the MSC<1:0> bits in the MODECON register.
3:VREF2 output selected when configured as master by proper configuration of the MSC<1:0> bits in the MODECON
CCDSTCMOS Single Compare output. Dual Capture input.
V
IN
V
DD
V
DR
A
GND
P
GND
Input
Type
PDRVPDRV——Primary Low-Side MOSFET gate drive
SDRVSDRV——Secondary Low-Side MOSFET gate drive
I
P
I
SN
I
SP
V
S
I
FB
I
COMP
DESATP/I
DESAT
Legend:AN = Analog input or output CMOS = CMOS compatible input or outputOD = Open Drain
SOUT
N
TTL = TTL compatible input ST = Schmitt Trigger input with CMOS levels I
I
P
I
SN
I
SP
V
S
I
FB
I
COMP
DESATP/I
DESAT
SOUT
N
Note 1:The Analog/Digital Debug Output is selected through the control of the ABECON register.
2:Selected when functioning as master or slave by proper configuration of the MSC<1:0> bits in the MODECON register.
3:VREF2 output selected when configured as master by proper configuration of the MSC<1:0> bits in the MODECON
register.
Output
Type
Description
——Device input supply voltage
——Internal +5V LDO output pin
——Gate drive supply voltage
——Small signal quiet ground
——Large signal power ground
——Primary input current sense
——Secondary current sense amplifier negative input
——Secondary current sense amplifier positive input
——Sense voltage compared to overvoltage DAC
——Error amplifier feedback input
——Error amplifier output
——DESATP: DESAT detect comparator positive input
: Secondary current sense amplifier output
I
SOUT
——DESATN: DESAT detect comparator negative
input
2
C = Schmitt Trigger input with I2C
DS20005281A-page 14 2014 Microchip Technology Inc.
MCP19114/5
2.1Detailed Pin Functional
Description
2.1.1GPA0 PIN
GPA0 is a general-purpose TTL input or CMOS output
pin whose data direction is controlled in TRISGPA. An
internal weak pull-up and interrupt-on-change are also
available.
AN0 is an input to the A/D. To configure this pin to be
read by the A/D on channel 0, bits TRISA0 and ANSA0
must be set.
The ABECON register can be configured to set this pin
to the TEST_OUT function. It is a buffered output of the
internal analog or digital signal multiplexers. Analog
signals present on this pin are controlled by the
ADCON0 register. Digital signals present on this pin
are controlled by the ABECON register.
2.1.2GPA1 PIN
GPA1 is a general-purpose TTL input or CMOS output
pin whose data direction is controlled in TRISGPA. An
internal weak pull-up and interrupt-on-change are also
available.
AN1 is an input to the A/D. To configure this pin to be
read by the A/D on channel 1, bits TRISA1 and ANSA1
must be set.
When the MCP19114/5 are configured as a MASTER
or SLAVE, this pin is configured to be the switching
frequency synchronization input or output (CLKPIN).
2.1.3GPA2 PIN
GPA2 is a general-purpose ST input or CMOS output
pin whose data direction is controlled in TRISGPA. An
internal weak pull-up and interrupt-on-change are also
available.
AN2 is an input to the A/D. To configure this pin to be
read by the A/D on channel 2, bits TRISA2 and ANSA2
must be set.
When bit T0CS is set in the OPTION_REG register, the
T0CKI function is enabled. Refer to Section 22.0
“Timer0 Module” for more information.
GPA2 can also be configured as an external interrupt
by setting the INTE bit. Refer to Section 14.2
“GPA2/INT Interrupt” for more information.
2.1.5GPA5 PIN
GPA5 is a general-purpose TTL input only pin. An
internal weak pull-up and interrupt-on-change are also
available.
For programming purposes, this pin is to be connected
to the MCLR
Section 30.0 “In-Circuit Serial Programming™
(ICSP™)” for more information.
This pin is MCLR
CONFIG register.
pin of the serial programmer. Refer to
when the MCLRE bit is set in the
2.1.6GPA6 PIN
GPA6 is a general-purpose CMOS output ST input pin
whose data direction is controlled in TRISGPA.
ICSPDAT is a serial programming data I/O function.
This can be used in conjunction with ICSPCLK to serial
program the device.
GPA6 is part of the CCD Module. For more information,
refer to Section 26.0 “Dual Capture/Compare (CCD)
Module”.
2.1.7GPA7 PIN
GPA7 is a true open drain general-purpose pin whose
data direction is controlled in TRISGPA. There is no
internal connection between this pin and device VDD.
This pin does not have a weak pull-up, but interrupt-on-change is available.
This pin is the primary ICSPCLK input. For MCP19115,
this pin is ALT1_ICSPCLK. This can be used in
conjunction with ICSPDAT to serial program the
device.
When the MCP19114/5 is configured for I
communication, Section 28.2 “I
GPA7 functions as the I
be configured as an input to allow proper operation.
2
2
C Mode Overview ”,
C clock (SCL). This pin must
2
C
2.1.4GPA3 PIN
GPA3 is a general-purpose TTL input or CMOS output
pin whose data direction is controlled in TRISGPA. An
internal weak pull-up and interrupt-on-change are also
available.
AN3 is an input to the A/D. To configure this pin to be
read by the A/D on channel 3, bits TRISA3 and ANSA3
must be set.
GPB0 is a true open drain general-purpose pin whose
data direction is controlled in TRISGPB. There is no
internal connection between this pin and device V
This pin does not have a weak pull-up, but
interrupt-on-change is available. When the
MCP19114/5 are configured for I
Section 28.2 “I
2
as the I
an input to allow proper operation.
2
C Mode Overvi ew”, GPB0 functions
C clock (SDA). This pin must be configured as
2
C communication,
DD
2.1.9GPB1 PIN
GPB1 is a general-purpose TTL input or CMOS output
pin whose data direction is controlled in TRISGPB. An
internal weak pull-up and interrupt-on-change are also
available.
AN4 is an input to the A/D. To configure this pin to be
read by the A/D on channel 4, bits TRISB1 and ANSB1
must be set.
When the MCP19114/5 are configured as a MASTER,
this pin is configured to be the V
DAC output.
REF2
2.1.10GPB4 PIN (MCP19115 ONLY)
GPB4 is a general-purpose TTL input or CMOS output
pin whose data direction is controlled in TRISGPB. An
internal weak pull-up and interrupt-on-change are also
available.
AN5 is an input to the A/D. To configure this pin to be
read by the A/D on channel 5, bits TRISB4 and ANSB4
must be set.
ICSPDAT is the primary serial programming data I/O
function. This is used in conjunction with ICSPCLK to
serial program the device.
2.1.11GPB5 PIN (MCP19115 ONLY)
GPB5 is a general-purpose TTL input or CMOS output
pin whose data direction is controlled in TRISGPB. An
internal weak pull-up and interrupt-on-change are also
available.
AN6 is an input to the A/D. To configure this pin to be
read by the A/D on channel 6, bits TRISB5 and ANSB5
must be set.
ICSPCLK is the primary serial programming clock
function. This is used in conjunction with ICSPDAT to
serial program the device.
2.1.12GPB6 PIN (MCP19115 ONLY)
GPB6 is a general-purpose TTL input or CMOS output
pin whose data direction is controlled in TRISGPB. An
internal weak pull-up and interrupt-on-change are also
available.
AN7 is an input to the A/D. To configure this pin to be
read by the A/D on channel 7, bits TRISB6 and ANSB6
must be set.
2.1.13GPB7 PIN (MCP19115 ONLY)
GPB7 is a general-purpose TTL input or CMOS output
pin whose data direction is controlled in TRISGPB. An
.
internal weak pull-up and interrupt-on-change are also
available.
GPB7 is part of the CCD Module. For more information,
refer to Section 26.0 “Dual Capture/Compare (CCD)
Module”.
2.1.14DESATN PIN
Internal comparator inverting input. Used during
quasi-resonant operation for desaturation detection.
2.1.15DESATP/I
When using the internal comparator for desaturation
detection during quasi-resonant operation, this pin
connects to the comparator’s non-inverting input. The
output of the remote sense current sense amplifier gets
configured to utilize the 5 k internal feedback resistor.
When not utilizing the internal comparator and not
configured to use the 5 k internal feedback resistor,
the current sense amplifier gets connected to this pin
SOUT
.
and is I
SOUT
PIN
2.1.16ISP PIN
The non-inverting input to internal current sense
amplifier, typically used to differentially remote sense
secondary current. This pin can be internally pulled-up
by setting the <ISPUEN> bit in the PE1 register.
to V
DD
2.1.17ISN PIN
The inverting input to internal current sense amplifier,
typically used to differentially remote sense secondary
current.
2.1.18IP PIN
Primary input current sense for current mode control
and peak current limit. For voltage mode control, this
pin can be connected to an artificial ramp.
2.1.19A
A
is the small signal ground connection pin. This
GND
pin should be connected to the exposed pad on the
bottom of the package.
2.1.20P
Connect all large signal level ground returns to P
These large-signal level ground traces should have a
small loop area and minimal length to prevent coupling
of switching noise to sensitive traces.
GND
GND
PIN
PIN
GND
.
DS20005281A-page 16 2014 Microchip Technology Inc.
2.1.21SDRV PIN
The gate of the low-side secondary MOSFET is
connected to SDRV. The PCB trace connecting SDRV
to the gate must be of minimal length and appropriate
width to handle the high peak drive current and fast
voltage transitions.
2.1.22PDRV PIN
The gate of the low-side primary MOSFET is
connected to PDRV. The PCB tracing connecting
PDRV to the gate must be of minimal length and
appropriate width to handle the high-peak drive
currents and fast voltage transitions.
2.1.23VDR PIN
The supply for the low-side drivers is connected to this
pin and has an absolute maximum rating of +13.5V.
This pin can be connected by an RC filter to the V
pin.
DD
2.1.24VDD PIN
The output of the internal +5.0V regulator is connected
to this pin. It is recommended that a 1.0 µF bypass
capacitor be connected between this pin and the GND
pin of the device. The bypass capacitor should be
physically placed close to the device.
MCP19114/5
2.1.25VIN PIN
Input power connection pin of the device. It is
recommended that capacitance be placed between this
pin and the GND pin of the device.
2.1.26VS PIN
Analog input connected to the non-inverting input of the
overvoltage comparator. Typically used as output
voltage overvoltage protection. The inverting input of
the overvoltage comparator is controlled by the OV
REF DAC.
DS20005281A-page 18 2014 Microchip Technology Inc.
3.0FUNCTIONAL DESCRIPTION
MCP19114/5
3.1Linear Regulators
The operating input voltage for the MCP19114/5
ranges from 4.5V to 42V. There are two internal Low
Dropout (LDO) voltage regulators. A 5V LDO is used to
power the internal processor and provide a 5V output
for external usage. A second LDO (V
regulator and is used to power the remaining analog
internal circuitry. Using an LDO to power the
MCP19114/5, the input voltage is monitored using a
resistor divider. The MCP19114/5 also incorporate
brown-out protection. Refer to Section 13.3
“Brown-out Reset (BOR)” for details. The PIC core
will reset at 2.0V V
DD
.
AVD D
) is a 4V
3.2Output Drive Circuitry
The MCP19114/5 integrate two low-side drivers used
to drive the external low-side N-Channel power
MOSFETs for synchronous applications, such as
synchronous flyback and synchronous Ćuk converters.
Both converter types can be configured for
non-synchronous control by replacing the synchronous
FET with a diode. The flyback is also capable of
quasi-resonant operation. The MCP19114/5 can also
be configured as a Boost or SEPIC switch-mode power
supply (SMPS). In Boost mode, non-synchronous
fixed-frequency or non-synchronous quasi-resonant
control can be utilized. This device can also be used as
a SEPIC SMPS in fixed-frequency non-synchronous
mode. The low-side drive is capable of switching the
MOSFET at high frequency in typical SMPS
applications. The gate drive (V
5V to 10V. The drive strength is capable of up to 1A
sink/source with 10V gate drive and down to 0.5A
sink/source with 5V gate drive. A programmable delay
is used to set the gate turn-on dead time. This prevents
overlap and shoot-through currents that can decrease
the converter efficiency. Each driver shall have its own
EN input controlled by the microcontroller core.
) can be supplied from
DR
3.3Current Sense
The output current is differentially sensed by the
MCP19114/5. In low-current applications, this helps
maintain high system efficiency by minimizing power
dissipation in current sense resistors. Differential
current sensing also minimizes external ground shift
errors. The internal differential amplifier has a precision
gain of 10V/V.
3.4Peak Current Mode
The MCP19114/5 is a peak current mode controlled
device with the current sensing element in series with
the primary side MOSFET. Programmable Leading
Edge Blanking can be implemented to blank current
spikes resulting from turn on. The blank time is
controlled from the ICLEBCON register.
Primary Input Current Offset Adjust is also available via
user programmability, thus limiting peak primary input
current. This offset adjustment is controlled by the
ICOACON register.
3.5Magnetic Desaturation Detection
An internal comparator module is used to detect power
train magnetic desaturation for quasi-resonant
applications. The comparator output is used as a signal
to synchronize the start of the next switching cycle.
This operation differs from the traditional
fixed-frequency application. The DESAT comparator
output can be enabled and routed into the PWM
circuitry or disabled for fixed-frequency applications.
During Quasi-Resonant (QR) operation, the DESAT
comparator output is enabled and combined with a pair
of one-shot timers and a flip-flop to sustain PWM
operation. Timer2 (TMR2) must be initialized and set to
run at a frequency lower than the minimum QR
operating frequency. When the CDSWDE bit is set in
the DESATCON register, TMR2 serves as a watchdog.
An example of the order of events for a Flyback SMPS
in synchronous QR operation is as follows:
The primary gate drive (PDRV) goes high. The output
of the DESAT comparator is high. The primary current
increases until I
and causes PWM comparator output to go low. The
PDRV goes low and the secondary gate drive (SDRV)
goes high (after programmed dead time). This triggers
the first one-shot to send a 200 ns pulse that resets the
flip-flop and TMR2 (WDM_RESET). The 200 ns
one-shot pulse design is implemented to mask out any
spurious transitions at the DESAT comparator output
caused by switching noise. The SDRV stays high until
the secondary winding completely runs out of energy,
at which time the output capacitance begins to source
current back through the winding and secondary
MOSFET. The DESAT comparator detects this and its
output goes low. This sets the flip-flop and triggers the
second one-shot to send a 33 ns pulse to the control
logic, causing the SDRV to go low and the PDRV to go
high (after programmed dead time). The cycle then
repeats. If, for any reason, the reset one-shot does not
fire, the WDM_RESET signal stays low and TMR2 is
allowed to run until the PWM signal kicks off a new
cycle.
The desaturation comparator module is controlled by
the DESATCON register.
To control the output current during start-up, the
MCP19114/5 have the capability to monotonically
increase system current, at the user’s discretion. This
is accomplished through the control of the reference
voltage DAC (V
user control via software.
). The entire start-up profile is under
REF
3.7Driver Control Circuitry
The internal driver control circuitry of the MCP19114/5
is comprised of an error amplifier (EA), a high-speed
comparator and a latch similar to the MCP1631.
The error amplifier generates the control voltage used
by the high-speed PWM comparator. There is an
internally generated reference voltage, V
difference or error between this internal reference
voltage and the actual feedback voltage is the control
voltage. Some applications will implement parked
times where the gate drives are not active. For
example, when changing between LED strings and
after voltage repositioning, the user can disable the
gate drives and park the error amplifier output low.
During the time when the EA is parked, its output will be
clamped low (1 * BG) such that it is in a known state
when reactivated. Before the output switches are
re-enabled, it may be necessary to re-enable the EA
some time prior to enabling the output drivers. This
prior-EA enable time will allow the EA to slew towards
the intended target and prevent the secondary switch
from turning on for an extensive period of time,
unintentionally discharging the output capacitance and
pulling the output voltage down. External
compensation is used to stabilize the control system.
Since the MCP19114/5 are peak current mode
controlled, the comparator compares the primary peak
current waveform (I
flowing in the primary side with the error amplifier
control output voltage. This error amplifier control
output voltage also has user-programmable slope
compensation subtracted from it. In fixed-frequency
applications, the slope compensation signal is
generated to be greater than 1/2 the down slope of the
inductor current waveform and is controlled by the
SLPCRCON register. Offset adjust ability is also
available to set the peak current limit of the primary
switch for overcurrent protection. The range of the
slope compensation ramp is specified. When the
current sense signal reaches the level of the control
voltage minus slope compensation, the on cycle is
terminated and the external switch is latched off until
the beginning of the next cycle which begins at the next
clock cycle.
To improve current regulation at low levels, a pedestal
voltage (VZC) set to the BG (1.23V) is implemented.
This virtual ground serves as the reference for the error
amplifier (A1), slope compensation, current sense
amplifier (A2) and the I
) that is based upon the current
P
offset adjustment.
P
REF
. The
An S-R latch (Set-Rest-Flip-Flop) is used to prevent the
PWM circuitry from turning the external switch on until
the beginning of the next clock cycle.
3.8Fixed PWM Frequency
The switching frequency of the MCP19114/5 while not
controlled by the DESAT comparator output is
generated by using a single edge of the 8 MHz internal
clock. The user sets the MCP19114/5 switching
frequency by configuring the PR2 register. The
maximum allowable PDRV duty cycle is adjustable and
is controlled by the PWMRL register. The
programmable range of the switching frequency will be
31.25 kHz to 2 MHz. The available switching frequency
below 2 MHz is defined as F
a whole number between 4 N 256. Refer to
Section 25.0 “Enhanced PWM Module” for details.
3.9V
This reference is used to generate the voltage
connected to the non-inverting input of the error
amplifier. The entire analog control loop is raised to a
virtual ground pedestal equal to the Band Gap voltage
(1.23V).
REF
= 8 MHz/N, where N is
SW
3.10OV REF
This reference is used to set the output overvoltage set
point. It is compared to the V
typically proportional to the output voltage based on a
resistor divider. OV protection, when enabled, can be
set to a value for the protection of system circuitry or it
can be used to “ripple” regulate the converter output
voltage for repositioning purposes. For details, refer to
Register 6-4.
input pin, which is
S
3.11Independent Gate Drive with
Programmable Delay
Two independent low-side gate drives are integrated
for synchronous applications. Programmable delay has
been implemented to improve efficiency and prevent
shoot-through currents. Each gate drive has an
independent enable input controlled by the PE1
register and programmable dead time controlled by the
DEADCON register.
DS20005281A-page 20 2014 Microchip Technology Inc.
3.12Temperature Management
3.12.1THERMAL SHUTDOWN
To protect the MCP19114/5 from overtemperature
conditions, a 150°C junction temperature thermal
shutdown has been implemented. When the junction
temperature reaches this limit, the device disables the
output drivers. In Shutdown mode, both PDRV and
SDRV outputs are disabled and the overtemperature
flag (OTIF) is set in the PIR2 register. When the
junction temperature is reduced by 20°C to 130°C, the
MCP19114/5 can resume normal output drive
switching.
3.12.2TEMPERATURE REPORTING
The MCP19114/5 have a second on-chip temperature
monitoring circuit that can be read by the ADC through
the analog test MUX. Refer to Section 20.0 “In ternal
PDRV ..................................................................................................................................(GND - 0.3V) to (V
SDRV ....................................................................... ..........................................................(GND - 0.3V) to (V
V
DD
V
DR
Voltage on MCLR
Maximum voltage: any other pin .................................. ...................................................+(V
(operating) .................................................................................................................................................-0.3V to +44V
with respect to GND.................... ...............................................................................-0.3V to +13.5V
- 0.3V) to (VDD+0.3V)
GND
Maximum output current sunk by any single I/O pin .... ..........................................................................................25 mA
Maximum output current sourced by any single I/O pin ..........................................................................................25 mA
Maximum current sunk by all GPIO.............................. ..........................................................................................90 mA
Maximum current sourced by all GPIO ........................ ..........................................................................................35 mA
Storage Temperature.................................................... ..........................................................................-65°C to +150°C
Maximum Junction Temperature .................................. ........................................................................................+150°C
Operating Junction Temperature.................................. ..........................................................................-40°C to +125°C
ESD protection on all pins (HBM)................................. ......................................................................................... 2.0 kV
ESD protection on all pins (MM)................................... ........................................................................................... 200V
† Notice: Stresses above those listed under “Maximum Ratings” may cause permanent damage to the device. This is
a stress rating only and functional operation of the device at those or any other conditions above those indicated in the
operational listings of this specification is not implied. Exposure to maximum rating conditions for extended periods
may affect device reliability.
4.2Electrical Characteristics
Electrical Specifications: Unless otherwise noted, V
apply over the T
range of -40°C to +125°C
A
ParametersSym.Min.Typ.Max.UnitsConditions
Input
Input VoltageV
Input Quiescent
IN
I
Q
4.5—42V
—510mANot Switching, +V
Current
Shutdown Current
Linear Regulator V
Internal Circuitry
DD
I
SHDN
V
DD
—30150µAV
4.755.05.5VV
Bias Voltage
Maximum External
V
Output Current
DD
Line RegulationV
Load RegulationV
Output Short Circuit
(V
DD-OUT
I
DD_OUT
DD-OUT
DD-OUT
V
DD-OUT
I
DD_SC
/
* VIN)
/
35——mAV
-0.10.0020.1%/V(V
-0.650.1+0.65%I
—50—mAV
Current
Note 1:Refer to Section 15.0 “Power-Down Mode (Sleep)”.
2:Ensured by design, not production tested.
3:V
is the voltage present at the VDD pin.
DD
4:Dropout voltage is defined as the input-to-output voltage differential at which the output voltage drops 2%
below its nominal value measured at a 1V differential between V
5:The V
LDO will limit the total source current to a maximum of 35 mA. Individually each pin can source a
DD
maximum of 15 mA.
= 12V, FSW=150kHz, T
IN
A
and VDD.
IN
=+25°C, Boldface specifications
=5V
SEN
= 12V
IN
Note 1
= 6.0V to 42V
IN
= 6.0V to 42V,
IN
Note 3
+1.0V) VIN 20V
DD
Note 3
DD_OUT
= 1 mA to 20 mA
Note 3
=(VDD+1.0V)
IN
Note 3
DS20005281A-page 22 2014 Microchip Technology Inc.
MCP19114/5
4.2Electrical Characteristics (Continued)
Electrical Specifications: Unless otherwise noted, V
apply over the T
range of -40°C to +125°C
A
ParametersSym.Min.Typ.Max.UnitsConditions
Dropout VoltageVIN-V
Power Supply
PSRR
DD
LDO
—0.30.5VI
—60—dBf 1000 Hz,
Rejection Ratio
Linear Regulator V
Internal Analog
AVDD
V
AVD D
—4.0—V
Supply Voltage
Band Gap VoltageBG—1.23—VTrimmed at 1.0% tolerance
Band Gap
BG
TOL
-2.5—+2.5%
To le r a nc e
Input UVLO Voltage
UVLO RangeUVLO
UVLO
ON
Trip
UVLO
ON
TOL
4.0—20VV
-14—14%V
To le r a nc e
UVLO HysteresisUVLO
HYS
—4—%Hysteresis is based upon
Resolutionnbits—6—BitsLogarithmic Steps
UVLO Comparator
Input-to-Output
TD—5—µs100 ns rise time to 1V
Delay
Input OVLO Voltage
OVLO RangeOVLO
OVLO
ON
Trip
OVLO
ON
TOL
8.8—44VV
-14—14%V
To le r a nc e
OVLO HysteresisOVLO
HYS
—5—%Hysteresis is based upon the
Resolutionnbits—6—BitsLogarithmic Steps
OVLO Comparator
Input-to-Output
TD—5—µs100 ns rise time to 1V
Delay
Note 1:Refer to Section 15.0 “Power-Down Mode (Sleep)”.
2:Ensured by design, not production tested.
3:V
is the voltage present at the VDD pin.
DD
4:Dropout voltage is defined as the input-to-output voltage differential at which the output voltage drops 2%
below its nominal value measured at a 1V differential between V
5:The V
LDO will limit the total source current to a maximum of 35 mA. Individually each pin can source a