T89C5115 ATMEL Corporation, T89C5115 Datasheet - Page 17

no-image

T89C5115

Manufacturer Part Number
T89C5115
Description
Low Pin Count 8-bit MCU with A/D Converter and 16-Kbytes of Flash Memory
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
T89C5115-RATIM
Manufacturer:
TI
Quantity:
1 474
Part Number:
T89C5115-RATIM
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
T89C5115-SISIM
Manufacturer:
Atmel
Quantity:
10 000
Power Management
Introduction
Reset
Reset Recommendation
to Prevent Flash
Corruption
4128A–8051–04/02
Two power reduction modes are implemented in the T89C5115: 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 “Clock”.
A reset is required after applying power at turn-on. To achieve a valid reset, the reset
signal must be maintained for at least 2 machine cycles (24 oscillator clock periods)
while the oscillator is running and stabilized and VCC established within the specified
operating ranges. A device reset initializes the T89C5115 and vectors the CPU to
address 0000h. RST input has a pull-down resistor allowing power-on reset by simply
connecting an external capacitor to V
characteristics are discussed in the Section “DC Characteristics” of the T89C5115
datasheet. The status of the Port pins during reset is detailed in Table 13.
Figure 5. Reset Circuitry and Power-On Reset
Table 13. Pin Conditions in Special Operating Modes
A bad reset sequence will lead to bad microcontroller initialization and system registers
like SFR’s, Program Counter, etc. will not be correctly initialized. A bad initialization may
lead to unpredictable behaviour of the C51 microcontroller.
An example of this situation may occur in an instance where the bit ENBOOT in AUXR1
register is initialized from the hardware bit BLJB upon reset. Since this bit allows map-
ping of the bootloader in the code area, a reset failure can be critical.
If one wants the ENBOOT cleared inorder to unmap the boot from the code area (yet
due to a bad reset) the bit ENBOOT in SFR’s may be set. If the value of Program
Counter is accidently in the range of the boot memory addresses then a flash access
(write or erase) may corrupt the Flash on-chip memory .
It is recommended to use an external reset circuitry featuring power supply monitoring to
prevent system malfunction during periods of insufficient power supply voltage(power
supply failure, power supply switched off).
Mode
Reset
Idle
Power-down
RST
a. RST input circuitry
VSS
Port 1
High
Data
Data
DD
To CPU core
and peripherals
as shown in Figure 5. Resistor value and input
Port 2
High
Data
Data
Port 3
Data
Data
High
b. Power-on Reset
T89C5115
VDD
+
Port 4
RST
High
Data
Data
17

Related parts for T89C5115