CHAPTER 11: DSTC
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 551
CHRS[1:0] of 1st-DES (CHRS[1:0] = 00), the DSTC does not set the HWINT[n] Register to 1. The DSTC
waits for the next Start Trigger.
The DSTC starts the transfer of 1st-DES again due to the Start Trigger of (E). The DSTC executes one
32-bit transfer to the area from address 0x0004 to address 0x100C. The transfer number counter for
1st-DES is (1,1). As DV of 1st-DES is 01, the DSTC executes the DES close process for 1st-DES. As
CHRS[5:4] of 1st-DES is 10, the Chain Start Trigger for the succeeding transfer of 2nd-DES is issued.
(Note that CHRS[5:0] in 1st-DES have been set to 101000.)
The DSTC starts the transfer of 2nd-DES again due to the Chain Start Trigger of (F). SA keeps increasing.
InnerReload of address is applied to DA. The DSTC executes three times (IIN = 3) of 8-bit transfer
successively. The transfer number counter for 2nd-DES starts counting from (1,3) and reads (1,1) after
transfers. As DV of 2nd-DES is 11, the DSTC does not execute the DES close process for 2nd-DES. As
CHRS[5:4] of 2nd-DES is 10, the Chain Start Trigger for the succeeding transfer of 3rd-DES is issued.
The DSTC starts the transfer of 3rd-DES due to the Start Trigger of (G). The DSTC executes two times
(IIN = 2) of 16-bit transfer successively. The transfer number counter for 3rd-DES starts counting from
(1,2) and reads (1,1) after transfers. As DV of 3rd-DES is 11, the DSTC does not execute the DES close
process for 3rd-DES. According to the setting of CHRS[5:4] of 3rd-DES (CHRS[5:4] = 01), the DSTC sets
the HWINT[n] Register to 1.
In transfer operation example 5, the transfer operation ends as above. The settings in this example cause
the DSTC to execute the following operations. The Chain Start Trigger from 1st-DES to 2nd-DES is
issued only after the transfer operation by Start Trigger (B) and (E). Also, it sets the HWINT[n] Register to
1 at the end of 3rd-DES transfer. After all transfers have ended, the DSTC notifies the CPU that all
transfers ended.
DES Values Stored after Transfer End
If the transfer in transfer operation example 5 ends, the values of DES are updated as shown in Table 4-9.
Values that are different from what they were before the transfer start are in bold type in the table. As the
CPU has to have to a handshake with the DSTC, 1st-DES is set to be closed by the DSTC after the
transfer has ended. 2nd-DES and 3rd-DES are set to not be closed by the DSTC.
Table 4-9 DES Values after End of Transfer in Transfer Operation example 5