Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

PIC24F32KA302-I/ML Datasheet(PDF) 154 Page - Microchip Technology

Part # PIC24F32KA302-I/ML
Description  20/28/44/48-Pin, General Purpose, 16-Bit Flash Microcontrollers with XLP Technology
PDF  364 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC24F32KA302-I/ML Datasheet(HTML) 154 Page - Microchip Technology

Back Button PIC24F32KA302-I/ML Datasheet HTML 150Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 151Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 152Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 153Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 154Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 155Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 156Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 157Page - Microchip Technology PIC24F32KA302-I/ML Datasheet HTML 158Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 154 / 364 page
background image
PIC24FV32KA304 FAMILY
DS39995D-page 154
 2011-2013 Microchip Technology Inc.
15.3
Pulse-Width Modulation (PWM)
Mode
In PWM mode, the output compare module can be
configured for edge-aligned or center-aligned pulse
waveform generation. All PWM operations are
double-buffered (buffer registers are internal to the
module and are not mapped into SFR space).
To configure the output compare module for
edge-aligned PWM operation:
1.
Calculate the desired ON time and load it into
the OCxR register.
2.
Calculate the desired period and load it into the
OCxRS register.
3.
Select the current OCx as the synchronization
source by writing 0x1F to SYNCSEL<4:0>
(OCxCON2<4:0>)
and
‘0’
to
OCTRIG
(OCxCON2<7>).
4.
Select
a
clock
source
by
writing
the
OCTSEL2<2:0> (OCxCON<12:10>) bits.
5.
Enable interrupts, if required, for the timer and
output compare modules. The output compare
interrupt is required for PWM Fault pin utilization.
6.
Select the desired PWM mode in the OCM<2:0>
(OCxCON1<2:0>) bits.
7.
If a timer is selected as a clock source, set the
TMRy prescale value and enable the time base by
setting the TON (TxCON<15>) bit.
FIGURE 15-2:
OUTPUT COMPARE x BLOCK DIAGRAM (DOUBLE-BUFFERED,
16-BIT PWM MODE)
OCxR and DCB<1:0> Buffers
Comparator
OCxTMR
OCxCON1
OCxCON2
OC Output Timing
OCx Interrupt
OCx Pin
OCxRS Buffer
Comparator
and Fault Logic
Match
Match
Trigger and
Sync Logic
Clock
Select
Increment
Reset
OC Clock
Sources
Trigger and
Sync Sources
Reset
Match Event
OCFA/OCFB/CxOUT
OCTSELx
SYNCSELx
TRIGSTAT
TRIGMODE
OCTRIG
OCMx
OCINV
OCTRIS
FLTOUT
FLTTRIEN
FLTMD
ENFLTx
OCFLTx
OCxR and DCB<1:0>
OCxRS
Event
Event
Rollover
Rollover/Reset
Rollover/Reset
DCB<1:0>



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