TC1784
Direct Memory Access Controller (DMA)
User´s Manual
11-17
V1.1, 2011-05
DMA, V3.03
The transaction lost error flag ERRSR.TRLmn indicates if a DMA request for a DMA
channel mn has been lost.
In the case of a read error, the write action is not executed, but the destination address
is updated.
In the case of multiple errors, the error bits are set according to the error situations. This
means that more than bus error flag can be set and that source/destination flags can be
set.
11.2.4.5 Channel Reset Operation
A DMA transaction of DMA channel mn can be stopped (channel is reset) by setting bit
CHRSTR.CHmn. When a read or write On Chip Bus transaction of DMA channel mn is
executed at the time when CHRSTR.CH0n is set, this On Chip Bus transaction is
finished normally. This behavior guarantees data consistency.
When CHRST.CHmn is set to 1:
•
Bits TRSR.HTREmn, TRSR.CHmn, ERRSR.TRLmn, INTSR.ICHmn, INTSR.IPMmn,
WRPSR.WRPDmn, WRPSR.WRPSmn, CHSRmn.LXO, and bit field
CHSRmn.TCOUNT are reset.
•
Source and destination address register will be set to the wrap boundary. SHADRmn
will be cleared.
•
All automatic functions are stopped for channel mn.
A user program must execute the following steps for resetting a DMA channel:
1. If hardware requests are enabled for the DMA channel mn, disable the DMA channel
mn hardware requests by setting HTREQ.ECHmn = 0.
2. Writing a 1 to CHRST.CHmn.
3. Waiting (polling) until CHRST.CHmn = 0.
A user program should execute the following steps for restarting a DMA channel after it
was reset:
1. Optionally (re-)configuring the address and other channel registers.
2. Restarting the DMA channel mn by setting HTREQ.ECHmn = 1 for hardware
requests or STREQ.SCHmn = 1 for software requests.
The value of CHCRmn.TREL is copied to CHSRmn.TCOUNT when a new DMA
transaction is requested and shadow address register contents is not equal 0000 0000
H
.
Содержание TC1784
Страница 1: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 3: ...User s Manual V1 1 2011 05 Microcontrollers TC1784 32 Bit Single Chip Microcontroller ...
Страница 950: ...TC1784 Direct Memory Access Controller DMA User s Manual 11 132 V1 1 2011 05 DMA V3 03 ...
Страница 1949: ...TC1784 General Purpose Timer Array GPTA v5 User s Manual 21 297 V1 1 2011 05 GPTA v5 V1 14 ...
Страница 2350: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG Doc_Number ...