Atmel Xplained Evaluation Board AT32UC3A3-XPLD AT32UC3A3-XPLD Data Sheet

Product codes
AT32UC3A3-XPLD
Page of 1021
835
32072H–AVR32–10/2012
AT32UC3A3
Figure 31-12. Multiple Write Functional Flow Diagram 
Note:
1. It is assumed that this command has been correctly sent (see 
2. This field is also accessible in BLKR register.
Send SELECT/DESELECT_CARD
Command
(1)
 to select the card
Send SET_BLOCKLEN command
(1)
No
Read the SR register
SR.BLKE = 0 ?
Enable the DMA channel X
Write a zero in the DMA.DMAEN bit
Write the block lenght in the MR.BLKLEN field
(2)
Write the block count in the BLKR.BCNT field (if 
necessary) 
Send  WRITE_MULTIPLE_BLOCK command
(1)
Configure the DMA channel X
write the Data Adress in the DMA Controller 
write the (MR.BLKLEN)/4 for Transfer Size in the 
DMA Controller  
Yes
Send  STOP_TRANSMISSION
 
command
(1)
SR.NOTBUSY = 0 ?
Yes
No
RETURN