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

X  

PIC16F1526 Datasheet(PDF) 192 Page - Microchip Technology

Part # PIC16F1526
Description  64-Pin Flash Microcontrollers with nanoWatt XLP Technology
PDF  354 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC16F1526 Datasheet(HTML) 192 Page - Microchip Technology

Back Button PIC16F1526 Datasheet HTML 188Page - Microchip Technology PIC16F1526 Datasheet HTML 189Page - Microchip Technology PIC16F1526 Datasheet HTML 190Page - Microchip Technology PIC16F1526 Datasheet HTML 191Page - Microchip Technology PIC16F1526 Datasheet HTML 192Page - Microchip Technology PIC16F1526 Datasheet HTML 193Page - Microchip Technology PIC16F1526 Datasheet HTML 194Page - Microchip Technology PIC16F1526 Datasheet HTML 195Page - Microchip Technology PIC16F1526 Datasheet HTML 196Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 192 / 354 page
background image
PIC16(L)F1526/27
DS41458A-page 192
Preliminary
 2011 Microchip Technology Inc.
20.3
PWM Overview
Pulse-Width Modulation (PWM) is a scheme that
provides power to a load by switching quickly between
fully on and fully off states. The PWM signal resembles
a square wave where the high portion of the signal is
considered the on state and the low portion of the signal
is considered the off state. The high portion, also known
as the pulse width, can vary in time and is defined in
steps. A larger number of steps applied, which
lengthens the pulse width, also supplies more power to
the load. Lowering the number of steps applied, which
shortens the pulse width, supplies less power. The
PWM period is defined as the duration of one complete
cycle or the total amount of on and off time combined.
PWM resolution defines the maximum number of steps
that can be present in a single PWM period. A higher
resolution allows for more precise control of the pulse
width time and in turn the power that is applied to the
load.
The term duty cycle describes the proportion of the on
time to the off time and is expressed in percentages,
where 0% is fully off and 100% is fully on. A lower duty
cycle corresponds to less power applied and a higher
duty cycle corresponds to more power applied.
Figure 20-3 shows a typical waveform of the PWM
signal.
20.3.1
STANDARD PWM OPERATION
The standard PWM function described in this section is
available and identical for CCP modules.
The standard PWM mode generates a Pulse-Width
modulation (PWM) signal on the CCPx pin with up to 10
bits of resolution. The period, duty cycle, and resolution
are controlled by the following registers:
•PRx registers
•TxCON registers
• CCPRxL registers
• CCPxCON registers
Figure 20-4 shows a simplified block diagram of PWM
operation.
FIGURE 20-3:
CCP PWM OUTPUT SIGNAL
FIGURE 20-4:
SIMPLIFIED PWM BLOCK
DIAGRAM
Note 1:
The corresponding TRIS bit must be
cleared to enable the PWM output on the
CCPx pin.
2:
Clearing the CCPxCON register will
relinquish control of the CCPx pin.
TABLE 20-6:
CCPx PWM TIMER2/4/6/8/10
RESOURCES
CCP
TMR2
TMR4
TMR6
TMR8
TMR10
CCP1
●●●
CCP2
●●●
CCP3
●●●
CCP4
●●●
CCP5
●●
●
CCP6
●●
●
CCP7
●●
●
CCP8
●●
●
CCP9
●●
●
CCP10
●●
●
Period
Pulse Width
TMRx = 0
TMRx = CCPRxH:CCPxCON<5:4>
TMRx = PRx
CCPRxL
CCPRxH(2) (Slave)
Comparator
TMRx
PRx
(1)
RQ
S
Duty Cycle Registers
CCPxCON<5:4>
Clear Timer,
toggle CCPx pin and
latch duty cycle
Note
1:
The 8-bit timer TMRx register is concatenated
with the 2-bit internal system clock (FOSC), or
2 bits of the prescaler, to create the 10-bit time
base.
2:
In PWM mode, CCPRxH is a read-only register.
TRIS
CCPx
Comparator



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