Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 7/19/2024
Public
Document Table of Contents

5.5.6.2. Operation Modes

The combo PHY supports working in NAND or SD/eMMC mode and the selection is configured in the system manager and notified to the PHY through the dfi_ctrl_sel[0] signal.

When working in SD/eMMC mode, the selection is referred to as the DFI_SD_SEL mode. When this operation mode is selected, the frequency ratio component is set in bypass mode, which means that the data frequency ratio conversion is 1:1.

When working in NAND mode, the selection is referred to as the DFI_HPNFC_SEL mode. There is a sub classification working mode which is configured in the NAND controller and the PHY is notified about this through the hpnfc_opr_mode signal. This classification defines how the PHY internally processes the data coming from the NAND controller (that is, asynchronous, synchronous, toggle mode, and so on). For NAND mode, there is also a special operation mode called extended mode which applies to read and write operations. This operation mode is also selected in the NAND controller and the PHY gets notified through the hpnfc_param_extended_rd and hpnfc_param_extended_wr signals.

The table below shows the different modes and signals that are used to determine the operation mode for the NAND and SD/eMMC devices. The table also shows some internal signals that are used to capture the operation mode.

Table 228.  Operation Modes
Flash Device Input Control Signal Input Sub-Control Signal Operation Mode Internal Output Control Signal
NAND dfi_ctrl_sel[0] = 0 DFI_HPNFC_SEL mode
hpnfc_opr_mode= 2’b00

Asynchronous

SDR

ONFI1

onfi1_sel= 1
hpnfc_opr_mode= 2’b01

Synchronous

ONFI2

NVDDR

onfi2_sel= 1
hpnfc_opr_mode= 2’b10

Toggle

onfi3_sel= 1
hpnfc_opr_mode= 2’b11 Other onfi3_sel= 1
hpnfc_param_extended_rd= 1

Read extended mode

N/A
hpnfc_param_extended_wr= 1 Write extended mode N/A
SD/eMMC dfi_ctrl_sel[0]= 1 DFI_SD_SEL mode
N/A N/A

sd_mode= 1

sd_ctrl_sel= 1

ratio_bypass= 1

sd_param_extended_rd Read extended mode N/A
sd_param_extended_wr Write extended mode N/A