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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,562 Views
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 Kudos
Reply
1 Solution
1,484 Views
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

 

 

 

View solution in original post

0 Kudos
Reply
3 Replies
1,545 Views
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 Kudos
Reply
1,538 Views
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 Kudos
Reply
1,485 Views
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 Kudos
Reply