SPRUJB6B November 2024 – May 2025 AM2612
The configuration sequence used for locking the CORE PLL (point 3 to 12) to be followed along with calculated values which is dependent on PER PLL lock frequency is programmed in the registers available for PER PLL inside TOP_RCM memory map for locking the PERIPHERAL PLL.
For PLL PER HSDIVDER settings follow the sequence below,
TOP_RCM.PLL_PER_HSDIVIDER_CLKOUT0.DIV= 0x04 (i.e. 192MHz)
TOP_RCM.PLL_PER_HSDIVIDER_CLKOUT2.DIV = 0x05 (i.e. 160MHz)
TOP_RCM.PLL_PER_HSDIVIDER_CLKOUT3.DIV= 0x07 (i.e. 120MHz)
TOP_RCM.PLL_PER_HSDIVIDER.TENABLEDIV register field,
TOP_RCM.PLL_PER_HSDIVIDER.TENABLEDIV = 0x1
TOP_RCM.PLL_PER_HSDIVIDER.TENABLEDIV = 0x0
TOP_RCM.PLL_PER_HSDIVIDER_CLKOUT0.GATE_CTRL = 0x1
TOP_RCM.PLL_PER_HSDIVIDER_CLKOUT1.GATE_CTRL = 0x1
TOP_RCM.PLL_PER_HSDIVIDER_CLKOUT2.GATE_CTRL = 0x1
TOP_RCM.PLL_PER_HSDIVIDER_CLKOUT3.GATE_CTRL = 0x1
For faster PLL locking, configure the PLL settings (point 3 to 11) of both PLL’s before polling for the lock of the corresponding PLL
For PLL lock using EXT_REF clock, configure the PLL_REF_CLK_SRC_SEL.PLL_CORE_REF_CLK_SRC_SEL (or)
PLL_REF_CLK_SRC_SEL.PLL_PER_REF_CLK_SRC_SEL register fields in TOP_RCM before staring the PLL configurations
Configure the DCC with reference clock as CRYSTAL and compare clock as PLL_CORE_CLKOUT1 to measure the frequency range before switching the SYS_CLK / R5 CLK to PLL clock. Refer DCC chapter for more information in its configuration and usage (Note - Optional configuration only used for safety purpose)