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

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
.
Table 14-3.
14.5
3538E–MICRO–11/10
Symbol
PWM1EN
PWM0EN
PSC12
PSC11
PSC10
PSC02
PSC01
PSC00
TCONB = 91H
Not Bit Addressable
Bit
Pulse Width Modulation
Function
Configures Timer 1 for Pulse Width Modulation output on T1 (P3.5).
Configures Timer 0 for Pulse Width Modulation output on T0 (P3.4).
Prescaler for Timer 1 Mode 0. The number of active bits in TL1 equals PSC1 + 1. After reset PSC1 = 100B which
enables 5 bits of TL1 for compatibility with the 13-bit Mode 0 in AT89S2051.
Prescaler for Timer 0 Mode 0. The number of active bits in TL0 equals PSC0 + 1. After reset PSC0 = 100B which
enables 5 bits of TL0 for compatibility with the 13-bit Mode 0 in AT89C52.
PWM1EN
TCONB
7
– Timer/Counter Control Register B
On the AT89LP213, Timer 0 and Timer 1 may be independently configured as 8-bit asymmetri-
cal (edge-aligned) pulse width modulators (PWM) by setting the PWM0EN or PWM1EN bits in
TCONB, respectively. In PWM Mode the generated waveform is output on the timer's input pin,
T0 or T1. Therefore, C/T must be set to “0” when in PWM mode. and the T0 (P3.4) and T1 (P3.5)
must be configured in an output mode. The Timer Overflow Flags and Interrupts will continue to
function while in PWM Mode and Timer 1 may still generate the baud rate for the UART. Each
PWM channel has four modes selected by the mode bits in TMOD.
An example waveform for Timer 0 in PWM Mode 0 is shown in
counter while RH0 stores the 8-bit compare value. When TH0 is 00H the PWM output is
set high. When the TH0 count reaches the value stored in RH0 the PWM output is set low.
Therefore, the pulse width is proportional to the value in RH0. To prevent glitches, writes to
RH0 only take effect on the FFH to 00H overflow of TH0. Setting RH0 to 00H will keep the PWM
output low.
Figure 14-5. Asymmetrical Pulse Width Modulation
PWM0EN
6
THx
FFh
Tx
PSC12
5
PSC11
4
PSC10
3
PSC02
2
Figure
Reset Value = 0010 0100B
AT89LP213/214
PSC01
1
14-5. TH0 acts as an 8-bit
PSC00
0
33

Related parts for AT89LP214-20XU