English
Language : 

PXS20RM Datasheet, PDF (434/1368 Pages) Freescale Semiconductor, Inc – PXS20 Microcontroller
Enhanced Direct Memory Access (eDMA)
• Cycle ?+2: The eDMA engine completes the execution of the inner minor loop and prepares to
write back the required TCDn fields into the local memory. TCD word7 is read and checked for
channel linking or scatter/gather requests.
• Cycle ?+3: The appropriate fields in the first part of the TCDn are written back into the local
memory
• Cycle ?+4: The fields in the second part of the TCDn are written back into the local memory. This
cycle coincides with the next channel arbitration cycle start.
• Cycle ?+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 AHB system bus, eDMA requests can be processed every 9 cycles.
Assuming an average of the access times associated with IPS-to-SRAM (4 cycles) and SRAM-to-IPS
(5 cycles), eDMA requests can be processed every 11.5 cycles (4 + (4+5)2 + 3). This is the time from
Cycle 4 to Cycle “?+5”. The resulting peak request rate, as a function of the platform frequency, is shown
in Table 19-37. This metric represents millions of requests per second.
Table 19-37. eDMA peak request rate [MReq/sec]
Platform Speed
66.6 MHz
83.3 MHz
100.0 MHz
133.3 MHz
150.0 MHz
Request Rate
(zero wait state)
7.4
9.2
11.1
14.8
16.6
Request Rate
(with wait states)
5.8
7.2
8.7
11.6
13.0
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 - platform frequency
entry - channel startup (4 cycles)
read_ws - wait states seen during the system bus read data phase
write_ws - wait states seen during the system bus write data phase
exit - channel shutdown (3 cycles)
For example: consider a platform with the following characteristics:
• Platform SRAM can be accessed with one wait-state when viewed from the AMBA-AHB data
phase
19-38
PXS20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor