AT89C51ID2 Atmel Corporation, AT89C51ID2 Datasheet - Page 40
AT89C51ID2
Manufacturer Part Number
AT89C51ID2
Description
Manufacturer
Atmel Corporation
Specifications of AT89C51ID2
Flash (kbytes)
64 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
32
Spi
1
Twi (i2c)
1
Uart
1
Sram (kbytes)
2
Eeprom (bytes)
2048
Self Program Memory
API
Operating Voltage (vcc)
2.7 to 5.5
Timers
4
Isp
UART
Watchdog
Yes
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT89C51ID2-IM
Manufacturer:
ATMEL
Quantity:
3 233
Company:
Part Number:
AT89C51ID2-RLTUM
Manufacturer:
ATMEL
Quantity:
13 937
Company:
Part Number:
AT89C51ID2-SLSIM
Manufacturer:
ATMEL
Quantity:
5 510
Company:
Part Number:
AT89C51ID2-SLSIM
Manufacturer:
TI
Quantity:
5 510
Company:
Part Number:
AT89C51ID2-SLSUM
Manufacturer:
BROADCOM
Quantity:
2 000
Programmable
Counter Array PCA
4289C–8051–11/05
The PCA provides more timing capabilities with less CPU intervention than the standard
timer/counters. Its advantages include reduced software overhead and improved accu-
racy. The PCA consists of a dedicated timer/counter which serves as the time base for
an array of five compare/capture modules. Its clock input can be programmed to count
any one of the following signals:
•
•
•
•
Each compare/capture modules can be programmed in any one of the following modes:
•
•
•
•
Module 4 can also be programmed as a watchdog timer (See Section "PCA Watchdog
Timer", page 51).
When the compare/capture modules are programmed in the capture mode, software
timer, or high speed output mode, an interrupt can be generated when the module exe-
cutes its function. All five modules plus the PCA timer overflow share one interrupt
vector.
The PCA timer/counter and compare/capture modules share Port 1 for external I/O.
These pins are listed below. If the port is not used for the PCA, it can still be used for
standard I/O.
The PCA timer is a common time base for all five modules (See Figure 14). The timer
count source is determined from the CPS1 and CPS0 bits in the CMOD register
(Table 27) and can be programmed to run at:
•
•
•
•
Peripheral clock frequency (F
Peripheral clock frequency (F
Timer 0 overflow
External input on ECI (P1.2)
Rising and/or falling edge capture
Software timer
High-speed output
Pulse width modulator
1/6 the
1/2 the
The Timer 0 overflow
The input on the ECI pin (P1.2)
peripheral clock frequency (F
peripheral clock frequency (F
PCA component
16-bit Module 0
16-bit Module 1
16-bit Module 2
16-bit Module 3
16-bit Counter
CLK PERIPH
CLK PERIPH
)
)
CLK PERIPH
CLK PERIPH
÷
÷
2
6
)
)
External I/O Pin
P1.3 / CEX0
P1.4 / CEX1
P1.5 / CEX2
P1.6 / CEX3
P1.2 / ECI
AT89C51ID2
40