Electronic Components Datasheet Search
  English  ▼

X  

MCP19124 Datasheet(PDF) 145 Page - Microchip Technology

Part # MCP19124
Description  Digitally-Enhanced Power Analog Synchronous Low-Side Dual-Loop PWM Controller
PDF  236 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

MCP19124 Datasheet(HTML) 145 Page - Microchip Technology

Back Button MCP19124 Datasheet HTML 141Page - Microchip Technology MCP19124 Datasheet HTML 142Page - Microchip Technology MCP19124 Datasheet HTML 143Page - Microchip Technology MCP19124 Datasheet HTML 144Page - Microchip Technology MCP19124 Datasheet HTML 145Page - Microchip Technology MCP19124 Datasheet HTML 146Page - Microchip Technology MCP19124 Datasheet HTML 147Page - Microchip Technology MCP19124 Datasheet HTML 148Page - Microchip Technology MCP19124 Datasheet HTML 149Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 145 / 236 page
background image
 2016 Microchip Technology Inc.
DS20005619A-page 145
MCP19124/5
24.0 DUAL CAPTURE/COMPARE (CCD)
MODULE
The CCD module is implemented on the MCP19124/5.
This module is a new module based on the standard
CCP module. It has two capture and compare only
register sets with no PWM function.
24.1
Capture Mode
In Capture mode, the CCxRH:CCxRL register set
captures the 16-bit value of the TMR1 register when
an event occurs on the DIMI pin. An event is defined
as one of the following:
• Every falling edge
• Every rising edge
• Every 4th rising edge
•Every 16th rising edge
The type of event is configured by control bits
CCxM3:CCxM0 (CCDCON<3:0> for register set 1 or
CCDCON<7:4> for register set 2). When a capture is
made, the interrupt request flag bit, CCxIF (PIR1<2>
for register set 1 or PIR1<3> for register set 2), is set.
The interrupt flag must be cleared in software. If
another capture occurs before the value in the register
set is read, the old captured value is overwritten by the
new value.
24.1.1
CCX PIN CONFIGURATION
In Capture mode, the DIMI pin should be configured
as an input by setting the TRIS bit for that pin.
FIGURE 24-1:
CAPTURE MODE OPERATION BLOCK DIAGRAM
24.1.2
TIMER1 MODE SELECTION
Timer1 must be running off of the instruction clock for
the CCD module to use the capture feature. If Timer1
is running off of the 8 MHz clock, the capture feature
may not function correctly.
24.1.3
SOFTWARE INTERRUPT
When the Capture mode is changed, a false capture
interrupt may be generated. The user should keep the
enable for the capture interrupt clear in order to avoid
false interrupts and should clear the flag bit, CCxIF,
following any such change in the operating mode.
24.1.4
CCD PRESCALER
There are four prescaler settings, specified by bits
CCxM3:CCxM0. Whenever the CCD register set is
disabled or not set to Capture mode, the prescaler
counter is cleared. Any reset will clear the prescaler
counter.
Switching from one capture prescaler to another may
generate an interrupt. Also, the prescaler counter will
not be cleared, therefore, the first capture may be from
a nonzero prescaler. It is recommended to disable the
register set (CCxM3:0 = 00xx) prior to changing the
prescaler value.
Note: If the DIMI pin is configured as an output, a
write to the port can cause a capture
condition.
System Clock
(FOSC)
CCDCON<CCxM3:0
>
CCxRH
CCxRL
TMR1H
TMR1L
Capture
Enable
CCD pin
Prescaler
÷1, 4, 16
Set Flag bit CCxIF
(PIR1 register)
and
Edge Detect



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com