SWRZ101B December   2021  – December 2023 AM2732 , AM2732-Q1

 

  1.   1
  2.   Abstract
  3. 1Silicon Usage Notes and Advisories Matrices
    1.     Devices Supported
  4. 2 Usage Notes and Advisories
    1.     Silicon Usage Notes
      1.      i2293
      2.      i2295
      3.      i2300
      4.      i2324
      5.      i2364
      6.      i2389
      7.      i2390
    2.     Silicon Advisories
      1.      i2162
      2.      i2288
      3.      i2289
      4.      i2294
      5.      i2297
      6.      i2298
      7.      i2299
      8.      i2301
      9.      i2302
      10.      i2309
      11.      i2315
      12.      i2318
      13.      i2329
      14.      i2336
      15.      i2337
      16.      i2338
      17.      i2339
      18.      i2340
      19.      i2341
      20.      i2342
      21.      i2344
      22.      i2345
      23.      i2387
      24.      i2392
      25.      i2394
      26.      i2386
  5.   Trademarks
  6. 3Revision History

i2387

PLL: GCM circuit glitch during clock source switch

Details:

GCM circuit [highlighted] is susceptible to glitch when switching the clock source from Crystal to the PLL Clock, causing the phase misalignment between SYS clocks resulting in random behaviors like aborts or hangs or access failures. Reference below for HSDIV0 feeding clock to R5F and SYS Clocks.

GUID-20230726-SS0I-NNR3-BGJS-MGZ7VDDZ6BFS-low.png Figure 2-2 PLL

Workaround(s):

1: Use external WDT to reset in case of hang scenarios.

2: Use staggered PLL programming sequence [Step 1 to Step 5] to switch from 40MHz- 200MHz – 400MHz in SBL. Application where R5F Running at 400MHz (Core PLL HSDIV0CLKOUT0 output is 400MHz)

Step 1: Program MSS_CR5_CLK_SRC_SEL, MSS_CR5_DIV_VAL and SYS_CLK_DIV_VAL ‘000 ; // Switch back to XTAL

Step 2: Program MSS_CR5_DIV_VAL ‘111; // Suppress the glitch

Step 3: Program SYS_CLK_DIV_VAL ‘111 ; // R5F and SYS clocks are in 1:2 ratio

Step 4: Program MSS_CR5_CLK_SRC_SEL ‘222; // Switch to PLL clock , switch to 200MHz

Step 5: Program MSS_CR5_DIV_VAL ‘000 ; // Switch back to 400MHz

Application where R5F Running at 200MHz (Core PLL HSDIV0CLKOUT0 output is 200MHz)

Step 1: Program MSS_CR5_CLK_SRC_SEL, MSS_CR5_DIV_VAL and SYS_CLK_DIV_VAL ‘000 ; // Switch back to XTAL

Step 2: Program MSS_CR5_DIV_VAL ‘111; // Suppress the glitch

Step 3: Program SYS_CLK_DIV_VAL ‘000 ; // R5F and SYS clocks are in 1:1 ratio

Step 4: Program MSS_CR5_CLK_SRC_SEL ‘222; //Switch to PLL clock , switch to 100MHz

Step 5: Program MSS_CR5_DIV_VAL ‘000 ; //Switch back to 200MHz