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,561 次查看
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,483 次查看
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,544 次查看
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,537 次查看
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,484 次查看
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 项奖励
回复