AT91RM3400-DK Atmel, AT91RM3400-DK Datasheet - Page 380
AT91RM3400-DK
Manufacturer Part Number
AT91RM3400-DK
Description
KIT DEV FOR AT91RM3400
Manufacturer
Atmel
Series
AT91SAM Smart ARMr
Type
MCUr
Datasheets
1.AT91RM3400-DK.pdf
(461 pages)
2.AT91RM3400-DK.pdf
(2 pages)
3.AT91RM3400-DK.pdf
(25 pages)
Specifications of AT91RM3400-DK
Contents
Evaluation Board, Software and Documentation
Processor To Be Evaluated
AT91RM3400
Data Bus Width
32 bit
Interface Type
RS-232, USB
For Use With/related Products
AT91RM3400
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
- Current page: 380 of 461
- Download datasheet (6Mb)
Write Operation
Figure 160. Write Functional Flow Diagram
380
AT91RM3400
Reset the PDCMODE bit
MCI_MR &= ~PDCMODE
Set the block length
MCI_MR |= (BlockLenght <<16)
Read status register MCI_SR
MCI_TDR = Data to write
WRITE_SINGLE_BLOCK
Number words write =
BlockLength/4
Send command
TXRDY = 0?
Poll the bit
No
In write operation the MCI Mode Register (MCI_MR) is used to define the padding value when
writing non-multiple block size. If the bit PDCPADV is 0, then 0x00 value is used when pad-
ding data, otherwise 0xFF is used. If set, the bit PDCMODE enables PDC transfer.
The following flowchart shows how to write a single block with or without use of PDC facilities.
Polling or interrupt method can be used to wait for the end of write according to the contents of
the Interrupt Mask Register (MCI_IMR).
This flowchart can be adapted to perform all the MultiMedia Card write functions.
No
No
Send command SEL_DESEL_CARD
Send command SET_BLOCKLEN
Yes
Yes
to select the card
RETURN
Write using PDC
Set the PDCMODE bit
MCI_MR |= PDCMODE
Set the block length
MCI_MR |= (BlockLength << 16)
Yes
Configure the PDC channel
PDC_TPR = Data Buffer Address to write
PDC_TCR = BlockLength/4
PDC2_PTCR = PDC_TXTEN
Read status register MCI_SR
WRITE_SINGLE_BLOCK
Send command
ENDTX = 0?
RETURN
Poll the bit
No
Yes
1790A–ATARM–11/03
Related parts for AT91RM3400-DK
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
DEV KIT FOR AVR/AVR32
Manufacturer:
Atmel
Datasheet:
Part Number:
Description:
INTERVAL AND WIPE/WASH WIPER CONTROL IC WITH DELAY
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Low-Voltage Voice-Switched IC for Hands-Free Operation
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
MONOLITHIC INTEGRATED FEATUREPHONE CIRCUIT
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
AM-FM Receiver IC U4255BM-M
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Monolithic Integrated Feature Phone Circuit
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Multistandard Video-IF and Quasi Parallel Sound Processing
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
High-performance EE PLD
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
8-bit Flash Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
2-Wire Serial EEPROM
Manufacturer:
ATMEL Corporation
Datasheet: