EasyManua.ls Logo

Cypress FM4 Series - Page 544

Cypress FM4 Series
1102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CHAPTER 11: DSTC
544 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
The DSTC starts the transfer of the DES due to the Start Trigger of (A). The DSTC executes one 16-bit
transfer to the area from address 0x0000 to address 0x1000. The transfer number counter reads (2,2). As
IRM is not 1, according to the setting of CHRS[1:0] of the 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 the DES again due to the Start Trigger of (B). The DSTC executes one
16-bit transfer to the area from address 0x0002 to address 0x1002. The transfer number counter reads
(2,1). As ORM is not 1 and IRM is 1, according to the setting of CHRS[3:2] of the DES (CHRS[3:2] = 01),
the DSTC sets the HWINT[n] Register to 1. The DSTC waits for the next Start Trigger.
The DSTC starts the transfer of the DES again due to the Start Trigger of (C). InnerReload of address is
applied to SA. DA keeps increasing. The DSTC executes one 16-bit transfer to the area from address
0x0000 to address 0x1004. The transfer number counter reads (1,2). As IRM is not "1", according to the
setting of CHRS[1:0] of the 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 the DES again due to the Start Trigger of (D). The DSTC executes one
16-bit transfer to the area from address 0x0002 to address 0x1006. The transfer number counter reads
(1,1). As ORM is 1 and IRM is 1, the DSTC executes the DES close process as DV of the DES is 01.
According to the setting of CHRS[5:4] of the DES (CHRS[5:4] = 01), the DSTC sets the HWINT[n]
Register to 1.
DES Values Stored after Transfer End
If the transfer in transfer operation example 2 ends normally, the values of DES are updated as shown in
Table 4-4. Values that are different from what they were before the transfer start are in bold type in the
table. As ORL has been set to "000", if the values in the table are used in the next transfer, the DSTC
cannot execute a transfer same as the transfer mentioned above. In this situation, rebuild the DES via the
CPU.
Table 4-4 DES Values after End of Transfer in Transfer Operation Example 2
DES No.
Value
DES0
DV = 00, ST = 00, other values is same as the start of transfer.
DES1
ORM = 0x0001, IRM = 0x01, IIN is same as the start of transfer.
DES2
It is same as the start of transfer.
DES3
DA = 0x00001006

Table of Contents

Related product manuals