Reset PLL2 and PLL3

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Reset PLL2 and PLL3

跳至解决方案
984 次查看
christianbach
Contributor I

CPU boots from DDR Ram and i try to reset PLL2 and PLL3 with the following steps:

1. store clock registers

2. remap PLL2 clocks to PLL3

3. power down PLL2

4. reintialize PLL2 with PFDs

5. remap PLL3 clocks to PLL2

6. power down PLL3

7. reintialize PLL2 with PFDs

8. restore clock registers

At Step 1 when i switch CBCDR[periph_clk_sel] from PLL2 (528Mhz) to PLL3 (480) Mhz, the system crashes. What can i do to switch AHB and MMDC_CH0 to PLL3?

标签 (1)
0 项奖励
回复
1 解答
811 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Christian

PLL2 usually is used for DDR (MMDC module), so if program

runs from DDR, it is not possible to change clock (or source of clock)

of MMDC module. One needs to put DDR to self-refresh, jump to iRAM,

switch/change clocks for MMDC, then return to normal operation from DDR.

In general also crash can be caused by PFD gating, described in

EB790 Configuration of Phase Fractional Dividers

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
812 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Christian

PLL2 usually is used for DDR (MMDC module), so if program

runs from DDR, it is not possible to change clock (or source of clock)

of MMDC module. One needs to put DDR to self-refresh, jump to iRAM,

switch/change clocks for MMDC, then return to normal operation from DDR.

In general also crash can be caused by PFD gating, described in

EB790 Configuration of Phase Fractional Dividers

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
811 次查看
christianbach
Contributor I

Hello igor,

thank you for your help.

0 项奖励
回复