数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

PIC18F258-E/SOSQTP 数据表(PDF) 136 Page - Microchip Technology

部件名 PIC18F258-E/SOSQTP
功能描述  28/40-Pin High-Performance, Enhanced Flash Microcontrollers with CAN Module
PDF  402 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

PIC18F258-E/SOSQTP 数据表(HTML) 136 Page - Microchip Technology

Back Button PIC18F258-E/SOSQTP Datasheet HTML 132Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 133Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 134Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 135Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 136Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 137Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 138Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 139Page - Microchip Technology PIC18F258-E/SOSQTP Datasheet HTML 140Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 136 / 402 page
background image
PIC18FXX8
DS41159E-page 134
© 2006 Microchip Technology Inc.
16.4
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”. The differences in registers and ports
are as described in Section 16.2 “Capture Mode”. In
addition, the two Least Significant bits of the 10-bit
PWM
duty
cycle
value
are
represented
by
ECCP1CON<5:4>.
16.5
Enhanced PWM Mode
The Enhanced PWM mode provides additional PWM
output options for a broader range of control applica-
tions. The module is an upwardly compatible version of
the standard CCP module and is modified to provide up
to four outputs, designated P1A through P1D. Users
are also able to select the polarity of the signal (either
active-high or active-low). The module’s output mode
and
polarity
are
configured
by
setting
the
EPWM1M1:EPWM1M0 and ECCP1M3:ECCP1M0 bits
of the ECCP1CON register (ECCP1CON<7:6> and
ECCP1CON<3:0>, respectively).
Figure 16-1 shows a simplified block diagram of PWM
operation. All control registers are double-buffered and
are loaded at the beginning of a new PWM cycle (the
period boundary when the assigned timer resets) in
order to prevent glitches on any of the outputs. The
exception is the PWM Delay register, ECCP1DEL,
which is loaded at either the duty cycle boundary or the
boundary period (whichever comes first). Because of
the buffering, the module waits until the assigned timer
resets instead of starting immediately. This means that
Enhanced PWM waveforms do not exactly match the
standard PWM waveforms, but are instead offset by
one full instruction cycle (4 TOSC).
As before, the user must manually configure the
appropriate TRISD bits for output.
16.5.1
PWM OUTPUT CONFIGURATIONS
The EPWM1M<1:0> bits in the ECCP1CON register
allow one of four configurations:
• Single Output
• Half-Bridge Output
• Full-Bridge Output, Forward mode
• Full-Bridge Output, Reverse mode
The Single Output mode is the standard PWM mode
discussed in Section 15.4 “PWM Mode”. The Half-
Bridge and Full-Bridge Output modes are covered in
detail in the sections that follow.
The
general
relationship
of
the
outputs
in
all
configurations is summarized in Figure 16-2.
FIGURE 16-1:
SIMPLIFIED BLOCK DIAGRAM OF THE ENHANCED PWM MODULE
Note:
When setting up single output PWM
operations, users are free to use either of
the processes described in Section 15.4.3
“Setup
for
PWM
Operation”
or
Section 16.5.8 “Setup for PWM Opera-
tion”. The latter is more generic, but will
work for either single or multi-output PWM.
ECCPR1L
ECCPR1H (Slave)
Comparator
TMR2
Comparator
PR2
(Note 1)
RQ
S
Duty Cycle Registers
ECCP1CON<5:4>
Clear Timer,
set ECCP1 pin and
latch D.C.
Note:
The 8-bit TMR2 register is concatenated with the 2-bit internal Q clock, or 2 bits of the prescaler, to create the 10-bit time base.
TRISD<4>
RD4/PSP4/ECCP1/P1A
TRISD<5>
RD5/PSP5/P1B
TRISD<6>
RD6/PSP6/P1C
TRISD<7>
RD7/PSP7/P1D
Output
Controller
EPWM1M1<1:0>
2
ECCP1M<3:0>
4
ECCP1DEL
ECCP1/P1A
P1B
P1C
P1D



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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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