Enhanced Direct Memory Access (eDMA)
MPC5565 Microcontroller Reference Manual, Rev. 1.0
9-34
Freescale Semiconductor
•
Cycle 7:
The first system bus read cycle is initiated, as the third part of the channel’s TCD is
read from the local memory. Depending on the state of the crossbar switch, arbitration
at the system bus can insert an additional cycle of delay here.
•
Cycle 8 –
n
: The last part of the TCD is read in. This cycle represents the 1st data phase for the
read, and the address phase for the destination write.
The exact timing from this point is a function of the response times for the channel’s
read and write accesses. In this case of an slave read and internal SRAM write, the
combined data phase time is 4 cycles. For an SRAM read and slave write, it is 5
cycles.
•
Cycle
n
+ 1: This cycle represents the data phase of the last destination write.
•
Cycle
n
+ 2: The eDMA engine completes the execution of the inner minor loop and prepares to
write back the required TCD
n
fields into the local memory. The control/status fields
at word offset 0x1C in TCD
n
are read. If the major loop is complete, the
MAJOR.E_LINK and E_SG bits are checked and processed if enabled.
•
Cycle
n
+ 3: The appropriate fields in the first part of the TCD
n
are written back into the local
memory.
•
Cycle
n
+ 4: The fields in the second part of the TCD
n
are written back into the local memory. This
cycle coincides with the next channel arbitration cycle start.
•
Cycle
n
+ 5: The next channel to be activated performs the read of the first part of its TCD from
the local memory. This is equivalent to Cycle 4 for the first channel’s service request.
Assuming zero wait states on the system bus, DMA requests can be processed every 9 cycles. Assuming
an average of the access times associated with slave-to-SRAM (4 cycles) and SRAM-to-slave (5 cycles),
DMA requests can be processed every 11.5 cycles (4 + (4+5)/2 + 3). This is the time from Cycle 4 to Cycle
“
n
+ 5.” The resulting peak request rate, as a function of the system frequency, is shown in
metric represents millions of requests per second.
A general formula to compute the peak request rate (with overlapping requests) is:
PEAKreq = freq / [entry + (1 + read_ws) + (1 + write_ws) + exit]
where:
PEAKreq - peak request rate
freq - system frequency
Table 9-21. eDMA Peak Request Rate (MReq/Sec)
System Frequency
(MHz)
Request Rate
(Zero Wait States)
Request Rate
(with Wait States)
66.6
7.4 5.8
83.3
9.2
7.2
100.0
11.1
8.7
133.3
14.8
11.6
150.0
16.6
13.0
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...