at91sam9263 ATMEL Corporation, at91sam9263 Datasheet - Page 283

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
6249D–ATARM–20-Dec-07
Note:
3. Write the channel configuration information into the DMAC_CFGx register for channel
4. Make sure that the LLI.DMAC_CTLx register locations of all LLI entries in memory
5. Make sure that the LLI.DMAC_LLPx register locations of all LLI entries in memory
6. Make sure that the LLI.DMAC_SARx/LLI.DMAC_DARx register locations of all LLI
7. Make sure that the LLI.DMAC_CTLx.DONE field of the LLI.DMAC_CTLx register loca-
8. If gather is enabled (DMAC_CTLx.S_GATH_EN is enabled), program the DMAC_SGRx
9. If scatter is enabled (DMAC_CTLx.D_SCAT_EN is enabled), program the DMAC_DSRx
10. Clear any pending interrupts on the channel from the previous DMA transfer by writing
11. Program the DMAC_CTLx, DMAC_CFGx registers according to Row 10 as shown in
12. Program the DMAC_LLPx register with DMAC_LLPx(0), the pointer to the first Linked
13. Finally, enable the channel by writing a ‘1’ to the DMAC_ChEnReg.CH_EN bit. The
14. The DMAC fetches the first LLI from the location pointed to by DMAC_LLPx(0).
15. Source and destination request single and burst DMA transactions to transfer the block
16. The DMAC does not wait for the block interrupt to be cleared, but continues fetching the
– v. Incrementing/decrementing or fixed address for source in SINC field.
– vi. Incrementing/decrementing or fixed address for destination DINC field.
x.
a. Designate the handshaking interface type (hardware or software) for the source
b. If the hardware handshaking interface is activated for the source or destination
(except the last) are set as shown in Row 10 of
LLI.DMAC_CTLx register of the last Linked List Item must be set as described in Row 1
of
(except the last) are non-zero and point to the base address of the next Linked List
Item.
entries in memory point to the start source/destination block address preceding that LLI
fetch.
tions of all LLI entries in memory are cleared.
register for channel x.
register for channel x.
to the Interrupt Clear registers: DMAC_ClearTfr, DMAC_ClearBlock,
DMAC_ClearSrcTran, DMAC_ClearDstTran, DMAC_ClearErr. Reading the Interrupt
Raw Status and Interrupt Status registers confirms that all interrupts have been
cleared.
Table 24-2 on page
List item.
transfer is performed.
of data (assuming non-memory peripheral). The DMAC acknowledges at the comple-
tion of every transaction (burst and single) in the block and carry out the block transfer.
next LLI from the memory location pointed to by current DMAC_LLPx register and auto-
The LLI.DMAC_SARx, LLI. DMAC_DARx, LLI.DMAC_LLPx and LLI.DMAC_CTLx registers are
fetched. The DMAC automatically reprograms the DMAC_SARx, DMAC_DARx, DMAC_LLPx and
DMAC_CTLx channel registers from the DMAC_LLPx(0).
Table
and destination peripherals. This is not required for memory. This step requires pro-
gramming the HS_SEL_SRC/HS_SEL_DST bits, respectively. Writing a ‘0’
activates the hardware handshaking interface to handle source/destination
requests for the specific channel. Writing a ‘1’ activates the software handshaking
interface to handle source/destination requests.
peripheral, assign the handshaking interface to the source and destination periph-
eral. This requires programming the SRC_PER and DEST_PER bits, respectively.
24-2.
Figure 24-7 on page 285
278.
AT91SAM9263 Preliminary
shows a Linked List example with two list items.
Table 24-2 on page
278. The
283

Related parts for at91sam9263