AT91SAM9G45-EKES Atmel, AT91SAM9G45-EKES Datasheet - Page 772

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-9. Write 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 write = BlockLength/4
Reset theDMAEN bit
HSMCI_DMA &= ~DMAEN
Set the block length (in bytes)
HSMCI_MR |= (BlockLength) <<16) (2)
Set the block count (if necessary)
HSMCI_BLKR |= (BlockCount << 0)
Read status register HSMCI_SR
Number of words to write = 0 ?
Send WRITE_SINGLE_BLOCK
HSMCI_TDR = Data to write
Number of words to write =
Number of words to write -1
No
TXRDY = 0?
command
Poll the bit
No
(1)
No
Send SET_BLOCKLEN command (1)
Send SELECT/DESELECT_CARD
command (1) to select the card
Yes
Yes
Write using DMAC
RETURN
Figure
Configure the DMA channel X
DMAC_DADDRX = Data Address to write
DMAC_BTSIZE = BlockLength/4
Set the DMAEN bit
HSMCI_DMA |= DMAEN
Set the block length (in bytes)
HSMCI_BLKR |= (BlockLength << 16)
Yes
36-7).
Send WRITE_SINGLE_BLOCK
Read status register MCI_SR
DMAC_CHEN[X] = TRUE
XFRDONE = 0?
command (1)
Poll the bit
RETURN
No
AT91SAM9G45
(2)
Yes
772

Related parts for AT91SAM9G45-EKES