AT91SAM9G10-EK Atmel, AT91SAM9G10-EK Datasheet - Page 561

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-9. Write 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 write = BlockLength/4
Reset theDMAEN bit
MCI_MR &= ~DMAEN
Set the block length (in bytes)
MCI_MR |= (BlockLenght <<16) (2)
Set the block count (if necessary)
MCI_BLKR |= (BlockCount << 0)
Number of words to write = 0 ?
Read status register MCI_SR
Send WRITE_SINGLE_BLOCK
Number of words to write =
Number of words to write -1
MCI_TDR = Data to write
TXRDY = 0?
No
Poll the bit
command (1)
No
No
Send SET_BLOCKLEN command (1)
Send SELECT/DESELECT_CARD
command (1) to select the card
Yes
Yes
Write using HDMA
RETURN
Figure
Configure the DMA channel X
HDMA_DADDRX = Data Address to write
HDMA_BTSIZE = BlockLength/4
Yes
35-7).
Set the DMAEN bit
MCI_MR |= DMAEN
Set the block length (in bytes)
MCI_BLKR |= (BlockLength << 16) (2)
Send WRITE_SINGLE_BLOCK
Read status register MCI_SR
HDMA_CHEN[X] = TRUE
XFRDONE = 0?
command (1)
Poll the bit
RETURN
No
AT91SAM9G10
Yes
561

Related parts for AT91SAM9G10-EK