AT89LP51ED2-20MU Atmel, AT89LP51ED2-20MU Datasheet - Page 88

no-image

AT89LP51ED2-20MU

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

Specifications of AT89LP51ED2-20MU

Rohs
yes
Core
8051
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
VQFN-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
Processor Series
AT89x
Program Memory Type
Flash
Factory Pack Quantity
360
13.6.4
88
AT89LP51RD2/ED2/ID2 Preliminary
Mode 3 – Split 8-bit PWM
Figure 13-9. PWM Mode 2 Waveform
Timer 1 in PWM Mode 3 simply holds its count. The effect is the same as setting TR1 = 0.
Timer 0 in PWM Mode 3 establishes TL0 and TH0 as two separate PWM counters in a manner
similar to normal Mode 3. PWM Mode 3 on Timer 0 is shown in
Prescaler is available to change the output frequency during PWM Mode 3. TL0 can use the
Timer 0 control bits: GATE, TR0, INT0, PWM0EN and TF0. TH0 is locked into a timer function
and uses TR1, PWM1EN and TF1. RL0 provides the duty cycle for TL0 and RH0 provides the
duty cycle for TH0.
PWM Mode 3 is for applications requiring a single PWM channel and two timers, or two PWM
c h a n n e l s a n d a n e x t r a t i m e r o r c o u n t e r . W i t h T i m e r 0 i n P W M M o d e 3 , t h e
AT89LP51RD2/ED2/ID2 can appear to have four Timer/Counters. When Timer 0 is in PWM
Mode 3, Timer 1 can be turned on and off by switching it out of and into its own Mode 3. In this
case, Timer 1 can still be used by the serial port as a baud rate generator or in any application
not requiring an interrupt. The following formulas give the output frequency and duty cycle for
Timer 0 in PWM Mode 3.
Note:
In Fast Mode, TPS applies only when the TnX2 bits in CKCON0 are set. TPS always
applies in Compatibility Mode, therefore setting TnX2 in Compatibility Mode will halve
the output frequency.
THx
FFh
Tx
Mode 3, T1:
Mode 3, T0:
Mode 3:
Duty Cycle %
Duty Cycle %
f
out
=
f
---------- -
256
SYS
=
=
×
100
100
-------------------- -
TPS
×
1
×
+
RH0
----------- -
RL0
---------- -
256
256
1
Figure
13-10. Only the Timer
3714A–MICRO–7/11

Related parts for AT89LP51ED2-20MU