SPRUJ17H March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
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= 0x0B (i.e. 160 MHz)
TOP_RCM.PLL_PER_HSDIVIDER_CLKOUT1.DIV = 0x09 (i.e. 192 MHz)
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
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)