AT89C5132-ROTUL Atmel, AT89C5132-ROTUL Datasheet - Page 52

IC 8051 MCU FLASH 64K USB 80TQFP

AT89C5132-ROTUL

Manufacturer Part Number
AT89C5132-ROTUL
Description
IC 8051 MCU FLASH 64K USB 80TQFP
Manufacturer
Atmel
Series
AT89C513xr
Datasheets

Specifications of AT89C5132-ROTUL

Core Processor
C52X2
Core Size
8-Bit
Speed
20MHz
Connectivity
IDE/ATAPI, I²C, MMC, PCM, SPI, UART/USART, USB
Peripherals
I²S, POR, WDT
Number Of I /o
44
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Eeprom Size
4K x 8
Ram Size
2.25K x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.3 V
Data Converters
A/D 2x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
80-TQFP, 80-VQFP
Cpu Family
89C
Device Core
8051
Device Core Size
8b
Frequency (max)
40MHz
Interface Type
IDE/SPI/UART/USB
Total Internal Ram Size
2.25KB
# I/os (max)
44
Number Of Timers - General Purpose
2
Operating Supply Voltage (typ)
3V
Operating Supply Voltage (max)
3.3V
Operating Supply Voltage (min)
2.7V
On-chip Adc
2-chx10-bit
Instruction Set Architecture
CISC
Operating Temp Range
-40C to 85C
Operating Temperature Classification
Industrial
Mounting
Surface Mount
Pin Count
80
Package Type
TQFP
Package
80TQFP
Family Name
89C
Maximum Speed
40 MHz
Operating Supply Voltage
3 V
Data Bus Width
8 Bit
Number Of Programmable I/os
44
Number Of Timers
2
Maximum Clock Frequency
20 MHz
Data Ram Size
2304 B
Mounting Style
SMD/SMT
A/d Bit Size
10 bit
A/d Channels Available
2
Height
1.45 mm
Length
14.1 mm
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Supply Voltage (max)
3.3 V
Supply Voltage (min)
2.7 V
Width
14.1 mm
For Use With
AT89OCD-01 - USB EMULATOR FOR AT8XC51 MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C5132-ROTUL
Manufacturer:
Atmel
Quantity:
10 000
Figure 12-8. Timer/Counter 0 in Mode 3: Two 8-bit Counters
Figure 12-9. Mode 3 Overflow Period Formula
12.4
52
Timer 1
AT89C5132
INT0
CLOCK
CLOCK
TIM0
TIM0
T0
GATE0
TMOD.3
÷ 6
÷ 6
Counter. TL0 uses the Timer 0 control Bits C/T0# and GATE0 in TMOD register, and TR0 and
TF0 in TCON register in the normal manner. TH0 is locked into a Timer function (counting
F
ation of Timer 1 is restricted when Timer 0 is in mode 3. Figure 12-7 gives the autoreload period
calculation formulas for both TF0 and TF1 flags.
Timer 1 is identical to Timer 0 excepted for Mode 3 which is a hold-count mode. Following com-
ments help to understand the differences:
TF1
Timer 1 functions as either a Timer or event Counter in three modes of operation. Figure 12-
2 through Figure 12-6 show the logical configuration for modes 0, 1, and 2. Timer 1’s mode
3 is a hold-count mode.
Timer 1 is controlled by the four high-order Bits of TMOD register (see
3, 6 and 7 of TCON register (see Figure 40). TMOD register selects the method of Timer
gating (GATE1), Timer or Counter operation (C/T1#) and mode of operation (M11 and M01).
TCON register provides Timer 1 control functions: overflow flag (TF1), run control bit (TR1),
interrupt flag (IE1) and interrupt type control bit (IT1).
Timer 1 can serve as the Baud Rate Generator for the Serial Port. Mode 2 is best suited for
this purpose.
For normal Timer operation (GATE1 = 0), setting TR1 allows TL1 to be incremented by the
selected input. Setting GATE1 and TR1 allows external pin INT1 to control Timer operation.
Timer 1 overflow (count rolls over from all 1s to all 0s) sets the TF1 flag generating an
interrupt request.
When Timer 0 is in mode 3, it uses Timer 1’s overflow flag (TF1) and run control bit (TR1).
For this situation, use Timer 1 only for applications that do not require an interrupt (such as a
Baud Rate Generator for the Serial Port) and switch Timer 1 in and out of mode 3 to turn it
off and on.
It is important to stop the Timer/Counter before changing modes.
/6) and takes over use of the Timer 1 interrupt (TF1) and run control (TR1) Bits. Thus, oper-
TMOD.2
C/T0#
TF0
0
1
PER
TCON.4
TR0
=
6
(256 – TL0)
TCON.6
F
TR1
TIM0
(8 Bits)
(8 Bits)
TH0
TL0
TF1
PER
=
6
Overflow
Overflow
(256 – TH0)
F
TIM0
TCON.5
TCON.7
TF0
TF1
Table
Timer 0
Interrupt
Request
Timer 1
Interrupt
Request
41) and Bits 2,
4173E–USB–09/07

Related parts for AT89C5132-ROTUL