AT91SAM9G10-EK Atmel, AT91SAM9G10-EK Datasheet - Page 559

KIT DEV FOR SAM9G10 ARM

AT91SAM9G10-EK

Manufacturer Part Number
AT91SAM9G10-EK
Description
KIT DEV FOR SAM9G10 ARM
Manufacturer
Atmel
Type
MCUr
Datasheets

Specifications of AT91SAM9G10-EK

Contents
Board, Cables, Power Supply
Silicon Manufacturer
Atmel
Core Architecture
AVR
Kit Contents
Board
Svhc
No SVHC (15-Dec-2010)
Mcu Supported Families
AT91SAM9G10, ARM926EJ-S
Tool / Board Applications
Microcontroller
Rohs Compliant
Yes
For Use With/related Products
*
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Figure 35-8. Read Functional Flow Diagram
Note:
6462A–ATARM–03-Jun-09
1. It is assumed that this command has been correctly sent (see
2. This field is also accessible in the MCI Block Register (MCI_BLKR).
Number of words to read = BlockLength/4
Reset the DMAEN bit
MCI_DMA &= ~DMAEN
Set the block length (in bytes)
MCI_MR |= (BlockLenght <<16)
Set the block count (if necessary)
MCI_BLKR |= (BlockCount << 0)
Number of words to read = 0 ?
Read status register MCI_SR
Send READ_SINGLE_BLOCK
Number of words to read -1
Number of words to read =
Read data = MCI_RDR
RXRDY = 0?
No
command
Poll the bit
No
(1)
No
(2)
Send SET_BLOCKLEN command
Send SELECT/DESELECT_CARD
command
Yes
Yes
RETURN
Read with HDMA
(1)
to select the card
Figure
(1)
Set the DMAEN bit
MCI_MR |= DMAEN
Set the block length (in bytes)
MCI_BLKR |= (BlockLength << 16)
35-7).
Configure the DMA channel X
HDMA_SADDRX = Data Address
HDMA_BTSIZE = BlockLength/4
HDMACHEN[X] = TRUE
Send READ_SINGLE_BLOCK
Yes
Read status register MCI_SR
command (1)
XFRDONE = 0?
Poll the bit
RETURN
No
AT91SAM9G10
(2)
Yes
559

Related parts for AT91SAM9G10-EK