AT89LP3240 Atmel Corporation, AT89LP3240 Datasheet - Page 57
AT89LP3240
Manufacturer Part Number
AT89LP3240
Description
Manufacturer
Atmel Corporation
Datasheet
1.AT89LP3240.pdf
(200 pages)
Specifications of AT89LP3240
Flash (kbytes)
32 Kbytes
Max. Operating Frequency
20 MHz
Cpu
8051-1C
Max I/o Pins
38
Spi
1
Twi (i2c)
1
Uart
1
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
153.8
Sram (kbytes)
4.25
Eeprom (bytes)
8192
Self Program Memory
IAP
Operating Voltage (vcc)
2.4 to 3.6
Timers
3
Isp
SPI/OCD
Watchdog
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
- Current page: 57 of 200
- Download datasheet (7Mb)
11.5.1
11.5.2
11.5.3
3706C–MICRO–2/11
Mode 0 – 8-bit PWM with 8-bit Logarithmic Prescaler
Mode 1 – 8-bit PWM with 8-bit Linear Prescaler
Mode 2 – 8-bit Frequency Generator
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.
Timer 0 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 T0 is toggled at every TL0 overflow (see
Figure 11-9 on page
used to output a square wave of varying frequency. THx acts as an 8-bit counter. The following
formula gives the output frequency for Timer 0 in PWM Mode 2.
58). On TLx overflow, TLx is loaded with the value of RLx. THx acts as an 8-bit counter. On
INT1 Pin
GATE1
OSC
Mode 2:
TR1
58). Timer 1 in PWM Mode 2 is identical to Timer 0. PWM Mode 2 can be
Mode 0:
Mode 1:
÷TPS
f
out
Control
=
f
f
out
out
Oscillator Frequency
------------------------------------------------------ -
2
=
=
Duty Cycle %
Duty Cycle %
×
Oscillator Frequency
------------------------------------------------------ -
Oscillator Frequency
------------------------------------------------------ -
256
(
PSC1
256 TH0
256
×
–
×
(8 Bits)
(
TL1
256 RL0
2
PSC0
)
–
=
=
100
100
+
×
1
(8 Bits)
(8 Bits)
OCR1
-------------------- -
TPS
RH1
)
TH1
AT89LP3240/6440
×
×
×
×
1
RH0
----------- -
RH0
----------- -
256
256
+
-------------------- -
TPS
-------------------- -
TPS
=
1
1
1
+
+
1
1
Figure
Figure 11-8
Figure 11-7 on
11-6). The
T1
and
57
Related parts for AT89LP3240
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
8-Bit Microcontroller with 4K Bytes Flash
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: