SAM9G45 Atmel Corporation, SAM9G45 Datasheet - Page 750

no-image

SAM9G45

Manufacturer Part Number
SAM9G45
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of SAM9G45

Flash (kbytes)
0 Kbytes
Pin Count
324
Max. Operating Frequency
400 MHz
Cpu
ARM926
Hardware Qtouch Acquisition
No
Max I/o Pins
160
Ext Interrupts
160
Usb Transceiver
3
Usb Speed
Hi-Speed
Usb Interface
Host, Device
Spi
2
Twi (i2c)
2
Uart
5
Lin
4
Ssc
2
Ethernet
1
Sd / Emmc
2
Graphic Lcd
Yes
Video Decoder
No
Camera Interface
Yes
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
440
Resistive Touch Screen
Yes
Temp. Sensor
No
Crypto Engine
No
Sram (kbytes)
64
Self Program Memory
NO
External Bus Interface
2
Dram Memory
DDR2/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 36-9. Write Functional Flow Diagram
Note:
750
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).
SAM9G45
Number of words to write = BlockLength/4
Reset theDMAEN bit
HSMCI_DMA &= ~DMAEN
Set the block length (in bytes)
HSMCI_MR |= (BlockLength) <<16) (2)
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
TXRDY = 0?
No
command
Poll the bit
No
(1)
No
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) (2)
Yes
36-7).
Send WRITE_SINGLE_BLOCK
Read status register MCI_SR
DMAC_CHEN[X] = TRUE
XFRDONE = 0?
command (1)
Poll the bit
RETURN
No
6438G–ATARM–19-Apr-11
Yes

Related parts for SAM9G45