Table 11-9. Control Register (CONTROL) Field Descriptions (continued)
Bit
Field
Value Description
7
ERRCLR
0
Error Clear Bit: Writing a 1 to this bit will clear any latched sync error event and clear the
SYNCERR bit. This bit will also clear the OVRFLG bit. This bit would normally be used when
initializing the DMA for the first time or if an overflow condition is detected. If an ADCSYNC error
event or overflow event occurs at the same time as writing to this bit, the ADC or overrun has
priority and the SYNCERR or OVRFLG bit is set.
6-5
Reserved
Reserved
4
PERINTCLR
0
Peripheral Interrupt Clear Bit: Writing a 1 to this bit clears any latched peripheral interrupt event
and clears the PERINTFLG bit. This bit would normally be used when initializing the DMA for the
first time. If a peripheral event occurs at the same time as writing to this bit, the peripheral has
priority and the PERINTFLG bit is set.
3
PERINTFRC
0
Peripheral Interrupt Force Bit: Writing a 1 to this bit latches a peripheral interrupt event trigger
and sets the PERINTFLG bit. If the PERINTE bit is set, this bit can be used like a software force
for a DMA burst transfer.
2
SOFTRESET
0
Channel Soft Reset Bit: Writing a 1 to this bit completes current read-write access and places the
channel into a default state as follows:
RUNSTS = 0
TRANSFERSTS = 0
BURSTSTS = 0
BURST_COUNT = 0
TRANSFER_COUNT = 0
SRC_WRAP_COUNT = 0
DST_WRAP_COUNT = 0
This is a
soft
reset that basically allows the DMA to complete the current read-write access and
then places the DMA channel into the default reset state.
1
HALT
0
Channel Halt Bit: Writing a 1 to this bit halts the DMA at the current state and any current
read-write access is completed. See
for the various positions the state machine can
be at when HALTED. The RUNSTS bit is set to 0. To take the device out of HALT, the RUN bit
needs to be activated.
0
RUN
0
Channel Run Bit: Writing a 1 to this bit starts the DMA channel. The RUNSTS bit is set to 1. This
bit is also used to take the device out of HALT.
The RUN bit is typically used to start the DMA running after you have configured the DMA. It
will then wait for the first interrupt event (PERINTFLG == 1) to start operation. The RUN bit can
also be used to take the DMA channel out of a HALT condition See
positions the state machine can be at when HALTED.
Direct Memory Access (DMA) Module
SPRUH18I – JANUARY 2011 – REVISED JUNE 2022
TMS320x2806x Microcontrollers
749
Copyright © 2022 Texas Instruments Incorporated
Содержание TMS320 2806 Series
Страница 2: ......