at91sam9263 ATMEL Corporation, at91sam9263 Datasheet - Page 280

no-image

at91sam9263

Manufacturer Part Number
at91sam9263
Description
At91 Arm Thumb Microcontrollers
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91SAM9263
Manufacturer:
AT
Quantity:
1
Part Number:
at91sam9263-CJ
Manufacturer:
ATMEL
Quantity:
181
Part Number:
at91sam9263-CU
Manufacturer:
ATMEL
Quantity:
132
Part Number:
at91sam9263-EK
Manufacturer:
Atmel
Quantity:
135
Part Number:
at91sam9263B-CU
Manufacturer:
IDT
Quantity:
1 043
Part Number:
at91sam9263B-CU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at91sam9263B-CU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at91sam9263B-CU-100
Manufacturer:
ATMEL
Quantity:
1 000
Part Number:
at91sam9263B-CU-100
Manufacturer:
ATMEL
Quantity:
3 060
Part Number:
at91sam9263B-CU-100
Manufacturer:
Atmel
Quantity:
10 000
24.3.4.3
24.3.4.4
24.3.4.5
6249D–ATARM–20-Dec-07
Auto-reloading of Channel Registers
Contiguous Address Between Blocks
Suspension of Transfers Between Blocks
During auto-reloading, the channel registers are reloaded with their initial values at the comple-
tion of each block and the new values used for the new block. Depending on the row number in
Table 24-2 on page
channel registers are reloaded from their initial value at the start of a block transfer.
In this case, the address between successive blocks is selected to be a continuation from the
end of the previous block. Enabling the source or destination address to be contiguous between
b l o c k s i s a f u n c t i o n o f D M A C _ C T L x . L L P _ S _ E N , D M A C _ C F G x . R E L O A D _ S R ,
DMAC_CTLx.LLP_D_EN, and DMAC_CFGx.RELOAD_DS registers (see
278).
Note:
At the end of every block transfer, an end of block interrupt is asserted if:
Note:
For rows 6, 8, and 10 of
transfers. For example, at the end of block N, the DMAC automatically proceeds to block N + 1.
For rows 2, 3, 4, 7, and 9 of
reloaded between block transfers), the DMA transfer automatically stalls after the end of block.
Interrupt is asserted if the end of block interrupt is enabled and unmasked.
The DMAC does not proceed to the next block transfer until a write to the block interrupt clear
register, DMAC_ClearBlock[n], is performed by software. This clears the channel block complete
interrupt.
For rows 2, 3, 4, 7, and 9 of
reloaded between block transfers), the DMA transfer does not stall if either:
Channel suspension between blocks is used to ensure that the end of block ISR (interrupt ser-
vice routine) of the next-to-last block is serviced before the start of the final block commences.
T h i s e n s u r e s t h a t t h e I S R h a s c l e a r e d t h e D M A C _ C F G x . R E L O A D _ S R a n d / o r
DMAC_CFGx.RELOAD_DS bits before completion of the final block. The reload bits
DMAC_CFGx.RELOAD_SR and/or DMAC_CFGx.RELOAD_DS should be cleared in the ‘end of
block ISR’ for the next-to-last block transfer.
• interrupts are enabled, DMAC_CTLx.INT_EN = 1
• the channel block interrupt is unmasked, DMAC_MaskBlock[n] = 0, where n is the channel
• interrupts are disabled, DMAC_CTLx.INT_EN = 0, or
• the channel block interrupt is masked, DMAC_MaskBlock[n] = 1, where n is the channel
number.
number.
Both DMAC_SARx and DMAC_DARx updates cannot be selected to be contiguous. If this func-
tionality is required, the size of the Block Transfer (DMAC_CTLx.BLOCK_TS) must be increased.
If this is at the maximum value, use Row 10 of
LLI.DMAC_SARx address of the block descriptor to be equal to the end DMAC_SARx address of
the previous block. Similarly, setup the LLI.DMAC_DARx address of the block descriptor to be
equal to the end DMAC_DARx address of the previous block.
The block complete interrupt is generated at the completion of the block transfer to the destination.
278, some or all of the DMAC_SARx, DMAC_DARx and DMAC_CTLx
Table 24-2 on page
Table 24-2 on page 278
Table 24-2 on page 278
AT91SAM9263 Preliminary
278, the DMA transfer does not stall between block
Table 24-2 on page 278
(DMAC_SARx and/or DMAC_DARx auto-
(DMAC_SARx and/or DMAC_DARx auto-
and setup the
Figure 24-2 on page
280

Related parts for at91sam9263