wakeup from VLPS by timer for s32k144

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

wakeup from VLPS by timer for s32k144

跳至解决方案
1,281 次查看
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 项奖励
回复
1 解答
1,269 次查看
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 项奖励
回复
4 回复数
1,271 次查看
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 项奖励
回复
1,270 次查看
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 项奖励
回复
1,273 次查看
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 项奖励
回复
1,023 次查看
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 项奖励
回复