English
Language : 

CC2510F16 Datasheet, PDF (103/244 Pages) Texas Instruments – Low-Power SoC (System-on-Chip) with MCU, Memory, 2.4 GHz RF Transceiver, and USB Controller
CC2510Fx / CC2511Fx
MOV DMAARM, #0x03 ; Arm DMA channel 0 and 1
MOV DMAARM, #0x81 ; Disarm DMA channel 0, channel 1 is still armed
Figure 28: DMA Arm/Disarm Example
12.5.5 DMA Interrupts
Each DMA channel can be configured to
generate an interrupt to the CPU when the
transfer count is reached. This is
accomplished by setting the IRQMASK bit in
the channel configuration to 1. When this bit is
set to 1, IRCON.DMAIF=1 will be set to 1
when reaching the transfer count. An interrupt
request is being generated if IEN1.DMAIE=1.
Regardless of the IRQMASK bit in the channel
configuration, DMAIRQ.DMAIFn will be set
upon DMA channel complete. Thus software
should always check (and clear) this register
when rearming a channel with a changed
IRQMASK setting. Failure to do so could
generate an interrupt based on the stored
interrupt flag.
12.5.6 DMA Memory Access
The byte/word transfer is affected by endian
convention. This as the memory system use
Big-Endian in XDATA memory, while Little-
Endian is used in SFR memory. This must be
accounted for in compilers.
12.5.7 DMA USB Endianess (CC2511Fx)
When a USB FIFO is accessed using word
transfer, the endianess of the word
read/written can be controlled by setting the
ENDIAN.USBWLE and ENDIAN.USBRLE
configuration bits in the ENDIAN register. See
Section 12.16 for details.
DMA Trigger
Number
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
DMA Trigger
Name
NONE
PREV
T1_CH0
T1_CH1
T1_CH2
T2_OVFL
T3_CH0
T3_CH1
T4_CH0
T4_CH1
IOC_0
IOC_1
URX0
UTX0
URX1
UTX1
Functional
Unit
DMA
DMA
Timer 1
Timer 1
Timer 1
Timer 2
Timer 3
Timer 3
Timer 4
Timer 4
IO Controller
IO Controller
USART0
USART0
USART1
USART1
Description
No trigger, setting DMAREQ.DMAREQx bit starts a single byte/word
transfer or a block transfer
DMA channel is triggered by completion of previous channel
Timer 1, compare, channel 0
Timer 1, compare, channel 1
Timer 1, compare, channel 2
Not in use.
Timer 2, timer count reaches 0x00
Timer 3, compare, channel 0
Timer 3, compare, channel 1
Timer 4, compare, channel 0
Timer 4, compare, channel 1
Do not use
P0_1 input transition17
P1_3 input transition18
USART0 RX complete
USART0 TX complete
USART1 RX complete
USART1 TX complete
17 Trigger on rising edge. P0SEL.SELP0_1 and P0DIR.P0_1 must be 0
18 Trigger on falling edge. P1SEL.SELP1_3 and P1DIR.P1_3 must be 0
SWRS055F
Page 103 of 241