Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AT89LP51RB2 Datasheet(PDF) 103 Page - ATMEL Corporation

Part # AT89LP51RB2
Description  8-bit Microcontroller Compatible with 8051 Products
PDF  254 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT89LP51RB2 Datasheet(HTML) 103 Page - ATMEL Corporation

Back Button AT89LP51RB2 Datasheet HTML 99Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 100Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 101Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 102Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 103Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 104Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 105Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 106Page - ATMEL Corporation AT89LP51RB2 Datasheet HTML 107Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 103 / 254 page
background image
103
3722A–MICRO–10/11
AT89LP51RB2/RC2/IC2 Preliminary
15.6
Pulse Width Modulator Mode
All of the PCA modules can be used as PWM outputs. Figure 15-7 shows the PWM function.
The frequency of the output depends on the source for the PCA timer. All of the modules will
have the same frequency of output because they all share the PCA timer. The duty cycle of each
module is independently variable using the modules capture register CCAPnL. When the value
of the PCA CL SFR is less than the value in the modules CCAPnL SFR the output will be low,
when it is equal to or greater than the output will be high. When CL overflows from FFH to 00H,
CCAPnL is reloaded with the value in CCAPnH. This allows updating the PWM without glitches.
The PWM and ECOM bits in the module's CCAPMn register must be set to enable the PWM
mode. The following equations show the resulting frequency and duty cycles of the generated
output:
Figure 15-7. PCA PWM Mode
An example PCA PWM waveform is shown in Figure 15-8.
Figure 15-8. PCA PWM Waveform
CPS
00B:
=
f
out
fSYS
256
-----------
1
TPS
1
+
---------------------
×
=
Duty Cycle %
100
256
CCAPnL
–
256
---------------------------------------
×
=
CL
CCAPnH
CCAPnL
>
ECOMn
PWMn
CCAPMn.1
Module n
CEXn
+
–
ECOMn
CCAPMn.6
CL = FFH
PWMn = 1, ECOMn = 1
CCAPnH
CEXn
CL = 00H



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