Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 4/01/2024
Public
Document Table of Contents

5.3.7.4. Configure Multiplane and Cache Operations

When using multi-plane or cache operations on the NAND Flash device, it is necessary to configure the NAND controller accordingly. The registers to be configured are listed next. Placing the correct values in these registers results in achieving the best performance. If the Flash device doesn’t support these operations, then these registers can be left with the power-on reset values.

Note: The use of multiplane or cache operations is optional even if the flash device supports those.

For multiplane operations:

  1. If the device supports multi-plane write commands, then the software should enable these operations by setting the mpl_wr_en bit and program the mpl_prg_seq field in the multiplane_config (0x0434) register with the appropriate value based on the device type.
Note: If the controller is set for multi-plane operations, the number of pages is always a multiple of the number of planes in the device. If this condition is not meet then incorrect commands sequence can be triggered.
  1. If the device supports the multi-plane read command sequences, then the software should enable these operations by setting the mpl_rd_en bit and program the mpl_rd_seq field in the multiplane_config (0x0434) register with the appropriate value based on the device type.

For cache operations:

  1. If the device supports the cache read command sequences, then the software should enable those operations by setting the cache_rd_en bit in the cache_config (0x0438) register.
  2. If the device supports the cache write command sequences, then the software should enable these operations by setting the cache_wr_en bit in the cache_config (0x0438) register.