Atmel Xplained Evaluation Board AT32UC3A3-XPLD AT32UC3A3-XPLD Data Sheet
![Atmel](https://files.manualsbrain.com/attachments/0369829915bda09f9c2e00fb805a7753579683b5/common/fit/150/50/8d2bf08978ec3e5bc63f4343ac5e91ce8d0e40045619fa520d910d64af8f/brand_logo.png)
Product codes
AT32UC3A3-XPLD
831
32072H–AVR32–10/2012
AT32UC3A3
Figure 31-10. Read Functional Flow Diagram
Note:
2. This field is also accessible in the BLKR register.
Write a one in the DMA.DMAEN bit
Write the BlockLenght in the MR.BLKLEN field
(2)
Send SELECT/DESELECT_CARD
Command
(1)
to select the card
Send SET_BLOCKLEN command
(1)
No
Yes
Read with DMA
Write a zero in the DMA.DMAEN bit
Write the BlockLenght in the MR.BLKLEN field
(2)
Write the block count in the BLKR.BCNT field (if
necessary)
Read data in the RDR register
Number of words to read =
Number of words to read -1
Send READ_SINGLE_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
Number of words to read = (MR.BLKLEN)/4
Number of words to read = 0 ?
Yes
No
Yes
Yes
Read the SR register
SR.XFRDONE = 0 ?
No
RETURN
Read the SR register
SR.RXRDY = 0 ?
No
RETURN
Send READ_SINGLE_BLOCK
command
(1)