How to use i.mt rx 1170 LPCG domain control register LEVEL fields?

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

How to use i.mt rx 1170 LPCG domain control register LEVEL fields?

ソリューションへジャンプ
1,559件の閲覧回数
YING110
Contributor I

Hi

    in i.MX RT 1170 datasheet(page1532),LPCG domain control(LPCG_DOMAIN-LPCG137_DOMAIN) register LEVEL0, LEVEL1, LEVEL2, LEVEL3 fields will be configured in unassigned mode for low-power control corresponding to domain0-3, but the register also contains a LEVEL field, I don't quite understand when this LEVEL field is used? This LEVEL field can only be configured in cpulpm mode, is it the highest priority? Thank you

 

0 件の賞賛
返信
1 解決策
1,481件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @YING110 ,

  Just as the register description, different LEVEL can configure the different clock source situation.

Customers can configure it by their requirements

More details, you can refer to the RT1170 SDK power_mode_switch demo, lpm.c code.

 

Best Regards,

Kerry

 

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,542件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @YING110 ,

   I think the following picture will help your understanding:

kerryzhou_0-1683255611248.png

LEVEL bitfields in OSCPLLn_DOMAIN register helps select the clock source dependency level for each CPU platform. Under low power mode, there are 5 group settings for difference use case. 0 for always off, 1 only on at run mode, 2 support run and wait mode, 3 support run, wait, stop and 4 support all of the power mode.

 

Wish it helps you!

Best Regards,

Kerry

0 件の賞賛
返信
1,535件の閲覧回数
YING110
Contributor I

THE DOMAIN REGISTER ALREADY HAS LEVEL0, LEVEL1, LEVEL2, LEVEL3, why do we need the LEVEL field? I cannot understand the difference between LEVEL0, LEVEL1, LEVEL2, LEVEL3 and LEVEL fields

22-20

LEVEL1

Depend level

Depend level of this LPCG for DOMAIN1.

000 - This clock source is not needed in any mode, and can be turned off

001 - This clock source is needed in RUN mode, but not needed in WAIT, STOP mode

010 - This clock source is needed in RUN and WAIT mode, but not needed in STOP mode

011 - This clock source is needed in RUN, WAIT and STOP mode

100 - This clock source is always on in any mode (including SUSPEND)

101, 110, 111 - Reserved

18-16

LEVEL0

Depend level

Depend level of this LPCG for DOMAIN0.

000 - This clock source is not needed in any mode, and can be turned off

001 - This clock source is needed in RUN mode, but not needed in WAIT, STOP mode

010 - This clock source is needed in RUN and WAIT mode, but not needed in STOP mode

011 - This clock source is needed in RUN, WAIT and STOP mode

100 - This clock source is always on in any mode (including SUSPEND)

101, 110, 111 - Reserved

 

2-0

LEVEL

Current dependence level

Dependence level of this clock source for the current accessing domain

000 - This clock source is not needed in any mode, and can be turned off

001 - This clock source is needed in RUN mode, but not needed in WAIT, STOP mode

010 - This clock source is needed in RUN and WAIT mode, but not needed in STOP mode

011 - This clock source is needed in RUN, WAIT and STOP mode

100 - This clock source is always on in any mode (including SUSPEND)

101, 110, 111 - Reserved

thx~

0 件の賞賛
返信
1,482件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @YING110 ,

  Just as the register description, different LEVEL can configure the different clock source situation.

Customers can configure it by their requirements

More details, you can refer to the RT1170 SDK power_mode_switch demo, lpm.c code.

 

Best Regards,

Kerry

 

 

 

0 件の賞賛
返信