AT89LP51ED2-20AU Atmel, AT89LP51ED2-20AU Datasheet - Page 105

no-image

AT89LP51ED2-20AU

Manufacturer Part Number
AT89LP51ED2-20AU
Description
8-bit Microcontrollers - MCU 64KB 20MHz 2.4V-5.5V
Manufacturer
Atmel
Datasheet

Specifications of AT89LP51ED2-20AU

Rohs
yes
Core
8051
Processor Series
AT89x
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
64 KB
Data Ram Size
256 B
On-chip Adc
Yes
Operating Supply Voltage
2.4 V to 5.5 V
Operating Temperature Range
- 40 C to + 85 C
Package / Case
TQFP-44
Mounting Style
SMD/SMT
Data Rom Size
4 KB
Interface Type
2-Wire, SPI, UART
Number Of Programmable I/os
36
Number Of Timers
3
Program Memory Type
Flash
Factory Pack Quantity
160

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51ED2-20AU
Manufacturer:
Atmel
Quantity:
10 000
15.6
3714A–MICRO–7/11
Pulse Width Modulator Mode
All of the PCA modules can be used as PWM outputs.
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. PCA PWM Waveform
CL = FFH
CL = 00H
CCAPnH
CEXn
CCAPnH
CCAPnL
CPS
CL
AT89LP51RD2/ED2/ID2 Preliminary
Duty Cycle %
=
CCAPMn.6
ECOMn
ECOMn
00B:
+
>
=
CCAPMn.1
PWMn
100
f
Figure
out
PWMn = 1, ECOMn = 1
×
=
256 CCAPnL
-------------------------------------- -
f
---------- -
256
15-8.
SYS
Module n
Figure 15-7
×
256
-------------------- -
TPS
1
+
1
shows the PWM function.
CEXn
105

Related parts for AT89LP51ED2-20AU