Clock Gating Unsuccessful in WAIT mode

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Clock Gating Unsuccessful in WAIT mode

ソリューションへジャンプ
1,217件の閲覧回数
adamgarrison
Contributor III

I’m trying to configure the device to gate several clocks when it goes into WAIT mode from a WFI instruction.  From my testing it appears that the clocks are not automatically turning off in WAIT mode, and I can’t figure out why.  I have verified that it is getting into WAIT mode, and the CPU stops executing instructions.  Do you know of anything that would prevent clocks from gating even though the device is in a WAIT state?  This is a step to reduce power.

ラベル(1)
タグ(4)
0 件の賞賛
返信
1 解決策
1,038件の閲覧回数
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,039件の閲覧回数
CommunityBot
Community Manager
This an automatic process.

We are marking this post as solved, due to the either low activity or any reply marked as correct.

If you have additional questions, please create a new post and reference to this closed post.

NXP Community!
0 件の賞賛
返信
1,038件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Adam

what clock had you checked and what environment?

It may be recommended to check that on bare-metal tests SDK

i.MX 6Series Platform SDK  Bare-metal SDK for the i.MX 6

power_modes_test.c, also there is  simple gpt test (gpt.c).

Note, for example linux uses gpt as system timer, also it uses

24MHz clock which is not gated by CCGR registers

ipg_clk_root by CCGR1[CG10],

ipg_clk_highfreq (perclk_clk_root) by CCGR1[CG11]

Table 18-3 IMX6DQRM

Best regards

igor

0 件の賞賛
返信
1,038件の閲覧回数
adamgarrison
Contributor III

what clock had you checked and what environment?

  I’m running the QNX 6.6 OS.  If any of your contacts knows of any particular gotchas with this OS, that would be great to know.  I’ve checked many of the clocks. The two most important are EPIT2 and EPIT1, which should be gated by CCGR1(CG7 and CG6).  That bare metal test on the SDK looks exactly like something I want to try out. 

I have the CCGR bits set to gate the clocks in WAIT mode, but nothing turns off.  It almost feels like there is some mystery bit in some other register that also needs to be set.

Thank you,

Adam

0 件の賞賛
返信
1,038件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

EPIT has special WAITEN bit in Control register (EPITx_CR),

enablng the operation of the EPIT during wait mode.

Best regards

igor

0 件の賞賛
返信