Disabling Unused Clocks

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

Disabling Unused Clocks

跳至解决方案
1,867 次查看
jaredm
Contributor III

We are developing hardware using the RT1052 and a subset of its peripherals. We are using MCUXpresso to configure the clock tree and would like to disable clocks that are unused. For instance, we are not using ENET, LCDIF, SPDIF, SAI, etc. We are looking for the best practice to disable unused clocks and are considering the following options:

  1. Gating: The Clocks Tool does not appear to include clock gating information, i.e. CCGR registers. Is there another place where these registers are configured, or must they be written to manually?
  2. Inactive: Some clocks can be effectively disabled by selecting inactive clock sources. For example Inactive CLK1 can be routed through multiplexers to ENET which will become Inactive. Is this recommended, or does it cause problems with to upstream / downstream logic considerations?
0 项奖励
回复
1 解答
1,838 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello jaredm,

The following Knowledge Base document may be of help, specifically section 3 (Low Power Gating unit LPCG)

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-s-System-Clocks/ta-p/1151118

The root clocks are branched to each peripheral, and these are individually gated clocks so you would be interested in gating the branch for your module, not the clock of origin.

I hope that this information helps!

Regards,
Gustavo

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,839 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello jaredm,

The following Knowledge Base document may be of help, specifically section 3 (Low Power Gating unit LPCG)

https://community.nxp.com/t5/i-MX-RT-Knowledge-Base/RT-s-System-Clocks/ta-p/1151118

The root clocks are branched to each peripheral, and these are individually gated clocks so you would be interested in gating the branch for your module, not the clock of origin.

I hope that this information helps!

Regards,
Gustavo

0 项奖励
回复