AT89C51RD2 Atmel Corporation, AT89C51RD2 Datasheet - Page 80

no-image

AT89C51RD2

Manufacturer Part Number
AT89C51RD2
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of AT89C51RD2

Flash (kbytes)
64 Kbytes
Max. Operating Frequency
60 MHz
Cpu
8051-12C
Max I/o Pins
32
Spi
1
Uart
1
Sram (kbytes)
2
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
Part Number:
AT89C51RD2
Manufacturer:
AT
Quantity:
3
Part Number:
AT89C51RD2-3CSIM
Manufacturer:
ATMEL
Quantity:
1 080
Part Number:
AT89C51RD2-CM
Manufacturer:
IR
Quantity:
11
Part Number:
AT89C51RD2-CM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT89C51RD2-IM
Manufacturer:
AT
Quantity:
5
Part Number:
AT89C51RD2-IM
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
AT89C51RD2-IM
Quantity:
2 100
Part Number:
AT89C51RD2-RDTUM
Manufacturer:
MICRON
Quantity:
1 000
Part Number:
AT89C51RD2-RLRIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RD2-RLRUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RD2-RLTIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RD2-RLTUM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
AT89C51RD2-RLTUM
Manufacturer:
ATMEL
Quantity:
90
Company:
Part Number:
AT89C51RD2-RLTUM
Quantity:
4
18. Power Management
18.1
18.2
18.2.1
18.2.2
80
Introduction
Idle Mode
AT89C51RD2/ED2
Entering Idle Mode
Exiting Idle Mode
Two power reduction modes are implemented in the AT89C51RD2/ED2. The Idle mode and the
Power-Down mode. These modes are detailed in the following sections. In addition to these
power reduction modes, the clocks of the core and peripherals can be dynamically divided by 2
using the X2 mode detailed in Section “Enhanced Features”, page 17.
Idle mode is a power reduction mode that reduces the power consumption. In this mode, pro-
gram execution halts. Idle mode freezes the clock to the CPU at known states while the
peripherals continue to be clocked. The CPU status before entering Idle mode is preserved, i.e.,
the program counter and program status word register retain their data for the duration of Idle
mode. The contents of the
Idle mode is detailed in Table 18-1.
To enter Idle mode, set the IDL bit in PCON register (see Table 18-2). The AT89C51RD2/ED2
enters Idle mode upon execution of the instruction that sets IDL bit. The instruction that sets IDL
bit is the last instruction executed.
Note:
There are two ways to exit Idle mode:
Note:
1. Generate an enabled interrupt.
2. Generate a reset.
– Hardware clears IDL bit in PCON register which restores the clock to the CPU.
– A logic high on the RST pin clears IDL bit in PCON register directly and
Execution resumes with the interrupt service routine. Upon completion of the
interrupt service routine, program execution resumes with the instruction
immediately following the instruction that activated Idle mode. The general purpose
flags (GF1 and GF0 in PCON register) may be used to indicate whether an interrupt
occurred during normal operation or during Idle mode. When Idle mode is exited by
an interrupt, the interrupt service routine may examine GF1 and GF0.
asynchronously. This restores the clock to the CPU. Program execution momentarily
resumes with the instruction immediately following the instruction that activated the
Idle mode and may continue for a number of clock cycles before the internal reset
algorithm takes control. Reset initializes the AT89C51RD2/ED2 and vectors the CPU
to address C:0000h.
If IDL bit and PD bit are set simultaneously, the AT89C51RD2/ED2 enters Power-Down mode.
Then it does not go in Idle mode when exiting Power-Down mode.
During the time that execution resumes, the internal RAM cannot be accessed; however, it is pos-
sible for the Port pins to be accessed. To avoid unexpected outputs at the Port pins, the instruction
immediately following the instruction that activated Idle mode should not write to a Port pin or to
the external RAM.
SFRs
and RAM are also retained. The status of the Port pins during
4235K–8051–05/08

Related parts for AT89C51RD2