AT91RM3400-AI-001 ATMEL [ATMEL Corporation], AT91RM3400-AI-001 Datasheet - Page 379
AT91RM3400-AI-001
Manufacturer Part Number
AT91RM3400-AI-001
Description
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1.AT91RM3400-AI-001.pdf
(461 pages)
- Current page: 379 of 461
- Download datasheet (6Mb)
Read Operation
Figure 159. Read Functional Flow Diagram
1790A–ATARM–11/03
Reset the PDCMODE bit
MCI_MR &= ~PDCMODE
Set the block length
MCI_MR |= (BlockLenght <<16)
Read status register MCI_SR
READ_SINGLE_BLOCK
Read data = MCI_RDR
Number words read =
BlockLength/4
Send command
RXRDY = 0?
Poll the bit
The following flowchart shows how to read a single block with or without use of PDC facilities.
In this example, a polling method is used to wait for the end of read. Similarly, the user can
configure the interrupt enable register (MCI_IER) to trigger an interrupt at the end of read.
These two methods can be applied for all MultiMediaCard read functions.
No
No
Send command SEL_DESEL_CARD
Send command SET_BLOCKLEN
Yes
to select the card
RETURN
Read with PDC
Configure the PDC channel
PDC_RPR = Data Buffer Address
PDC_RCR = BlockLength/4
PDC2_PTCR = PDC_RXTEN
Set the PDCMODE bit
MCI_MR |= PDCMODE
Set the block length
MCI_MR |= (BlockLength << 16)
Yes
Read status register MCI_SR
READ_SINGLE_BLOCK
Send command
ENDRX = 0?
RETURN
Poll the bit
No
AT91RM3400
Yes
379
Related parts for AT91RM3400-AI-001
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Atmel Advanced At91 Arm Microcontroller
Manufacturer:
ATMEL Corporation
Datasheet:
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
Atmel CryptoMemory
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
Atmel CryptoMemory, 16Kbit
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontrollers
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontroller with 64K/128K/256K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
Datasheet:
Part Number:
Description:
8-bit Atmel Microcontroller with 16/32/64/128K Bytes In-System Programmable Flash
Manufacturer:
ATMEL [ATMEL Corporation]
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: