SlideShare a Scribd company logo
8051 INTERFACING
                          WITH EXTERNAL
                          MEMORY
PRESENTED BY-
PRIYA SRIVASTAVA
      PRESENTED BY:-
090105801
E.I, III Yr. SRIVASTAVA
      PRIYA
      090105801
      E.I, III yr.
S E MI C O N D U C T O R ME MO R Y
 In the design of all microprocessor-based
  systems, semiconductor memories are used as
  primary storage for code & data.
 Semiconductor memories are connected directly
  to the CPU first asks for information.
 For this reason, semiconductors memories are
  sometimes referred to as primary memory.
 The most widely used are ROM & RAM.
ME MO R Y C A P A C I T Y
 The no. of bits that a semiconductor memory
  chip can store is called chip capacity.
 It can be in units of Kbits, Mbits, and so on.
 While the memory capacity of a memory IC chip
  is always given in bits, the memory capacity of a
  computer system is given in bytes.
ME MO R Y
ORGANI S AT
I ON

          A memory chip contains 2 to
           the power n, locations, where
           n is the no. of address pins.
          Each location contains m
           bits, where m is the no. of
           data pins on the chip.
          The entire chip will contain 2
           to the power n * m bits.
SPEED
 One of the most important characteristics of a
  memory chip is the speed at which its data can
  be accessed.
 To access the data, the address is presented to
  the address pins, the READ pin is activated, and
  after a certain amount of time elapsed, the data
  shows up at the data pins.
 The shorter this elapsed time, the better, and
  consequently, the more expensive the memory
  chip.
 The speed of the memory chip is commonly
  referred to as its access time.
M e mo r y ma p p e d I O


 8051 Memory and ports assigned the
 addresses such each have distinct range of
 addresses in the data memory address space.
 Interfacing circuit design identical to that
 for the memory connects the external ports
 and programmable peripheral interface
 (PPI).
Microcontroller
H a r v a r d M e mo r y
Ar c h i t e c t u r e
 Two sets of memory─ program memory
 and data memory.
 Two control signals─ PSEN and RD to
 control read from program memory or data
 memory.
 Control signal ALE to control use of AD0-
 AD7 as address or data at a given instance
R O M (R E A D O N L Y M E M O R Y )

 ROM is a type of memory that does not lose its
  contents when the power is turned off; that's why
  it is also called as nonvolatile memory.
 There are different types of ROM, such as
  PROM, EPROM, EEPROM, Flash EPROM, and
  mask ROM.
EXT ERNAL RAM
 External RAM is any random access memory which
  is found off-chip.
 Since the memory is off-chip it is not as flexible in
  terms of accessing, and is also slower
 . For example, to increment an Internal RAM location
  by 1 requires only 1 instruction and 1 instruction
  cycle. To increment a 1-byte value stored in External
  RAM requires 4 instructions and 7 instruction cycles.
  In this case, external memory is 7 times slower!
 What External RAM loses in speed and flexibility it
  gains in quantity. While Internal RAM is limited to
E X T E R N A L M E M O R Y WH E N
CONT ROL S I GNAL E A
I NACT I VE
 Then processor always accesses the external
 memory whether EA active or not .
 Internal RAM and SFR addresses between 0x00
 and 0xFF are same as external data memory
 addresses 0x0000 and 0xFFFF.
 Internal program memory addresses between
 0x0000 to 0xFFF (in case of 4 kB internal ROM)
 are same as external program memory
  addresses
 0x0000 and 0xFFFF.
CONT ROL S I GNAL E A
 When a control signal EA activate ─
 processor always accesses the external
 addresses in memory instead of internal
 memory or register addresses.
 To indicate the program code is stored in
  external ROM, this pin must be connected to
  GND.
 This is the case for the 8051-based system.
Microcontroller

More Related Content

PPTX
8051 Microcontroller PPT's By Er. Swapnil Kaware
PPTX
Micro 8051
PPTX
8051 microcontroller features
PPT
8051 block diagram
PPTX
Architecture of 8051
DOC
8051 dev board guide
PPTX
8051 Microcontroller
PPTX
8051 memory
8051 Microcontroller PPT's By Er. Swapnil Kaware
Micro 8051
8051 microcontroller features
8051 block diagram
Architecture of 8051
8051 dev board guide
8051 Microcontroller
8051 memory

What's hot (20)

PDF
Question Bank microcontroller 8051
PPTX
MICROCONTROLLER 8051- Architecture & Pin Configuration
PPTX
Microprocessor 8086
PPT
8051-microcontroller
PDF
Motorola 68hc11
PDF
Embedded systems ppt i
DOCX
Study of 8051 microcontroller
PPTX
The 8051 microcontroler based embedded systems
PPT
Microcontroller 8051
PPTX
Microcontroller 8096
DOCX
8096 microcontrollers notes
PPTX
Presentation On: "Micro-controller 8051 & Embedded System"
PPTX
8051 Microcontroller Tutorial and Architecture with Applications
PPTX
8051 microprocessor
PPT
Architecture of 8051 microcontroller))
PDF
MICROCONTROLLER - INTEL 8051
PPT
microcontroller basics
PPTX
Block diagram of msp430x5xx
PDF
8051 tutorial
Question Bank microcontroller 8051
MICROCONTROLLER 8051- Architecture & Pin Configuration
Microprocessor 8086
8051-microcontroller
Motorola 68hc11
Embedded systems ppt i
Study of 8051 microcontroller
The 8051 microcontroler based embedded systems
Microcontroller 8051
Microcontroller 8096
8096 microcontrollers notes
Presentation On: "Micro-controller 8051 & Embedded System"
8051 Microcontroller Tutorial and Architecture with Applications
8051 microprocessor
Architecture of 8051 microcontroller))
MICROCONTROLLER - INTEL 8051
microcontroller basics
Block diagram of msp430x5xx
8051 tutorial
Ad

Viewers also liked (20)

PPTX
7 segment led interfacing with 8051
PPTX
memory 8051
PPTX
Microcontroller 8051 and its interfacing
PPTX
pulse position modulation ppm | Communication Systems
PPTX
Technical presentation on
PPTX
PPTX
Vitualisation
PPTX
Ppt on interfacing led and 7 segment with 8951
PPTX
PPT
Pulse code modulation
PPT
PULSE CODE MODULATION (PCM)
PPTX
Seminar ppt...; )
PPTX
Heart rate monitering using 8051 and sensor
PPTX
PULSE WIDTH MODULATION &DEMODULATION
PPT
Pulse code modulation
PPT
Dc motor interfacing with 8051 microcontroller
PDF
LinkedIn SlideShare: Knowledge, Well-Presented
7 segment led interfacing with 8051
memory 8051
Microcontroller 8051 and its interfacing
pulse position modulation ppm | Communication Systems
Technical presentation on
Vitualisation
Ppt on interfacing led and 7 segment with 8951
Pulse code modulation
PULSE CODE MODULATION (PCM)
Seminar ppt...; )
Heart rate monitering using 8051 and sensor
PULSE WIDTH MODULATION &DEMODULATION
Pulse code modulation
Dc motor interfacing with 8051 microcontroller
LinkedIn SlideShare: Knowledge, Well-Presented
Ad

Similar to Microcontroller (20)

DOCX
8085 interfacing with memory chips
PPTX
microprocessor / memory INTERFACING PPT.pptx
PPTX
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEAR
PDF
L6 primary-memory
PDF
SC161-Lecture2
PPTX
Input output interface its types and memory
PPTX
RAM Design
PPTX
Memory interface
PDF
assignment 1-MC.pdf
PDF
UNIT-3-4.pdf embedded systems notes njjjji
PDF
8051 Architecture and PIN Configuration.pdf
PPTX
Unit IV Memory.pptx
PPTX
Memory Unit
PPTX
Memories in digital electronics
PPTX
INTERFACING2 [Autosaved] interfacing in Computer system
PPTX
The 8051 Microcontroller and Embedded Systems
PDF
13402lecture3 111204134846-phpapp02
PPT
Memory
PPT
Read Only Memory
PPTX
Unit-6.pptx lk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
8085 interfacing with memory chips
microprocessor / memory INTERFACING PPT.pptx
DIGITAL DESIGNS SLIDES 7 ENGINEERING 2ND YEAR
L6 primary-memory
SC161-Lecture2
Input output interface its types and memory
RAM Design
Memory interface
assignment 1-MC.pdf
UNIT-3-4.pdf embedded systems notes njjjji
8051 Architecture and PIN Configuration.pdf
Unit IV Memory.pptx
Memory Unit
Memories in digital electronics
INTERFACING2 [Autosaved] interfacing in Computer system
The 8051 Microcontroller and Embedded Systems
13402lecture3 111204134846-phpapp02
Memory
Read Only Memory
Unit-6.pptx lk kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

More from Priya_Srivastava (20)

PPTX
PPTX
PPTX
Environment
PPTX
Environmental
PPTX
PPTX
PPTX
Technical ppt
PPTX
PPTX
Project ppt on Rapid Battery Charger using Fuzzy Controller
PPTX
Project ppt
PPTX
PPTX
PPTX
PPTX
PPTX
PPT
Fuzzy logic ppt
PPTX
PPTX
Vitualisation
Environment
Environmental
Technical ppt
Project ppt on Rapid Battery Charger using Fuzzy Controller
Project ppt
Fuzzy logic ppt
Vitualisation

Recently uploaded (20)

PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PPTX
Lesson notes of climatology university.
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PPTX
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
LDMMIA Reiki Yoga Finals Review Spring Summer
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
2.FourierTransform-ShortQuestionswithAnswers.pdf
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
Lesson notes of climatology university.
Chinmaya Tiranga quiz Grand Finale.pdf
Computing-Curriculum for Schools in Ghana
Microbial diseases, their pathogenesis and prophylaxis
A systematic review of self-coping strategies used by university students to ...
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
1st Inaugural Professorial Lecture held on 19th February 2020 (Governance and...
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Classroom Observation Tools for Teachers
Orientation - ARALprogram of Deped to the Parents.pptx
Supply Chain Operations Speaking Notes -ICLT Program
LDMMIA Reiki Yoga Finals Review Spring Summer
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc

Microcontroller

  • 1. 8051 INTERFACING WITH EXTERNAL MEMORY PRESENTED BY- PRIYA SRIVASTAVA PRESENTED BY:- 090105801 E.I, III Yr. SRIVASTAVA PRIYA 090105801 E.I, III yr.
  • 2. S E MI C O N D U C T O R ME MO R Y  In the design of all microprocessor-based systems, semiconductor memories are used as primary storage for code & data.  Semiconductor memories are connected directly to the CPU first asks for information.  For this reason, semiconductors memories are sometimes referred to as primary memory.  The most widely used are ROM & RAM.
  • 3. ME MO R Y C A P A C I T Y  The no. of bits that a semiconductor memory chip can store is called chip capacity.  It can be in units of Kbits, Mbits, and so on.  While the memory capacity of a memory IC chip is always given in bits, the memory capacity of a computer system is given in bytes.
  • 4. ME MO R Y ORGANI S AT I ON  A memory chip contains 2 to the power n, locations, where n is the no. of address pins.  Each location contains m bits, where m is the no. of data pins on the chip.  The entire chip will contain 2 to the power n * m bits.
  • 5. SPEED  One of the most important characteristics of a memory chip is the speed at which its data can be accessed.  To access the data, the address is presented to the address pins, the READ pin is activated, and after a certain amount of time elapsed, the data shows up at the data pins.  The shorter this elapsed time, the better, and consequently, the more expensive the memory chip.  The speed of the memory chip is commonly referred to as its access time.
  • 6. M e mo r y ma p p e d I O  8051 Memory and ports assigned the  addresses such each have distinct range of  addresses in the data memory address space.  Interfacing circuit design identical to that  for the memory connects the external ports  and programmable peripheral interface  (PPI).
  • 8. H a r v a r d M e mo r y Ar c h i t e c t u r e  Two sets of memory─ program memory  and data memory.  Two control signals─ PSEN and RD to  control read from program memory or data  memory.  Control signal ALE to control use of AD0-  AD7 as address or data at a given instance
  • 9. R O M (R E A D O N L Y M E M O R Y )  ROM is a type of memory that does not lose its contents when the power is turned off; that's why it is also called as nonvolatile memory.  There are different types of ROM, such as PROM, EPROM, EEPROM, Flash EPROM, and mask ROM.
  • 10. EXT ERNAL RAM  External RAM is any random access memory which is found off-chip.  Since the memory is off-chip it is not as flexible in terms of accessing, and is also slower  . For example, to increment an Internal RAM location by 1 requires only 1 instruction and 1 instruction cycle. To increment a 1-byte value stored in External RAM requires 4 instructions and 7 instruction cycles. In this case, external memory is 7 times slower!  What External RAM loses in speed and flexibility it gains in quantity. While Internal RAM is limited to
  • 11. E X T E R N A L M E M O R Y WH E N CONT ROL S I GNAL E A I NACT I VE  Then processor always accesses the external  memory whether EA active or not .  Internal RAM and SFR addresses between 0x00  and 0xFF are same as external data memory  addresses 0x0000 and 0xFFFF.  Internal program memory addresses between  0x0000 to 0xFFF (in case of 4 kB internal ROM)  are same as external program memory addresses  0x0000 and 0xFFFF.
  • 12. CONT ROL S I GNAL E A  When a control signal EA activate ─  processor always accesses the external  addresses in memory instead of internal  memory or register addresses.  To indicate the program code is stored in external ROM, this pin must be connected to GND.  This is the case for the 8051-based system.