EasyManua.ls Logo

Cypress FM4 Series - Specifying Outerreload

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
514 FM4 Peripheral Manual, Doc. No. 002-04856 Rev. *E
3.1.3 Specifying OuterReload
ORL[2:0]
Table 3-3 shows the method of specifying the transfer number counter and transfer address for
OuterReload.
As shown in Figure 3-1, after IIN×ORM times of transfer have ended, for the next transfer, the transfer
number counter (ORM/IRM/IIN) of DES1, the transfer source address (SA) of DES2 and the transfer
destination address (DA) of DES3 can be reset (OuterReload) to their respective values at the start of the
transfer.
Before starting a transfer, set DES4 to the same value as DES1, DES5 as DES2, and DES6 as DES3,
respectively. After IIN×ORM times of transfer have ended, the values of DES4, DES5 and DES6 are
copied to DES1, DES2 and DES3 respectively, and are reset to the values before the start of the transfer.
In the case of using the same details in the next transfer, using OuterReload can eliminate the need of
rebuilding the DES via the CPU.
Table 3-3 Specifying OuterReload
Area Name
bit
Details
DES0
ORL[0]
Selects whether to execute OuterReload for the transfer number counter (DES1).
0: OuterReload for DES1 is not to be executed. DES4 area is not required.
1: OuterReload for DES1 is to be executed. DES4 area is required.
ORL[1]
Selects whether to execute OuterReload for the transfer source address (DES2).
0: OuterReload for DES2 is not to be executed. DES5 area is not required.
1: OuterReload for DES2 is to be executed. DES5 area is required.
ORL[2]
Selects whether to execute OuterReload for the transfer destination address (DES3).
0: OuterReload for DES3 is not to be executed. DES6 area is not required.
1: OuterReload for DES3 is to be executed. DES6 area is required.
DES Size at Using OuterReload
DES0 to DES3 are areas always required. DES4 to DES6 are areas required only when OuterReload is
to be executed. The DES size and the addresses of DES4 to DES6 are defined according to the value of
the ORL[2:0] bits as shown in Table 3-4. The respective relative addresses from the DESP of DES4 to
DES6 vary according to the value of ORL[2:0]. An area not required is considered nonexistent.
Table 3-4 DES Size and Storage Positions of DES4 to DES7 in OuterReload
ORL[2:0]
DES-SIZE (word)
DES4-address
DES5-address
DES6-address
000
4
No DES4
No DES5
No DES6
001
5
DESP+0x10
No DES5
No DES6
010
5
No DES4
DESP+0x10
No DES6
100
5
No DES4
No DES5
DESP+0x10
011
6
DESP+0x10
DESP+0x14
No DES6
101
6
DESP+0x10
No DES5
DESP+0x14
110
6
No DES4
DESP+0x10
DESP+0x14
111
7
DESP+0x10
DESP+0x14
DESP+0x18

Table of Contents

Related product manuals