AT89LP214-20XU Atmel, AT89LP214-20XU Datasheet - Page 31

MCU 8051 2K FLASH 20MHZ 14-TSSOP

AT89LP214-20XU

Manufacturer Part Number
AT89LP214-20XU
Description
MCU 8051 2K FLASH 20MHZ 14-TSSOP
Manufacturer
Atmel
Series
89LPr
Datasheet

Specifications of AT89LP214-20XU

Core Processor
8051
Core Size
8-Bit
Speed
20MHz
Connectivity
SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
12
Program Memory Size
2KB (2K x 8)
Program Memory Type
FLASH
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2.4 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
14-TSSOP
Package
14TSSOP
Device Core
8051
Family Name
AT89
Maximum Speed
20 MHz
Operating Supply Voltage
2.5|3.3|5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
12
Interface Type
SPI/UART
Number Of Timers
2
Core
8051
Processor Series
AT89x
Maximum Clock Frequency
20 MHz
Data Ram Size
128 B
Mounting Style
SMD/SMT
Height
1.05 mm
Length
5.1 mm
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2.4 V
Width
4.5 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
 Details
14.4
.
Table 14-1.
3538E–MICRO–11/10
Symbol
TF1
TR1
TF0
TR0
IE1
IT1
IE0
IT0
TCON = 88H
Bit Addressable
Bit
Mode 3 – 8-bit Split Timer
Function
Timer 1 overflow flag. Set by hardware on Timer/Counter overflow. Cleared by hardware when the processor vectors
to interrupt routine.
Timer 1 run control bit. Set/cleared by software to turn Timer/Counter on/off.
Timer 0 overflow flag. Set by hardware on Timer/Counter overflow. Cleared by hardware when the processor vectors
to interrupt routine.
Timer 0 run control bit. Set/cleared by software to turn Timer/Counter on/off.
Interrupt 1 edge flag. Set by hardware when external interrupt edge detected. Cleared when interrupt processed.
Interrupt 1 type control bit. Set/cleared by software to specify falling edge/low level triggered external interrupts.
Interrupt 0 edge flag. Set by hardware when external interrupt edge detected. Cleared when interrupt processed.
Interrupt 0 type control bit. Set/cleared by software to specify falling edge/low level triggered external interrupts.
TCON
TF1
7
– Timer/Counter Control Register
Timer 1 in Mode 3 simply holds its count. The effect is the same as setting TR1 = 0. Timer 0 in
Mode 3 establishes TL0 and TH0 as two separate counters. The logic for Mode 3 on Timer 0 is
shown in
locked into a timer function (counting machine cycles) and takes over the use of TR1 and TF1
from Timer 1. Thus, TH0 now controls the Timer 1 interrupt. While Timer 0 is in Mode 3, Timer 1
will still obey its settings in TMOD but cannot generate an interrupt.
Mode 3 is for applications requiring an extra 8-bit timer or counter. With Timer 0 in Mode 3, the
AT89LP213/214 can appear to have three Timer/Counters. When Timer 0 is in 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.
Figure 14-4. Timer/Counter 0 Mode 3: Two 8-bit Counters
Note:
TR1
6
RH0/RL0 are not required by Timer 0 during Mode 3 and may be used as temporary storage
registers.
Figure
14-4. TL0 uses the Timer 0 control bits: C/T, GATE, TR0, INT0, and TF0. TH0 is
TF0
5
INT0 Pin
GATE
T0 Pin
÷TPS
÷TPS
TR0
4
C/T = 0
C/T =1
IE1
3
Control
Control
(8 Bits)
(8 Bits)
IT1
2
Reset Value = 0000 0000B
AT89LP213/214
IE0
1
Interrupt
Interrupt
IT0
0
31

Related parts for AT89LP214-20XU