AT91 Memory Interface - PowerPoint PPT Presentation

About This Presentation
Title:

AT91 Memory Interface

Description:

External Bus Interface (1/2) Features Up to 8 programmable chip select lines Remap Command allows dynamic exception vectors Glue-less for both 8-bit and 16-bit ... – PowerPoint PPT presentation

Number of Views:59
Avg rating:3.0/5.0
Slides: 16
Provided by: allu203
Category:

less

Transcript and Presenter's Notes

Title: AT91 Memory Interface


1
AT91 Memory Interface
2
External Bus Interface (1/2)
  • Features
  • Up to 8 programmable chip select lines
  • Remap Command allows dynamic exception vectors
  • Glue-less for both 8-bit and 16-bit standard
    memories
  • 16-bit memories emulated with 2 8-bit memories
  • Up to 8 Wait States can be programmed
  • External wait request supported
  • Early Read protocol allows faster clock with
    slower RAM
  • Data Float Time programming (up to 7) allows
    connections of high tDF devices

3
External Bus Interface (2/2)
  • Block Diagram

4
Byte Access Type
  • Select the most cost effective 16-bit memory
    implementation
  • Byte Select Access Type one actual 16-bit
    memory
  • Byte Write Access Type 2 8-bit memories

5
Standard RAM connections
6
Standard Flash connections
7
The Early Read Protocol
8
Early Read Wait State
  • In Early Read Protocol, the EBI adds
    automatically one wait state after an external
    write access to remove any Data Bus contention
    risks

9
Standard Programmable Wait States
Read Cycle Waveform
Write Cycle Waveform
10
Calculating required standard wait stateswith AC
Characteristics (1/2)
  • Parameters to be considered
  • tCE 90ns max
  • tOE 40ns max
  • So, the requirements are (std read)
  • ntCP - EBI4 - EBI25 ? tCE
  • ntCP - tCP/2 - EBI22 - EBI25 ? tOE

AT91M55800A EBI Timings _at_ 32MHz
AT49BV1604-90 Read Timings
11
Calculating required standard wait stateswith AC
Characteristics (2/2)
  • Parameters to be considered
  • tWP 100ns min
  • tDS 100ns min
  • So, the requirements are
  • (n-1)tCP - EBI8 EBI10 ? tWP
  • (n-1)tCP - EBI11 EBI10 ? tDS

AT91M55800A EBI Timings _at_ 32MHz
AT49BV1604-90 Write Timings
12
External Wait States
  • To access slow peripherals with more than 8 Wait
    States
  • NWAIT assertion stops the internal Wait States
    counter
  • Setup and Hold times to respect, regarding the
    MCK rising edge
  • So it may be necessary to program one standard
    Wait State to take into account the decode logic
    latency

13
Data Float Time
  • Data Float helps to support devices very slow in
    releasing the Data Bus
  • Read Device a
  • 2 tdf cycle
  • Read Device b
  • 3 tdf cycle

Data Float Time cycles includes internal access
cycle Read Device a 2 tdf cycle Internal Access
Read Device b 3 tdf cycle
14
Boot Mode and Remap Command
  • Default Memory 0 configuration
  • CSR0 0x0000203D or 0x0000203E
  • 8 wait states
  • 0 data float time
  • 8/16 bits data bus width selected by BMS
  • if 16 bits data bus width is selected, byte
    access type is not significant, because
    continuous read is made in memory 0
  • Speed up of the boot sequence before remap
  • can be performed by writing EBI_CSR0
  • Base addresses are defined in EBI registers
  • In EBI_CSR0 for Memory 0
  • generally corresponds to the link address

15
External Bus Interface Benefits
  • Allows to reach the maximum of performance in
    Thumb Mode
  • Thats ARM highest performance allowed with a
    16-bit bus !
  • Emulates 2 8-bit memories as a 16-bit one
  • Supports any kind of 8-bit or 16-bit static
    memory
  • Select the most cost effective memory solution
  • Remap Command maps exception vectors in internal
    SRAM
  • Fast Interrupt Handling
  • Dynamic Exception Vectors
Write a Comment
User Comments (0)
About PowerShow.com