English
Language : 

MKL04Z32VFK4 Datasheet, PDF (322/658 Pages) Freescale Semiconductor, Inc – KL04 Sub-Family Reference Manual
Memory Map and Registers
Control and Data
Memory/
Read Peripheral
DMA
Write
Control and Data
Memory/
Peripheral
Figure 23-2. Dual-Address Transfer
Any operation involving a DMA channel follows the same three steps:
1. Channel initialization—The transfer control descriptor, contained in the channel
registers, is loaded with address pointers, a byte-transfer count, and control
information using accesses from the slave peripheral bus.
2. Data transfer—The DMA accepts requests for data transfers. Upon receipt of a
request, it provides address and bus control for the transfers via its master connection
to the system bus and temporary storage for the read data. The channel performs one
or more source read and destination write data transfers.
3. Channel termination—Occurs after the operation is finished successfully or due to an
error. The channel indicates the operation status in the channel's DSR, described in
the definitions of the DMA Status Registers (DSRn) and Byte Count Registers
(BCRn).
23.3 Memory Map and Registers
Descriptions of each register and its bit assignments follow. Modifying DMA control
registers during a transfer can result in undefined operation. The following table shows
the mapping of DMA controller registers. The DMA programming model is accessed via
the slave peripheral bus. The concatenation of the source and destination address
registers, the status and byte count register, and the control register create a 128-bit
transfer control descriptor (TCD) that defines the operation of each DMA channel.
KL04 Sub-Family Reference Manual, Rev. 3.1, November 2012
322
Freescale Semiconductor, Inc.