![Infineon Technologies TC1784 Скачать руководство пользователя страница 825](http://html.mh-extra.com/html/infineon-technologies/tc1784/tc1784_user-manual_2055446825.webp)
TC1784
Direct Memory Access Controller (DMA)
User´s Manual
11-7
V1.1, 2011-05
DMA, V3.03
11.2.4
DMA Channel Functionality
Each of the 16 DMA channels has one associated register set containing seven 32-bit
registers. These registers are numbered by one index to indicate the related DMA Sub-
Block and one index to indicate the related DMA channel: Index “m” refers to the DMA
Sub-Block number (m = 0-1) and Index “n” refers to the channel number (n = 0-7) within
the DMA Sub-Block.
Example: CHCR04 is the Control Register of DMA channel 4 in Sub-Block 0.
The register set of a DMA channel register contains the following registers:
•
Channel mn Control Register CHCR0n (for details, see
)
•
Channel mn Status Register CHSR0n (for details, see
)
•
Channel mn Interrupt Control Register CHICR0n (for details, see
•
Channel mn Address Control Register ADRCR0n (for details, see
•
Channel mn Source Address Register SADR0n (for details, see
)
•
Channel mn Destination Address Register DADR0n (for details, see
•
Channel mn Shadow Address Register SHADR0n (for details, see
11.2.4.1 Shadowed Source or Destination Address
As a typical application, an ASC module that receives data (fixed source address) has
to deliver it to a memory buffer using a DMA transaction (variable destination address).
After a certain amount of data has been transferred, a new DMA transaction should be
initiated to deliver further ASC data into another memory buffer. While the destination
address register is updated during a running DMA transaction with the actual destination
address, a shadow mechanism allows programming of a new destination address
without disturbing the content of the destination address register. In this case, the new
destination address is written into a buffer register, i.e. the shadow address register. At
the start of the next DMA transaction, the new address is transferred from this shadow
address register to the destination address register without CPU intervention. This
shadow mechanism avoids the CPU having to check for the end of a DMA transaction
before reprogramming address registers.
The shadow address register can be used also to store a source address. However, it
cannot store source and destination address at the same time. This means that the
shadow mechanism makes it possible to automatically update either a new source
address, or a new destination address at the start of a DMA transaction. If both address
registers (for source and destination address) have to be updated for the next DMA
transaction, a running DMA transaction for this channel must be finished. After that,
source and destination address registers can be written before the next DMA transaction
is started.
shows the actions that take place when a source address register is
updated. The update of a destination register happens in an equivalent manner.
Содержание 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 ...