AT89C5132-ROTIL Atmel, AT89C5132-ROTIL Datasheet - Page 50

IC 8051 MCU FLASH 64K USB 80TQFP

AT89C5132-ROTIL

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

Specifications of AT89C5132-ROTIL

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
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT89C5132-ROTIL
Manufacturer:
Atmel
Quantity:
10 000
Figure 12-1. Timer 0 and Timer 1 Clock Controller and Symbols
12.3
12.3.1
Figure 12-2. Timer/Counter x (x = 0 or 1) in Mode 0
50
Timer 0
AT89C5132
Mode 0 (13-bit Timer)
CLOCK
INTx
CLOCK
CLOCK
TIMx
OSC
Tx
PER
TMOD Reg
Timer 0 Clock Symbol
GATEx
CLOCK
÷ 6
TIM0
÷
2
Timer 0 functions as either a Timer or event Counter in four modes of operation. Figure 12-2
through Figure 12-8 show the logical configuration of each mode.
Timer 0 is controlled by the four lower Bits of TMOD register (see Table 41) and Bits 0, 1, 4 and
5 of TCON register (see Table 40). TMOD register selects the method of Timer gating (GATE0),
Timer or Counter operation (C/T0#) and mode of operation (M10 and M00). TCON register pro-
vides Timer 0 control functions: overflow flag (TF0), run control bit (TR0), interrupt flag (IE0) and
interrupt type control bit (IT0).
For normal Timer operation (GATE0 = 0), setting TR0 allows TL0 to be incremented by the
selected input. Setting GATE0 and TR0 allows external pin INT0 to control Timer operation.
Timer 0 overflow (count rolls over from all 1s to all 0s) sets TF0 flag generating an interrupt
request.
It is important to stop Timer/Counter before changing mode.
Mode 0 configures Timer 0 as a 13-bit Timer which is set up as an 8-bit Timer (TH0 register) with
a modulo 32 prescaler implemented with the lower five Bits of TL0 register (see Figure 12-2).
The upper three Bits of TL0 register are indeterminate and should be ignored. Prescaler over-
flow increments TH0 register. Figure 12-3 gives the overflow period calculation formula.
Figure 12-3. Mode 0 Overflow Period Formula
TMOD Reg
C/Tx#
CKCON.1
TCON Reg
T0X2
0
1
0
1
TRx
Timer 0 Clock
TFx
PER
(5 Bits)
TLx
=
CLOCK
CLOCK
OSC
PER
6
(16384 – (THx, TLx))
Timer 1 Clock Symbol
F
(8 Bits)
TIMx
THx
CLOCK
TIM1
÷
2
Overflow
CKCON.2
T1X2
0
1
TCON Reg
TFx
Timer 1 Clock
Timer x
Interrupt
Request
4173E–USB–09/07

Related parts for AT89C5132-ROTIL