DMA Channel Mux (DMACHMUX)
MPC5606S Microcontroller Reference Manual, Rev. 7
Freescale Semiconductor
457
•
Doing DMA transfers to/from GPIO—Moving data from/to one or more GPIO pins, either
un-throttled (that is, as fast as possible), or periodically (using the DMA triggering capability).
•
Doing DMA transfers from memory to memory—Moving data from memory to memory, typically
as fast as possible, sometimes with software activation.
•
Doing DMA transfers from memory to the external bus (or vice versa)—Similar to
memory-to-memory transfers, this is typically done as quickly as possible.
•
Any DMA transfer that requires software activation—Any DMA transfer that should be explicitly
started by software.
In cases where software should initiate the start of a DMA transfer, an always-enabled DMA source can
be used to provide maximum flexibility. When activating a DMA channel via software, subsequent
executions of the minor loop require a new start event be sent. This can either be a new software activation,
or a transfer request from the DMA channel mux. The options for doing this are:
•
Transfer all data in a single minor loop.
By configuring the DMA to transfer all of the data in a single minor loop (major loop counter = 1),
no re-activation of the channel is necessary. The disadvantage to this option is the reduced
granularity in determining the load that the DMA transfer will incur on the system. For this option,
the DMA channel should be disabled in the DMA channel mux.
•
Use explicit software re-activation.
In this option, the DMA is configured to transfer the data using both minor and major loops, but
the processor is required to re-activate the channel (by writing to the DMA registers)
after every
minor loop
. For this option, the DMA channel should be disabled in the DMA channel mux.
•
Use an always-enabled DMA source.
In this option, the DMA is configured to transfer the data using both minor and major loops, and
the DMA channel mux does the channel re-activation. For this option, the DMA channel should be
enabled and pointing to an always-enabled source. Note that the re-activation of the channel can
be continuous (DMA triggering is disabled) or can use the DMA triggering capability. In this
manner, it is possible to execute periodic transfers of packets of data from one source to another,
without processor intervention.
13.5
Initialization/application information
13.5.1
Reset
The reset state of each individual bit is shown within the register description section (See
). In summary, after reset, all channels are disabled and must be explicitly enabled
before use.
13.5.2
Enabling and configuring sources
13.5.2.1
Enabling a source with periodic triggering
1. Determine with which DMA channel the source will be associated. Note that only the first four
DMA channels have periodic triggering capability.
Содержание MPC5602S
Страница 76: ...Overview MPC5606S Microcontroller Reference Manual Rev 7 74 Freescale Semiconductor...
Страница 82: ...Memory Map MPC5606S Microcontroller Reference Manual Rev 7 80 Freescale Semiconductor...
Страница 112: ...Signal Description MPC5606S Microcontroller Reference Manual Rev 7 110 Freescale Semiconductor...
Страница 166: ...Analog to Digital Converter ADC MPC5606S Microcontroller Reference Manual Rev 7 164 Freescale Semiconductor...
Страница 182: ...Boot Assist Module BAM MPC5606S Microcontroller Reference Manual Rev 7 180 Freescale Semiconductor...
Страница 234: ...Clock Description MPC5606S Microcontroller Reference Manual Rev 7 232 Freescale Semiconductor...
Страница 286: ...Crossbar Switch XBAR MPC5606S Microcontroller Reference Manual Rev 7 284 Freescale Semiconductor...
Страница 470: ...e200z0h Core MPC5606S Microcontroller Reference Manual Rev 7 468 Freescale Semiconductor...
Страница 524: ...Enhanced Direct Memory Access eDMA MPC5606S Microcontroller Reference Manual Rev 7 522 Freescale Semiconductor...
Страница 546: ...Error Correction Status Module ECSM MPC5606S Microcontroller Reference Manual Rev 7 544 Freescale Semiconductor...
Страница 669: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 667...
Страница 670: ...Flash Memory MPC5606S Microcontroller Reference Manual Rev 7 668 Freescale Semiconductor...
Страница 716: ...FlexCAN MPC5606S Microcontroller Reference Manual Rev 7 714 Freescale Semiconductor...
Страница 882: ...LIN Controller LINFlex MPC5606S Microcontroller Reference Manual Rev 7 880 Freescale Semiconductor...
Страница 901: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 899...
Страница 902: ...Memory Protection Unit MPU MPC5606S Microcontroller Reference Manual Rev 7 900 Freescale Semiconductor...
Страница 955: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 953...
Страница 956: ...Mode Entry Module MC_ME MPC5606S Microcontroller Reference Manual Rev 7 954 Freescale Semiconductor...
Страница 1072: ...Quad Serial Peripheral Interface QuadSPI MPC5606S Microcontroller Reference Manual Rev 7 1070 Freescale Semiconductor...
Страница 1096: ...Reset Generation Module MC_RGM MPC5606S Microcontroller Reference Manual Rev 7 1094 Freescale Semiconductor...
Страница 1106: ...Real Time Clock RTC API MPC5606S Microcontroller Reference Manual Rev 7 1104 Freescale Semiconductor...
Страница 1186: ...Stepper Stall Detect SSD MPC5606S Microcontroller Reference Manual Rev 7 1184 Freescale Semiconductor...
Страница 1213: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1211...
Страница 1214: ...System Integration Unit Lite SIUL MPC5606S Microcontroller Reference Manual Rev 7 1212 Freescale Semiconductor...
Страница 1238: ...Voltage Regulators and Power Supplies MPC5606S Microcontroller Reference Manual Rev 7 1236 Freescale Semiconductor...
Страница 1252: ...Wakeup Unit WKPU MPC5606S Microcontroller Reference Manual Rev 7 1250 Freescale Semiconductor...
Страница 1258: ...Registers Under Protection MPC5606S Microcontroller Reference Manual Rev 7 1256 Freescale Semiconductor...
Страница 1323: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 Freescale Semiconductor 1321...
Страница 1324: ...Register Map MPC5606S Microcontroller Reference Manual Rev 7 1322 Freescale Semiconductor...