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

X  

DSPIC33FJ12MC02ESS 数据表(PDF) 149 Page - Microchip Technology

部件名 DSPIC33FJ12MC02ESS
功能描述  High-Performance, 16-Bit Digital Signal Controllers
PDF  284 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  MICROCHIP [Microchip Technology]
网页  http://www.microchip.com
标志 MICROCHIP - Microchip Technology

DSPIC33FJ12MC02ESS 数据表(HTML) 149 Page - Microchip Technology

Back Button DSPIC33FJ12MC02ESS Datasheet HTML 145Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 146Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 147Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 148Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 149Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 150Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 151Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 152Page - Microchip Technology DSPIC33FJ12MC02ESS Datasheet HTML 153Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 149 / 284 page
background image
© 2007 Microchip Technology Inc.
Preliminary
DS70265B-page 147
dsPIC33FJ12MC201/202
14.3.4
DOUBLE UPDATE MODE
In Double Update mode (PTMOD<1:0> = 11), an inter-
rupt event is generated each time the PXTMR register
is equal to zero, as well as each time a period match
occurs. The postscaler selection bits have no effect in
this mode of the timer.
Double Update mode provides two additional functions:
• The control loop bandwidth is doubled because
the PWM duty cycles can be updated twice per
period.
• Asymmetrical center-aligned PWM waveforms can
be generated, which can be useful for minimizing
output waveform distortion in certain motor control
applications.
14.3.5
PWM TIME BASE PRESCALER
The input clock to PXTMR (FOSC/4) has prescaler
options of 1:1, 1:4, 1:16 or 1:64, selected by control bits
PTCKPS<1:0> in the PXTCON SFR. The prescaler
counter is cleared when any of the following occur:
• A write to the PXTMR register
• A write to the PXTCON register
• Any device Reset
The PXTMR register is not cleared when PXTCON is
written.
14.3.6
PWM TIME BASE POSTSCALER
The match output of PXTMR can optionally be post-
scaled through a 4-bit postscaler (which gives a 1:1 to
1:16 scaling).
The postscaler counter is cleared when any of the
following occur:
• A write to the PXTMR register
• A write to the PXTCON register
• Any device Reset
The PXTMR register is not cleared when PXTCON is
written.
14.4
PWM Period
PXTPER is a 15-bit register used to set the counting
period for the PWM time base. PXTPER is a double-
buffered register. The PXTPER buffer contents are
loaded into the PXTPER register at the following instants:
• Free-Running and Single-Shot modes: When the
PXTMR register is reset to zero after a match with
the PxTPER register.
• Up/Down Count modes: When the PxTMR
register is zero.
The value held in the PxTPER buffer is automatically
loaded into the PxTPER register when the PWM time
base is disabled (PTEN = 0).
The
PWM
period
can
be
determined
using
Equation 14-1:
EQUATION 14-1:
PWM PERIOD
If the PWM time base is configured for one of the Up/
Down Count modes, the PWM period will be twice the
value provided by Equation 14-1.
The maximum resolution (in bits) for a given device
oscillator and PWM frequency can be determined using
Equation 14-2:
EQUATION 14-2:
PWM RESOLUTION
14.5
Edge-Aligned PWM
Edge-aligned PWM signals are produced by the module
when the PWM time base is in Free-Running or Single-
Shot mode. For edge-aligned PWM outputs, the output
has a period specified by the value in PxTPER and a
duty cycle specified by the appropriate Duty Cycle reg-
ister (see Figure 14-3). The PWM output is driven active
at the beginning of the period (PxTMR = 0) and is driven
inactive when the value in the Duty Cycle register
matches PxTMR.
If the value in a particular Duty Cycle register is zero,
the output on the corresponding PWM pin is inactive
for the entire PWM period. In addition, the output on
the PWM pin is active for the entire PWM period if the
value in the Duty Cycle register is greater than the
value held in the PxTPER register.
Note:
Programming a value of 0x0001 in the
PWM Period register could generate a
continuous interrupt pulse and must be
avoided.
TPWM = TCY • (PXTPER + 1) • (PXTMR Prescale Value)
Resolution =
log (2 • TPWM/TCY)
log (2)



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