4.2.2 NAND Flash

The SAM4E Xplained Pro kit has one external Micron MT29F2G08ABAEAWP:E 2Gb NAND flash connected to the external bus interface of the SAM4E. The NAND flash is connected to chip select NCS0. NAND flash access can be configures in the Static Memory Controller in the SAM4E.

The R/B (read/busy) signal from the NAND flash is connected to PB12, which is configured as SAM4E chip erase by default. In order to utilize the R/B signal PB12 must be configured as a normal I/O pin in the CCFG_SYSIO register located in the MATRIX module and the internal pull-up has to be enabled. For more information see the SAM4E datasheet.

Table 4-7 lists all I/O-lines connected to the NAND flash.

Table 4-7. NAND Flash Connections
SAM4E pinFunctionNAND Flash functionShared functionality
PC0D0SRAM, LCD connector, and EBI spare header
PC1D1SRAM, LCD connector, and EBI spare header
PC2D2SRAM, LCD connector, and EBI spare header
PC3D3SRAM, LCD connector, and EBI spare header
PC4D4SRAM, LCD connector, and EBI spare header
PC5D5SRAM, LCD connector, and EBI spare header
PC6D6SRAM, LCD connector, and EBI spare header
PC7D7SRAM, LCD connector, and EBI spare header
PC17NANDCLECLE
PC16NANDALEALE
PC10NANDWE#Write Enable
PC9NANDOE#Read Enable
PC14NCS0#Chip Enable
PB12GPIOReady/#BusyERASE pin