SAM9X25 Atmel Corporation, SAM9X25 Datasheet - Page 616

no-image

SAM9X25

Manufacturer Part Number
SAM9X25
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM9X25

Flash (kbytes)
0 Kbytes
Pin Count
217
Max. Operating Frequency
400 MHz
Cpu
ARM926
Hardware Qtouch Acquisition
No
Max I/o Pins
105
Ext Interrupts
105
Usb Transceiver
3
Usb Speed
Hi-Speed
Usb Interface
Host, Device
Spi
2
Twi (i2c)
3
Uart
7
Can
2
Lin
4
Ssc
1
Ethernet
2
Sd / Emmc
2
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
12
Adc Resolution (bits)
10
Adc Speed (ksps)
440
Resistive Touch Screen
No
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
32
Self Program Memory
NO
External Bus Interface
1
Dram Memory
DDR/LPDDR, SDRAM/LPSDR
Nand Interface
Yes
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8/3.3
Operating Voltage (vcc)
0.9 to 1.1
Fpu
No
Mpu / Mmu
No/Yes
Timers
6
Output Compare Channels
6
Input Capture Channels
6
Pwm Channels
4
32khz Rtc
Yes
Calibrated Rc Oscillator
No
Figure 34-9. Write Functional Flow Diagram
Note:
616
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).
SAM9X25
Number of words to write = BlockLength/4
Reset theDMAEN bit
HSMCI_DMA &= ~DMAEN
Set the block length (in bytes)
HSMCI_MR |= (BlockLength) <<16)
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 (1)
Poll the bit
No
No
(2)
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
34-7).
Read status register HSMCI_SR
Send WRITE_SINGLE_BLOCK
DMAC_CHEN[X] = TRUE
XFRDONE = 0?
command
Poll the bit
RETURN
No
(1)
(2)
Yes
11054A–ATARM–27-Jul-11

Related parts for SAM9X25