Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

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

5.3.7.13. Enabling pSLC Mode for the TLC Devices

Only supported TLC devices compatible with ONFI specification. The following section describes the steps needed to enable pSLC mode for the Micron devices. There are three methods to do this:

Using set features command:

  1. Wait for the ctrl_busy pin or the ctrl_busy bit in the ctrl_status (0x0118) register to be de-asserted indicating that the controller has accepted all the earlier issued commands and completed them.
  2. Enable the pSLC mode by sending Set Feature command with address and parameters required for this purpose.
  3. Wait for the ctrl_busy pin or ctrl_busy bit in the ctrl_status (0x0118) register to be de-asserted indicating that the controller has accepted all the earlier issued commands and completed them.

Using dedicated set of commands:

  1. Wait for the ctrl_busy pin or ctrl_busy bit in the ctrl_status (0x0118) register to be de-asserted indicating that the controller has accepted all the earlier issued commands and completed them.
  2. Send generic command with instruction type zero and CMD field set to: 0xDA — to enable pSLC mode or 0xDF to disable pSLC mode. Per default pSLC mode is disabled.
  3. Wait for the ctrl_busy pin or ctrl_busy bit in the ctrl_status (0x0118) register to be de-asserted indicating that the controller has accepted all the earlier issued commands and completed them.

Using prefix command mechanism:

To enable this mode using this mechanism, you need to set the pslc_prefix_en bit in the device_ctrl (0x0430) register. When this option is enabled, the controller sends special prefix command (0xA2) before commands accessing the NAND Flash device to switch the device temporarily to the pSLC mode. Additionally, the pslc_prefix_sel field in the device_ctrl (0x0430) register needs to be programmed to the 0x1 value.

After any of the methods, the controller is ready to work with the Micron TLC devices in the pSLC mode.