EasyManua.ls Logo

Texas Instruments CC3235 SimpleLink Series - Page 118

Texas Instruments CC3235 SimpleLink Series
799 pages
Print Icon
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...
Overview
www.ti.com
118
SWRU543–January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Direct Memory Access (DMA)
4.1 Overview
The CC32xx microcontroller includes a Direct Memory Access (DMA) controller, known as micro-DMA
(µDMA). The µDMA controller provides a way to offload data transfer tasks from the Cortex
®
-M4
processor, allowing for more efficient use of the processor and the available bus bandwidth. The µDMA
controller can perform transfers between memory and peripherals. It has dedicated channels for each
supported on-chip module and can be programmed to automatically perform transfers between peripherals
and memory, as the peripheral is ready to transfer more data.
The µDMA controller provides the following features:
• 32-channel configurable µDMA controller
• Support for memory-to-memory, memory-to-peripheral, and peripheral-to-memory in multiple transfer
modes
– Basic for simple transfer scenarios
– Ping-pong for continuous data flow
– Scatter-gather for a programmable list of up to 256 arbitrary transfers initiated from a single request
• Highly flexible and configurable channel operation
– Independently configured and operated channels
– Dedicated channels for supported on-chip modules
– One channel each for receive and transmit path for bidirectional modules
– Dedicated channel for software-initiated transfers
– Optional software-initiated requests for any channel
• Two levels of priority
• Design optimizations for improved bus access performance between µDMA controller and the
processor core
– µDMA controller access is subordinate to core access.
• Data sizes of 8, 16, and 32 bits
• Transfer size is programmable in binary steps from 1 to 1024.
• Source and destination address increment size of byte, halfword, word, or no increment
• Interrupt on transfer completion, with a separate interrupt per channel
4.2 Functional Description
The µDMA controller is a flexible and highly configurable DMA controller designed to work efficiently with
the Cortex-M4 processor core. It supports multiple data sizes and address increment schemes, multiple
levels of priority among DMA channels, and several transfer modes to allow for sophisticated programmed
data transfers. The usage of the bus by the µDMA controller is always subordinate to the processor core.
The µDMA controller never delays a bus transaction by the processor.
Because the µDMA controller is only using otherwise-idle bus cycles, the data transfer bandwidth it
provides is essentially free, with no impact on the rest of the system. The bus architecture has been
optimized to greatly enhance the ability of the processor core and the µDMA controller to efficiently share
the on-chip bus, thus improving performance. The optimizations include peripheral bus segmentation,
which in many cases allows both the processor core and the µDMA controller to access the bus and
perform simultaneous data transfers.
Each supported peripheral function has a dedicated channel on the µDMA controller that can be
configured independently. The µDMA controller implements a configuration method using channel control
structures maintained in system memory by the processor. While simple transfer modes are supported, it
is also possible to build up sophisticated task lists in memory that allow the µDMA controller to perform
arbitrary-sized transfers to and from arbitrary locations as part of a single transfer request. The µDMA
controller also supports the use of ping-pong buffering to accommodate constant streaming of data to or
from a peripheral.

Table of Contents