MPC5553/MPC5554 Microcontroller Reference Manual, Rev. 5
Freescale Semiconductor
12-69
of wait states to work with the access time of the asynchronous memory, just as done for a synchronous
memory.
12.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
@66MHz (CLKOUT period: 15.2ns). Assume the input data spec for the MCU is 4ns.
number of wait states = (access time) / (CLKOUT period) + (0 or 1) (depending on setup time)
50/15.2 = 3 with 4.4ns remaining (so we need at least three wait states, now check setup time)
15.2-4.4=10.8ns (this is the achieved input data setup time)
Because actual input setup (10.8ns) is greater than the input setup spec (4.0ns), three wait states is
sufficient. If the actual input setup was less than 4.0ns, we would have to use four wait states instead.
12.5.3.2
Timing and Connections for Asynchronous Memories
The connections to an asynchronous memory are the same as for a synchronous memory, except that the
CLKOUT, TS, and BDIP signals are not used.
shows a block diagram of an MCU connected
to an asynchronous memory.
Figure 12-52. MCU Connected to Asynchronous Memory
shows a timing diagram of a read operation to a 16-bit asynchronous memory using three
wait states.
shows a timing diagram of a write operation to a 16-bit asynchronous memory
using three wait states.
Flash memories typically use one WE signal as shown, RAMs use 2 or 4 (16-bit or 32-bit).
*
WE0/BE0
ADDR[9:30]
DATA[0:15]
OE
MCU
WE*
A[0:21]
D[0:15]
OE
Asynchronous
Memory
CS0
CE
CAL_CS0
Note: On a 32-bit bus, RAM memories use all four WE/BE[0:3]. On a 16-bit bus, one
RAM memory uses WE/BE[0:1] and the other uses WE/BE[2:3].
Summary of Contents for MPC5553
Page 5: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 2 Freescale Semiconductor...
Page 21: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 xvi Freescale Semiconductor...
Page 47: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 1 26 Freescale Semiconductor...
Page 163: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 4 20 Freescale Semiconductor...
Page 179: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 5 16 Freescale Semiconductor...
Page 561: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 13 38 Freescale Semiconductor...
Page 615: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 14 54 Freescale Semiconductor...
Page 707: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 17 68 Freescale Semiconductor...
Page 755: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 18 48 Freescale Semiconductor...
Page 873: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 19 118 Freescale Semiconductor...
Page 984: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 Freescale Semiconductor 21 41...
Page 985: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 21 42 Freescale Semiconductor...
Page 1019: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 22 34 Freescale Semiconductor...
Page 1129: ...MPC5553 MPC5554 Microcontroller Reference Manual Rev 5 25 90 Freescale Semiconductor...