Docsity

Memory Interfacing - Electrical Engineering - Lecture Slides, Slides of Electrical Engineering

Partial preview of the text

Download Memory Interfacing - Electrical Engineering - Lecture Slides and more Slides Electrical Engineering in PDF only on Docsity!

Memory

and

Interfacing

Index

-^ What

is^ an

Interface

-^ Pins

of^8085

used

in^ Interfacing

-^ Memory

  • Microprocessor

Interface

•^ I/O

  • Microprocessor

Interface

-^ Basic

RAM

Cells

-^ Stack

Memory.

Example

Block

Diagram

Memory

Address

Lines Data

Lines Control

Lines Interface

Interfacing

Pins

Higher

Address

Bus

Lower

Address/Data

Bus

ALE

MIO/ RD WR^ READY

A^15

– A

8 AD^7

– AD

Higher

Order

Address

Bus

-^ The

higher

order

address

bus

is^ a

unidirectinal

bus. • It^ carries

most

significant

8 ‐bits

of^ a

bit

address

of^ memory

or^ I/O

device.

-^ Address

remains

on^

lines

as^ long

operation

is

not

completed.

Lower

Order

Address/Data

Bus

-^ This

bus

is^ bidirectional

and

works

on^

time

division

multiplexing

between

address

and

data. • During

first

clock

cycle,

it^ serves

as^ a

least

significant

8 ‐bits

of^ memory/

IO^

address.

-^ For

second

and

third

clock

cycles

it^ acts

as

data

bus

and

carries

data.

Need

for

Demultiplexing…

8085

Memory

20H 05H

2005H

RD

A^15

– A^

8 AD^7

– AD

0

4FH

Generating

Control

Signals

MIO/

Memory

Read

Memory

Write

IO^

Read IO^

Write

RD=0WR=

=^

1 1 1 0 0 1 0 0

Generating

Control

Signals

MIO/

Memory

Read

Memory

Write

IO^

Read IO^

Write

RD=1WR=

=^

1 0 1 1 0 0 0 1

Generating

Control

Signals

MIO/

Memory

Read

Memory

Write

IO^

Read IO^

Write

RD=1WR=

=^

0 0 0 1 1 0 1 1

Memory

Interface

-^ The

memory

is^ made

up^

of^ semiconductor

material

used

to^ store

the

programs

and

data.

The

types

of^ memory

is,

-^ Primary

or^ main

memory

-^ Secondary

memory

Secondary

Memory

-^ These

are

used

for

bulk

storage

of^

data

and

information.

-^ The

main

examples

include

Floppy,

Hard

Disk,

CD

‐ROM,

Magnetic

Tape

etc.

-^ Slower

and

Sequential

Access

Nature.

-^ non

‐volatile

nature.

Memory

Chip

Memory2n^ words ‘k’^ bits

per ‘k’^ data^ word

input

lines

‘k’^ data

output

lines

‘n’^ address

lines readwrite

Chip

select