2.5.2 JAPLL Controller

The following figure shows the JAPLL controller subsystem interface.

Figure 2-8. JAPLL Controller

japll_controller implements a DRI initiator interface to interact with the JAPLL through a PF_DRI core.

Fabric logic and the PF_DRI core operates on the same frequency of 50 MHz. Enabling and disabling of syncE is done based on the requests received from the ESMC IP. After power-up, JAPLL will be locked to the external auxiliary clock. When the en_synce command is received from the ESMC IP, JAPLL controller executes a sequence of steps for the JAPLL to switch its input to the cdr recovered clock. JAPLL generates the INT and FRAC values which are derived based on the cdr recovered clock. TX clock synchronizes with the recovered clock to show that synchronous Ethernet is enabled. For more information, see Hitless Clock Switching: Enable SyncE.

When the dis_synce command is received from ESMC IP, JAPLL input is switched back to the local auxiliary clock. JAPLL generates the INT and FRAC values based on the local auxiliary clock. The TX clock synchronizes with the local auxiliary clock to prove that synchronous Ethernet is disabled. For more information, see Hitless Clock Switching: Disable SyncE.

Japll_apb3_master performs the following register write operations.

Table 2-4. Register Write Operation
FunctionRegisterDescription
WriteEXT_PLL_JA_8Enabling/disabling JA_HOLD and PRESET_EN
WriteEXT_PLL_JA_8Load FRAC PRESET value
WriteEXTPLL_JA_9Load INT_PRESET value
WriteDES_RSTPDFor RX power-down and power-up
ReadEXTPLL_JA_10Read JAPLL Flock and Plock values
ReadEXTPLL_JA_9Read INT_PD_OUT value
ReadEXTPLL_JA_10Read FRAC_PD_OUT value

JAPLL Controller handles two different scenarios in this reference design. The following figure shows the reference design.

Figure 2-9. Reference Design

JAPLL Controller handles the following functions:

These scenarios are described in the following sections.