External Memory Interface - Introduction to Microprocessor Systems - Lecture Sli, Lecture notes of Computer Science

These are the Lecture Slides of Introduction to Microprocessor Systems which includes Microprocessor, Organization, Programming, Programming Language Characteristics, High Level Language, Assembly Language, Machine Language, Assembler Functions, Mnemonic etc. Key important points are: External Memory Interface, Implementation, Demultipexing, Bus Timing, Bus Cycle Timing Modification, Wait States, Assessing Timing Compatibility, Unidirectional, Bidirectional, Control

Typology: Lecture notes

2012/2013

Uploaded on 03/23/2013

dhruv
dhruv 🇮🇳

4.3

(12)

194 documents

1 / 29

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Topics
ADuC7026 External Memory Interface
Implementation
Demultipexing
Bus Timing
Bus cycle timing modification
Wait states and more
Assessing timing compatibility
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d

Partial preview of the text

Download External Memory Interface - Introduction to Microprocessor Systems - Lecture Sli and more Lecture notes Computer Science in PDF only on Docsity!

Topics

  • ADuC7026 External Memory Interface
    • Implementation
    • Demultipexing
  • Bus Timing
    • Bus cycle timing modification
      • Wait states and more
  • Assessing timing compatibility

Basic System Bus Operation

  • Address
    • Unidirectional from CPU
  • Data
    • Bidirectional
  • Control
    • /RS or /RD – output from CPU
      • Indicates a read operation in progress
    • /WS or /WR – output from CPU
      • Indicates a write operation in progress
    • /WAIT or /READY – input to CPU
      • Used by external device to signal that it is not able to complete transfer yet (not present on ADuC7026) Docsity.com

Basic Read Cycle at Bus Level

Basic Write Cycle at Bus Level

16-Bit Memory System

SRAM Timing Compatibility

  • In order to properly read and write the

device, we need to ensure that the

processor-to-memory interface is compatible

with the memory device.

  • This is accomplished by analyzing the timing

for all relevant parameters, and ensuring

that the operation can be completed

successfully.

  • We will work through the read cycle analysis

for the ADuC7026... Docsity.com

Basic Read Cycle at Bus Level

Read Cycle Controls

tAA – address access time

tACS – chip enable to valid data

tDF – output hold/float time

ADuC7026 External Memory Interface Configuration

  • The external memory interface supports four

independently configured memory regions,

each of which is 128kB in size.

  • In order to use the external memory interface,

we need to

  • Configure the required pins (GPxCON)
  • Enable the external interface (XMCFG[0] = 1)
  • Region enable and bus width (XMxCON)
  • Configure region for the desired bus timing (XMxPAR)

ADuC7026 XMxPAR

  • The XMxPAR MMR configures the bus timing for a region - 0x70FF at reset
  • [14:12] – AE extend
  • [9] – implements bus turn-around
  • [8] – provides additional hold time
  • [7:4],[3:0] – extend write/read strobes

Write cycle timing control Read cycle timing control

System Timing Compatibility

  • Consider again the system.
  • Analyzing write cycle timing.
  • SRAM write characteristics
    • tWC
    • tAS , tAW, tCW
    • tWR
    • tWDS , tWDH
    • Write cycle controls