EasyManua.ls Logo

Cypress FM4 Series - Page 537

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
FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E 537
#1 The DSTC starts its operation from referring to a DESP specified by Arbiter 2.
#2 If the read skip buffer function is enabled (CFG:RBDIS = 0) and the DESP to which the DSTC refers is
the same as the one it referred to, the DSTC skips referring to the DES in the memory area and
proceeds to #7. Otherwise the DSTC proceeds to #3.
#3, #4 The DSTC reads the DES in the area of DESTP+DESP specified. If an access error occurs in
referring to the DES area, the DSTC proceeds to #36. Otherwise the DSTC proceeds to #5.
#5 The DSTC checks details of the DES. If a DES open error occurs, the DSTC proceeds to #37.
Otherwise the DSTC proceeds to #6. For details of the DES open error, see "3.2.8 MONERS Register "
#6 If DES0:DV is 10, the DSTC proceeds to #42. Otherwise the DSTC proceeds to #7.
#7 If DES0:MODE is 0, the DSTC proceeds to #8. Otherwise the DSTC proceeds to #13.
#8 to #12 If mode 0 transfer has been specified, the DSTC executes transfers successively for the times
specified in DES1:IIN. If an access error occurs in a transfer source access, the DSTC proceeds to
#38. If an access error occurs in a transfer destination access, the DSTC proceeds to #39. If no
access error occurs in a transfer source access or in a transfer destination access, the DSTC
proceeds to #17.
#13 to #16 If mode 1 transfer has been specified, the DSTC executes one transfer. If an access error
occurs in a transfer source access, the DSTC proceeds to #38. If an access error occurs in a transfer
destination access, the DSTC proceeds to #39. If no access error occurs in a transfer source access
or in a transfer destination access, the DSTC proceeds to #17.
#17 If IIN×ORM times of transfer have ended ( ORM ==1 and IRM ==1 ), the DSTC proceeds to #18.
Otherwise the DSTC proceeds to #27.
#18, #19 The DSTC clears the read skip buffer, reads required values from DES4 to DES6 areas
according to the instruction specified in DES0:ORL, and writes the required values to DES1 to DES3
areas. If an access error occurs in updating the DES area reference, the DSTC proceeds to #36.
Otherwise the DSTC proceeds to #20.
#20 If DES0:DV is 11, the DSTC proceeds to #22. If DES0:DV is 01, the DSTC proceeds to #21. ( In #5, if
DES0:DV is 00, the DSTC has proceeded to #37. In #6, if DES0.DV is 10, the DSTC has proceeded to
#42)
#21 The DSTC executes the DES close process. The DSTC updates DES0:DV to 00 and DES0:ST to 00.
In a transfer for an HW Start trigger (or a Chain transfer from an HW Start trigger), if DES0:DMSET is
1, the DSTC sets DQMSK[n] to 1 and suppresses future HW Start transfer requests of channel n.
#22, #23 If DES0:CHRS[5:4] are 10, the DSTC proceeds to #24. If DES0:CHRS[5:4] are 01, the DSTC
proceeds to #25. If DES0:CHRS[5:4] are 00, the DSTC proceeds to #26. ( In #5, if DES0:CHRS[5:4]
are 11, the DSTC has proceeded to #37.)
#24 The DSTC executes a Chain Start transfer. The transfer of the DESP specified in #1 ends normally.
For operations to be executed afterward, see the previous section.
#25 The transfer of the DESP specified in #1 ends normally with the interrupt flag set. For operations to
be executed afterward, see the previous section.
#26 The transfer of the DESP specified in #1 ends normally without the interrupt flag being set. For
operations to be executed afterward, see the previous section.
#27, #28 The DSTC writes back values required for the transfer for the next Start Trigger to DES1 to
DES3 areas. If an access error occurs in updating the DES area, the DSTC proceeds to #36.
Otherwise the DSTC proceeds to #29.

Table of Contents

Related product manuals