Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18F4520E/MLQTP Datasheet(PDF) 150 Page - Microchip Technology

Part # PIC18F4520E/MLQTP
Description  28/40/44-Pin Enhanced Flash Microcontrollers with 10-Bit A/D and nanoWatt Technology
PDF  390 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4520E/MLQTP Datasheet(HTML) 150 Page - Microchip Technology

Back Button PIC18F4520E/MLQTP Datasheet HTML 146Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 147Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 148Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 149Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 150Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 151Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 152Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 153Page - Microchip Technology PIC18F4520E/MLQTP Datasheet HTML 154Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 150 / 390 page
background image
PIC18F2420/2520/4420/4520
DS39631A-page 148
Preliminary
 2004 Microchip Technology Inc.
In addition to the expanded range of modes available
through
the CCP1CON
register
and
ECCP1AS
register, the ECCP module has an additional register
associated with Enhanced PWM operation and
auto-shutdown features. It is:
• PWM1CON (Dead-band delay)
16.1
ECCP Outputs and Configuration
The enhanced CCP module may have up to four PWM
outputs, depending on the selected operating mode.
These outputs, designated P1A through P1D, are
multiplexed with I/O pins on PORTC and PORTD. The
outputs that are active depend on the CCP operating
mode selected. The pin assignments are summarized
in Table 16-1.
To configure the I/O pins as PWM outputs, the proper
PWM
mode
must
be
selected
by
setting
the
P1M1:P1M0
and
CCP1M3:CCP1M0
bits.
The
appropriate TRISC and TRISD direction bits for the port
pins must also be set as outputs.
16.1.1
ECCP MODULES AND TIMER
RESOURCES
Like the standard CCP modules, the ECCP module can
utilize Timers 1, 2 or 3, depending on the mode
selected. Timer1 and Timer3 are available for modules
in Capture or Compare modes, while Timer2 is avail-
able for modules in PWM mode. Interactions between
the standard and enhanced CCP modules are identical
to those described for standard CCP modules.
Additional details on timer resources are provided in
Section 15.1.1
“CCP
Modules
and
Timer
Resources”.
16.2
Capture and Compare Modes
Except for the operation of the Special Event Trigger
discussed below, the Capture and Compare modes of
the ECCP module are identical in operation to that of
CCP2. These are discussed in detail in Section 15.2
“Capture
Mode”
and
Section 15.3
“Compare
Mode”. No changes are required when moving
between 28-pin and 40/44-pin devices.
16.2.1
SPECIAL EVENT TRIGGER
The Special Event Trigger output of ECCP1 resets the
TMR1 or TMR3 register pair, depending on which timer
resource is currently selected. This allows the CCPR1
register to effectively be a 16-bit programmable period
register for Timer1 or Timer3.
16.3
Standard PWM Mode
When configured in Single Output mode, the ECCP
module functions identically to the standard CCP
module in PWM mode, as described in Section 15.4
“PWM Mode”. This is also sometimes referred to as
“Compatible CCP” mode, as in Table 16-1.
TABLE 16-1:
PIN ASSIGNMENTS FOR VARIOUS ECCP1 MODES
Note:
When setting up single output PWM opera-
tions, users are free to use either of the pro-
cesses described in Section 15.4.4 “Setup
for PWM Operation” or Section 16.4.9
“Setup for PWM Operation”. The latter is
more generic and will work for either single
or multi-output PWM.
ECCP Mode
CCP1CON
Configuration
RC2
RD5
RD6
RD7
All 40/44-pin devices:
Compatible CCP
00xx 11xx
CCP1
RD5/PSP5
RD6/PSP6
RD7/PSP7
Dual PWM
10xx 11xx
P1A
P1B
RD6/PSP6
RD7/PSP7
Quad PWM
x1xx 11xx
P1A
P1B
P1C
P1D
Legend: x = Don’t care. Shaded cells indicate pin assignments not used by ECCP1 in a given mode.



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