AT91SAM9G45-EKES Atmel, AT91SAM9G45-EKES Datasheet - Page 770

KIT EVAL FOR AT91SAM9G45

AT91SAM9G45-EKES

Manufacturer Part Number
AT91SAM9G45-EKES
Description
KIT EVAL FOR AT91SAM9G45
Manufacturer
Atmel
Series
AT91SAM Smart ARMr
Type
MCUr

Specifications of AT91SAM9G45-EKES

Contents
Board
Processor To Be Evaluated
SAM9G45
Data Bus Width
32 bit
Interface Type
I2C, SPI, UART
Maximum Operating Temperature
+ 50 C
Minimum Operating Temperature
- 10 C
Operating Supply Voltage
1.8 V to 3.3 V
For Use With/related Products
AT91SAM9G45
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
Q4626953
Figure 36-8. Read Functional Flow Diagram
Note:
6438F–ATARM–21-Jun-10
1. It is assumed that this command has been correctly sent (see
2. This field is also accessible in the HSMCI Block Register (HSMCI_BLKR).
Number of words to read = BlockLength/4
Reset the DMAEN bit
MCI_DMA &= ~DMAEN
Set the block length (in bytes)
HSMCI_MR l= (BlockLength<<16) (2)
Set the block count (if neccessary)
HSMCI_BLKR l= (BlockCount<<0)
Read status register HSMCI_SR
Number of words to read = 0 ?
Send READ_SINGLE_BLOCK
Number of words to read -1
Number of words to read =
Read data = HSMCI_RDR
RXRDY = 0?
No
command (1)
Poll the bit
No
No
Send SET_BLOCKLEN command (1)
Send SELECT/DESELECT_CARD
command
Yes
Yes
RETURN
Read with DMAC
(1)
to select the card
Figure
36-7).
Set the DMAEN bit
HSMCI_DMA |= DMAEN
Set the block length (in bytes)
HSMCI_BLKR |= (BlockLength << 16)
Configure the DMA channel X
DMAC_SADDRX = Data Address
DMAC_BTSIZE = BlockLength/4
DMACHEN[X] = TRUE
Send READ_SINGLE_BLOCK
Read status register HSMCI_SR
Yes
command
XFRDONE = 0?
Poll the bit
RETURN
No
(1)
AT91SAM9G45
(2)
Yes
770

Related parts for AT91SAM9G45-EKES