at91sam9263 ATMEL Corporation, at91sam9263 Datasheet - Page 749

no-image

at91sam9263

Manufacturer Part Number
at91sam9263
Description
At91 Arm Thumb Microcontrollers
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91SAM9263
Manufacturer:
AT
Quantity:
1
Part Number:
at91sam9263-CJ
Manufacturer:
ATMEL
Quantity:
181
Part Number:
at91sam9263-CU
Manufacturer:
ATMEL
Quantity:
132
Part Number:
at91sam9263-EK
Manufacturer:
Atmel
Quantity:
135
Part Number:
at91sam9263B-CU
Manufacturer:
IDT
Quantity:
1 043
Part Number:
at91sam9263B-CU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at91sam9263B-CU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at91sam9263B-CU-100
Manufacturer:
ATMEL
Quantity:
1 000
Part Number:
at91sam9263B-CU-100
Manufacturer:
ATMEL
Quantity:
3 060
Part Number:
at91sam9263B-CU-100
Manufacturer:
Atmel
Quantity:
10 000
Figure 39-11. Write Functional Flow Diagram
Note:
6249D–ATARM–20-Dec-07
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 the PDCMODE bit
MCI_MR &= ~PDCMODE
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 ?
Send WRITE_SINGLE_BLOCK
Read status register MCI_SR
Number of words to write =
Number of words to write -1
MCI_TDR = Data to write
No
TXRDY = 0?
command (1)
Poll the bit
No
No
Send SET_BLOCKLEN command (1)
Send SELECT/DESELECT_CARD
command (1) to select the card
Yes
Yes
RETURN
Write using PDC
Figure
AT91SAM9263 Preliminary
Configure the PDC channel
MCI_TPR = Data Buffer Address to write
MCI_TCR = BlockLength/4
Yes
39-9).
Set the PDCMODE bit
MCI_MR |= PDCMODE
Set the block length (in bytes)
MCI_MR |= (BlockLength << 16) (2)
Set the block count (if necessary)
MCI_BLKR |= (BlockCount << 0)
Send WRITE_SINGLE_BLOCK
Read status register MCI_SR
MCI_PTCR = TXTEN
NOTBUSY= 0?
command (1)
Poll the bit
RETURN
No
Yes
749

Related parts for at91sam9263