English
Language : 

PXR40RM Datasheet, PDF (1312/1434 Pages) Freescale Semiconductor, Inc – PXR40 Microcontroller
External Bus Interface (EBI)
• Copy the code that is doing the register writes (plus a return branch) to internal SRAM
• Branch to internal SRAM to run this code, ending with a branch back to external flash
30.5.2 Running with SDR (Single Data Rate) Burst Memories
This includes FLASH and SRAM memories with a compatible burst interface. D_BDIP is required only
for some SDR memories. Figure 30-38 shows a block diagram of an MCU connected to a 32-bit SDR burst
memory.
MCU
D_CLKOUT
CS0
D_TS
D_BDIP
D_WE0
D_ADD[9:30]
D_ADD_DAT[0:31]
D_OE
SDR Burstable
Flash or SRAM
CK
CE
ADV
BAA*
WE**
A[0:21]
D[0:31]
OE
* May or may not be connected, depending on the memory used.
** Flash memories typically use one WE signal as shown, RAMs use 2 or 4 (16-bit or 32-bit).
Figure 30-38. MCU Connected to SDR Burst Memory
Refer to Figure 30-23 for an example of the timing of a typical Burst Read operation to an SDR burst
memory. Refer to Figure 30-14 for an example of the timing of a typical Single Write operation to SDR
memory.
30.5.3 Running with Asynchronous Memories
The EBI also supports asynchronous memories. In this case, the D_CLKOUT, D_TS, and D_BDIP pins
are not used by the memory and bursting is not supported. However, the EBI still drives these outputs, and
always drives and latches all signals at posedge D_CLKOUT (i.e., there is no “asynchronous mode” for
the EBI). The data timing is controlled by setting the SCY bits in the appropriate Option Register to the
proper number of wait states to work with the access time of the asynchronous memory, just as done for a
synchronous memory.
30.5.3.1 Example Wait State Calculation
This example applies to any chip-select memory, synchronous or asynchronous.
As an example, say we have a memory with 50ns access time, and we are running the external bus
@ 66 MHz (D_CLKOUT period: 15.2ns). Assume the input data spec for the MCU is 4ns.
number of wait states = (access time) / (D_CLKOUT period) + (0 or 1) (depending on setup time)
30-50
PXR40 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor