CHAPTER 11: DSTC
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 547
4.4 Transfer Operation Example 4
This section describes transfer operation example 4.
DES Values at Transfer Start
Below are details of transfer operation example 4. This example illustrates executing the Chain Start of
the current DES again with CHRS set to 11. Table 4-6 shows settings of the DES.
Table 4-6 DES Values at Transfer Start in Transfer Operation Example 4
DES0 = 0xF01C0201
DV = 01 : DES close process to be executed at the end of transfer
MODE = 0, TW = 10 : Mode 0, 32-bit (word) transfer
ORL = 000 : No OuterReload
SAC = 000 : Increment of TW×1 without InnerReload
DAC = 000 : Increment of TW×1 without InnerReload
CHRS = 011100 : There is a Chain Start in the current DES; an interrupt flag has been set.
DMSET = 0 : Set DMSET to "0" as the transfer is an SW Start transfer.
CHLK = 0 : No Chain lock
ACK = 00 : Set ACK to "00" as the transfer is an SW Start transfer.
PCHK = 1111 : Parity
ORM = 0x0003, IIN = 0x8000
Transfer Operation Flow
Figure 4-4 shows the transfer operation flow in transfer operation example 4. The Start Trigger of (A) in
the Figure 4-4 represents the write access of the DESP to the SWTR Register from the CPU. The Start
Triggers of (B) and (C) in Figure 4-4 are Chain Start Triggers.
Figure 4-4 Operation Flow in Transfer Operation Example 4
Counter of 1st-DES:(2,32768)
(A) Start Trigger
Write DESP
from CPU
Counter of 1st DES:(2,1)
(C) Chain start trigger
to 1st-DES
from 1st-DES
- - - - - - - - - -
0x00 0000 0x10 0000
Counter of 1st DES:(3,32767)
Counter of 1st DES:(3,1)
(B) Chain start trigger
to 1st-DES
from 1st-DES
0x01 FFFC
Counter of 1st DES:(3,32768)
- - - - - - - - - -
Counter of 1st-DES:(2,32767)
Source area Destination area
0x10 0000
0x10 00040x00 0004
0x11 FFFC
0x02 0000 0x12 0000
0x02 0004 0x12 0004
- - - - -
0x03 FFFC 0x13 FFFC
- - - - -
0x04 0000 0x14 0000
0x04 0004 0x14 0004
0x05 FFFC 0x15 FFFC
0x00 0000
0x02 0000 0x12 0000
0x04 0000 0x14 0000
Counter of 1st-DES:(1,32768)
Counter of 1st-DES:(1,32767)
Counter of 1st DES:(1,1)
End Report