Intel mcs-48 manual Pin Description

Models: mcs-48

1 478
Download 478 pages 26.88 Kb
Page 41
Image 41

SINGLE COMPONENT SYSTEM

POWER SUPPLY

 

1 """

 

 

PROCESSOR

1

~I--

 

 

INTERRUPTED

I.

I

 

POWER SUPPlY --- {

1

1

NORMAL

FAil SIGNAL

~ __ I____ POWERON

effectively disable internal program mem- ory by forcing all program memory fetches to reference external memory. The follow- ing chapter explains how access to external program memory is accomplished.

 

1

I 1

SEQUENCE

 

I

I

FOllOWS

RESET

i

U ____

I

I

DATA SAVE

ACCESS TO

ROUTINE

DATA RAM

EXECUTED

INHIBITED

POWER DOWN SEQUENCE

A typical power down sequence occurs as follows:

1.Imminent power supply failure is detected by user defined circuitry. Signal must be early enough to allow 8048 to save all nec- essary data before Vee falls below normal operating limits.

2.Power fail signal is used to interrupt processor and vector it to a power fail service routine.

3.Power fail routine saves all important data and machine status in the internal data RAM array. Routine may also initiate trans- fer of backup supply to the Voo pin and indicate to external circuitry that power fail routine is complete.

4.Reset is applied to guarantee data will not be altered as the power supply falls out of limits. Reset must be held low until Vee is at ground level.

The External Access mode is very useful in system test and debug because it allows the user to disable his internal applications pro- gram and substitute an external program of his choice-a diagnostic routine for instance. In addition, the section on Test and Debug explains how internal program memory can be read externally, independent of the processor.

A "1" level on EA initiates the external access mode. For proper operation, Reset should be applied while the EA input is changed.

2.2 Pin Description

The MCS-48 processors (except 8021) are packaged in 40 pin Dual In-Line Packages (DIP's).The following is a summary of the functions of each pin. Where it exists, the second paragraph describes each pin's function in an expanded MCS-48 system. Unless otherwise specified, each input is TTL compatible and each output will drive one standard TTL load.

XTAL{

8

PORT

#1.

 

 

RESET

Recovery from the Power Down mode can occur as any other power-on sequence with an external capacitor on the Reset input providing the necessary delay. See the previ- ous section on Reset.

2.1.15 External Access Mode

Normally the first 1K (8048) or 2K (8049) words of program memory are automati- cally fetched from internal ROM or EPROM. The EA input pin however allows the userto

SINGLE STEP

8

PORT

. #2

 

 

 

EXTERNAL

 

 

 

MEM.

 

 

 

TEST {

READ

 

 

WRITE

 

 

 

 

INTERRUPT

PROGRAM

STORE ENABLE

 

 

 

 

ADDRESS

BUS

8

LATCH eNABLE

 

 

8048 LOGIC SYMBOL

2-14

Page 41
Image 41
Intel mcs-48 manual Pin Description