wakeup from VLPS by timer for s32k144

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

wakeup from VLPS by timer for s32k144

Jump to solution
825 Views
jacqueshsu
Contributor I

Hi,

I would like to implement VLPS mode, then wakeup by timer on s32K144. I can set s32k144 to VLPS mode, and wakeup by interrupt-GPIO. But no idea about how to wakeup by timer. Could you share some experiences with me for my purpose?

 

0 Kudos
1 Solution
813 Views
danielmartynek
NXP TechSupport
NXP TechSupport

It does not.

Enable it by the Clock and LPIT drivers.

For example, in the PE GUI of DS2.2 IDE

danielmartynek_0-1656504592332.png

danielmartynek_1-1656504622478.png

 

BR, Daniel

 

 

View solution in original post

0 Kudos
4 Replies
815 Views
jacqueshsu
Contributor I

Hi Daniel,

I use the following API to VLPS. Does the API include "SCG_SIRCCSR[SIRCSTEN = 1, SIRCLPEN = 1" and "LPIT_MCR[DOZE_EN] = 1"?

POWER_SYS_SetMode(VLPS, POWER_MANAGER_POLICY_AGREEMENT);

 

 

0 Kudos
814 Views
danielmartynek
NXP TechSupport
NXP TechSupport

It does not.

Enable it by the Clock and LPIT drivers.

For example, in the PE GUI of DS2.2 IDE

danielmartynek_0-1656504592332.png

danielmartynek_1-1656504622478.png

 

BR, Daniel

 

 

0 Kudos
817 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @jacqueshsu,

As you can see in the RM, Table 7-8. AWIC stop and VLPS wake-up sources, you can use the LPIT timer.

LPIT is functional in VLPS if the function clock of this module is SIRC and LPIT_MCR[DOZE_EN] = 1.

The SIRC clock must be enabled in VLPS (SCG_SIRCCSR[SIRCSTEN = 1, SIRCLPEN = 1).

 

BR, Daniel

 

0 Kudos
567 Views
KILLERzheng
Contributor IV

Hi Daniel,

     I need this function, too. could you please help me?

How to wake up S32k146 from VLPS with LPIT - NXP Community

0 Kudos