AT89LP51RD2 Atmel Corporation, AT89LP51RD2 Datasheet - Page 87

no-image

AT89LP51RD2

Manufacturer Part Number
AT89LP51RD2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89LP51RD2

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
42
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
7
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
2.25
Self Program Memory
API
Operating Voltage (vcc)
2.4 to 5.5
Timers
4
Isp
SPI/OCD/UART
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP51RD2-20AAU
Manufacturer:
INFINEON
Quantity:
450
Part Number:
AT89LP51RD2-20AAU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RD2-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP51RD2-20JU
Manufacturer:
Atmel
Quantity:
10 000
13.6.3
3714A–MICRO–7/11
Mode 2 – 8-bit Frequency Generator
Figure 13-7. Timer/Counter 1 PWM Mode 1
Timer n in PWM Mode 2 functions as an 8-bit Auto-Reload timer, the same as normal Mode 2,
with the exception that the output pin Tn is toggled at every TLn overflow (see
Figure 13-9 on page
used to output a square wave of varying frequency. THn acts as an 8-bit counter. The following
formula gives the output frequency for Timer n in PWM Mode 2.
Note:
Figure 13-8. Timer/Counter 1 PWM Mode 2
INT1 Pin
GATE1
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.
CLK
INT1 Pin
GATE1
TR1
SYS
Mode 2:
88). Timer 1 in PWM Mode 2 is identical to Timer 0. PWM Mode 2 can be
CLK
TR1
÷TPS
SYS
AT89LP51RD2/ED2/ID2 Preliminary
Control
f
÷TPS
out
=
Control
------------------------------------------
2
×
(
256 THn
f
(8 Bits)
(8 Bits)
SYS
RL1
TL1
(8 Bits)
(8 Bits)
TH1
TL1
)
×
-------------------- -
TPS
(8 Bits)
(8 Bits)
OCR1
RH1
TH1
1
+
1
=
Figure 13-8
T1
T1
and
87

Related parts for AT89LP51RD2