SAM3A8C Atmel Corporation, SAM3A8C Datasheet - Page 464

no-image

SAM3A8C

Manufacturer Part Number
SAM3A8C
Description
Manufacturer
Atmel Corporation
Datasheets
26.16.2.1
464
464
SAM3X/A
SAM3X/A
Building NFC Address Command Example.
The base address is made of address 0x60000000 + NFCCMD bit set = 0x68000000.
Page read operation example:
// Build the Address Command (NFCADDR_CMD)
AddressCommand = (0x60000000
*AddressCommand = (Col. Add2
// Set the Address for Cycle 0
SMC_ADDR = Col. Add1
// Write command with the Address Command built above
NFCCMD=1 | // NFC Command Enable
ACYCLE= 5 |
VCMD2=1
CMD2=0x30
CMD1=0x0)
NFCWR=0
NFCEN=1
CSID=1
Row Add1
Row Add2
Row Add3
|// NFC Read Data from NAND Flash
|
|
| // ADDR_CYCLE2
|// ADDR_CYCLE3
)// ADDR_CYCLE4
|
// CMD1 = Read Command = 00h
|
// Number of address cycle.
// NFC Enable.
|
|// ADDR_CYCLE1
// Chip Select ID = 1
// CMD2 = 30h
// CMD2 is sent after Address Cycles
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12

Related parts for SAM3A8C