Rainbow Electronics T89C51RD2 User Manual
Description, Features
Rev. F - 15 February, 2001
1
T89C51RD2
0 to 40MHz Flash Programmable 8-bit Microcontroller
1. Description
ATMEL Wireless and Microcontrollers T89C51RD2 is
high performance CMOS Flash version of the 80C51
CMOS single chip 8-bit microcontroller. It contains a
64 Kbytes Flash memory block for program and for data.
The 64 Kbytes Flash memory can be programmed either
in parallel mode or in serial mode with the ISP capability
or with software. The programming voltage is internally
generated from the standard V
CC
pin.
The T89C51RD2 retains all features of the ATMEL
Wireless and Microcontrollers 80C52 with 256 bytes of
internal RAM, a 7-source 4-level interrupt controller and
three timer/counters.
In addition, the T89C51RD2 has a Programmable
Counter Array, an XRAM of 1024 bytes, an EEPROM
of 2048 bytes, a Hardware Watchdog Timer, a more
versatile serial channel that facilitates multiprocessor
communication (EUART) and a speed improvement
mechanism (X2 mode). Pinout is either the standard 40/
44 pins of the C52 or an extended version with 6 ports
in a 64/68 pins package.
The fully static design of the T89C51RD2 allows to
reduce system power consumption by bringing the clock
frequency down to any value, even DC, without loss of
data.
The T89C51RD2 has 2 software-selectable modes of
reduced
activity
for
further
reduction
in
power
consumption. In the idle mode the CPU is frozen while
the peripherals and the interrupt system are still
operating. In the power-down mode the RAM is saved
and all other functions are inoperative.
The added features of the T89C51RD2 makes it more
powerful for applications that need
pulse width
modulation, high speed I/O and counting capabilities
such as alarms, motor control, corded phones, smart card
readers.
2. Features
•
80C52 Compatible
•
8051 pin and instruction compatible
•
Four 8-bit I/O ports (or 6 in 64/68 pins packages)
•
Three 16-bit timer/counters
•
256 bytes scratch pad RAM
•
7 Interrupt sources with 4 priority levels
•
ISP (In System Programming) using standard V
CC
power supply.
•
Boot
FLASH
contains
low
level
FLASH
programming routines and a default serial loader
•
High-Speed Architecture
•
40 MHz in standard mode
•
20 MHz in X2 mode (6 clocks/machine cycle)
•
64K bytes on-chip Flash program / data Memory
•
Byte and page (128 bytes) erase and write
•
10k write cycles
•
On-chip 1024 bytes expanded RAM (XRAM)
•
Software selectable size (0, 256, 512, 768, 1024
bytes)
•
768 bytes selected at reset for T87C51RD2
compatibility
•
Dual Data Pointer
•
Variable length MOVX for slow RAM/peripherals
•
Improved X2 mode with independant selection for
CPU and each peripheral
•
2 k bytes EEPROM block for data storage
•
100K Write cycle
•
Programmable Counter Array with:
•
High Speed Output,
•
Compare / Capture,
•
Pulse Width Modulator,
•
Watchdog Timer Capabilities
•
Asynchronous port reset
•
Full duplex Enhanced UART
•
Low EMI (inhibit ALE)
•
Hardware Watchdog Timer (One-time enabled with
Reset-Out)
•
Power control modes:
•
Idle Mode.
•
Power-down mode.
Document Outline
- 1. Description
- 2. Features
- 3. Block Diagram
- 4. SFR Mapping
- 5. Pin Configuration
- 6. Enhanced Features
- 6.1. X2 Feature and Clock Generation
- 6.2. Dual Data Pointer Register Ddptr
- 6.3. Expanded RAM (XRAM)
- 6.4. Timer 2
- 6.5. Programmable Counter Array PCA
- 6.6. Serial I/O Port
- 6.7. Interrupt System
- 6.8. Idle mode
- 6.9. Power-Down Mode
- 6.10. Hardware Watchdog Timer
- 6.11. ONCE(TM) Mode (ON Chip Emulation)
- 6.12. Reduced EMI Mode
- 7. EEPROM data memory
- 8. FLASH EEprom Memory
- 9. Electrical Characteristics
- 9.1. Absolute Maximum Ratings (1)
- 9.2. DC Parameters for Standard Voltage (1)
- 9.3. DC Parameters for Standard Voltage (2)
- 9.4. DC Parameters for Low Voltage
- 9.5. AC Parameters
- 9.5.1. Explanation of the AC Symbols
- 9.5.2. External Program Memory Characteristics
- 9.5.3. External Program Memory Read Cycle
- 9.5.4. External Data Memory Characteristics
- 9.5.5. External Data Memory Write Cycle
- 9.5.6. External Data Memory Read Cycle
- 9.5.7. Serial Port Timing - Shift Register Mode
- 9.5.8. Shift Register Timing Waveforms
- 9.5.9. FLASH EEPROM Programming and Verification Characteristics
- 9.5.10. FLASH EEPROM Programming and Verification Waveforms
- 9.5.11. External Clock Drive Characteristics (XTAL1)
- 9.5.12. External Clock Drive Waveforms
- 9.5.13. AC Testing Input/Output Waveforms
- 9.5.14. Float Waveforms
- 9.5.15. Clock Waveforms
- 10. Ordering Information