Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 11/27/2024
Public
Document Table of Contents

2.3.4.3. NAND Flash Controller Features

The NAND Flash controller supports the following features:

  • Compatible with ONFI 1.x and 2.x specifications.
  • Compatible with Toggle 1.x and 2.x specification (JESD230B).
  • The TLC devices are supported only in parts that are compatible with the ONFI specification.
  • Supports three operation modes that make the controller easy to operate while also providing enough flexibility to be adapted to your project's needs.
  • Supports DMA data transfer which optimizes the transfer rate for read and write operations using DMA primary and DMA secondary interfaces.
  • Supports x8 and x16 devices.
  • Supports devices with page sizes up to 64 KB.
  • Support up to 8 operation threads that can be executed in parallel.
  • Interrupt controller
    • Each interrupt can be masked.
    • Each interrupt has its own status flag.
    • The status flags are also valid when the given interrupt is masked, and can be checked by the software polling mechanism.
    • Common interrupt port is provided for all interrupt sources.
  • Provides data buffering where necessary in order to achieve maximum performance.
  • Uses full duplex asynchronous FIFO to synchronize clock domain and adjust data path.
  • Provides separate port interface for data and control/status registers.
  • Supports pipeline read and write commands for maximum data throughput.
  • Supports a set of timing registers to optimize the speed of operation of the flash memory.
  • Supports devices that have two-, three-, or four-row address bytes.
  • Supports single data rate (SDR) interface at 1.8V without external level shifters and 3.3V with external level shifters. Supports NV-DDR (double data rate) interface with data transfer rate up to 200MT/s at 1.8V without external level shifters and at 3.3V with external level shifters.
  • Supports interleaved operations across multi-plane operations in CDMA work mode.
  • Provides intelligent support of cache read and program commands in both CDMA and PIO modes.
  • Supports hardware ECC protection using BCH codes allowing error correction capability of 8, 16, 32, 64, and 130 bits per ECC sector. Also supports the detection of erased pages.
  • Provides bad block management support through row address remapping mechanism with support of preservation of factory bad block mark.
  • Provides device self-discovery mechanism that allows NAND device type identification by automatically obtaining basic parameters and configuring the controller accordingly to have early access to the device.
  • Provides write-erase protect mechanism defining up to 2 NAND Flash memory regions for protection against any modification. The protected areas can be accessed only in the read direction.

The following table provides a quick reference guide listing the possible classifications for a specific area presented along this document. In the table, the first row indicates the area or topic and the rest of the elements in the row corresponds to the possible classifications.

Table 35.  Feature Classification Reference
NAND Device Identification NAND Device Technology Mini Controller Operation Mode (PHY Interface) NAND Interface (PHY Width) Command Engine Operation Mode DMA Engine

ONFI

MLC

(pSLC mode)

Asynchronous

SDR

8-bit CDMA mode Slave DMA (SDMA) interface

JEDEC or Toggle

TLC

(pSLC mode)

Synchronous

NV-DDR

16-bit

PIO mode

Master DMA (MDMA) interface
Legacy SLC

ToggleMode

--

Generic mode

--

Unrecognized

--

--

--

--

--