AT89LP828 Atmel Corporation, AT89LP828 Datasheet - Page 48

no-image

AT89LP828

Manufacturer Part Number
AT89LP828
Description
Manufacturer
Atmel Corporation
Datasheet

Specifications of AT89LP828

Flash (kbytes)
8 Kbytes
Max. Operating Frequency
25 MHz
Cpu
8051-1C
Max I/o Pins
30
Spi
1
Uart
1
Sram (kbytes)
0.75
Eeprom (bytes)
1024
Self Program Memory
IAP
Operating Voltage (vcc)
2.4 to 5.5
Timers
3
Isp
SPI/OCD
Watchdog
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89LP828-20AU
Manufacturer:
Atmel
Quantity:
360
Part Number:
AT89LP828-20AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP828-20JU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89LP828-20MH
Manufacturer:
Atmel
Quantity:
720
Part Number:
AT89LP828-20PU
Manufacturer:
NXP
Quantity:
3 942
Part Number:
AT89LP828-JU
Manufacturer:
Atmel
Quantity:
10 000
11.5.1
11.5.2
48
AT89LP428/828
Mode 0 – 8-bit PWM with 8-bit Logarithmic Prescaler
Mode 1 – 8-bit PWM with 8-bit Linear Prescaler
In Mode 0, TLx acts as a logarithmic prescaler driving 8-bit counter THx (see
PSCx bits in TCONB control the prescaler value. On THx overflow, the duty cycle value in RHx
is transferred to OCRx and the output pin is set high. When the count in THx matches OCRx, the
output pin is cleared low. The following formulas give the output frequency and duty cycle for
Timer 0 in PWM mode 0. Timer 1 in PWM mode 0 is identical to Timer 0.
Figure 11-6. Timer/Counter 1 PWM Mode 0
In Mode 1, TLx provides linear prescaling with an 8-bit auto-reload from RLx (see
page
THx overflow, the duty cycle value in RHx is transferred to OCRx and the output pin is set high.
When the count in THx matches OCRx, the output pin is cleared low. The following formulas
give the output frequency and duty cycle for Timer 0 in PWM mode 1. Timer 1 in PWM mode 1 is
identical to Timer 0.
INT1 Pin
49). On TLx overflow, TLx is loaded with the value of RLx. THx acts as an 8-bit counter. On
GATE
OSC
TR1
Mode 0:
Mode 1:
÷TPS
Control
f
f
OUT
OUT
=
=
Duty Cycle %
Duty Cycle %
Oscillator Frequency
------------------------------------------------------ -
Oscillator Frequency
------------------------------------------------------ -
PSC1
256
256
×
(8 Bits)
×
(
TL1
256 RL0
2
PSC0
=
=
100
100
+
1
(8 Bits)
(8 Bits)
OCR1
)
RH1
TH1
×
×
×
RH0
----------- -
×
RH0
----------- -
256
256
-------------------- -
TPS
-------------------- -
TPS
=
1
1
+
+
1
1
Figure
3654A–MICRO–8/09
Figure 11-7 on
11-6). The
T1

Related parts for AT89LP828