831
32072H–AVR32–10/2012
AT32UC3A3
Figure 31-10. Read Functional Flow Diagram
Note:
1. It is assumed that this command has been correctly sent (see
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)
Summary of Contents for AT32UC3A3128
Page 61: ...61 32072H AVR32 10 2012 AT32UC3A3 PLLEN PLL Enable 0 PLL is disabled 1 PLL is enabled...
Page 592: ...592 32072H AVR32 10 2012 AT32UC3A3 Manchester Configuration Register on page 614...
Page 989: ...989 32072H AVR32 10 2012 AT32UC3A3 37 2 Package Drawings Figure 37 1 TFBGA 144 package drawing...
Page 991: ...991 32072H AVR32 10 2012 AT32UC3A3 Figure 37 3 VFBGA 100 package drawing...