Standby and Wakeup by RTD on S32G2

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

Standby and Wakeup by RTD on S32G2

2,261 次查看
fxn
Contributor II

Hello Community, 

I am testing S32G2 M7 with entrying standby mode and wakeup.

I configured WKPU0(Wakeup input) for wakeup sources to exit from standby mode and enabled both edge detection for the wakeup source.

The wakeup source is triggered by the external voltage or CAN signal. 

I use RTD version 3.0.0 with POWER and Wkpu modules.

Now, M7 can be set to soc_standby mode, but can't wakeup. 

Does anybody have an idea for this?

 

Thanks,

fxn

 

 

0 项奖励
回复
4 回复数

2,126 次查看
steklic_Ra
Contributor III

I have same problem. After PMIC_SetMode(standby) and Mcu_SetMode(soc_standby) I cannot wakeup over CAN RX (MSCR43). I set registers same as you but still nothing. Board only wakes periodicaly on PMIC standby timer.

2,123 次查看
Raghu_0x17
Contributor I
I am experiencing the same issue on S32K344 RTD2.0.0
0 项奖励
回复

2,150 次查看
nxf92355
NXP Employee
NXP Employee

Hello

wakeup sources such as WKUP0, WKUP1,WKUP2 (MSCR43, 146, 148) and enables those by WRER.
wakeup by WKUP0, and successfully waked up and the WISR value was only source 0 like below. this was tested before.
Refer to below register setting that was tested  with.

WKPU_WIFER = 0;
WKPU_WBMSR = 0x00000007;
WKPU_IRER = 0x0;
WKPU_WRER = 0x0;
SIUL2_0.MSCR[43].B.PUE = 1;
SIUL2_0.MSCR[43].B.PUS = 1;
SIUL2_0.MSCR[43].B.IBE = 1;
SIUL2_1.MSCR[146].B.PUE = 1;
SIUL2_1.MSCR[146].B.PUS = 1;
SIUL2_1.MSCR[146].B.IBE = 1;
SIUL2_1.MSCR[148].B.PUE = 1;
SIUL2_1.MSCR[148].B.PUS = 1;
SIUL2_1.MSCR[148].B.IBE = 1;
STBY_GPR.WKUP_PUS.B.WKUP_PUS |= 0x1;
WKPU_WIPUER_WIPDER = 0x1;
STBY_GPR.WKUP_PUS.B.WKUP_PU_OVERRIDE |= 0x1;
WKPU_WIFEER = 0;
WKPU_WIREER = 0x00000007;
WKPU_IRER = 0;
WKPU_WRER = 0x00000007;
WKPU_WISR = 0xffffffff;

0 项奖励
回复

2,034 次查看
Ethan_L
Contributor III

Hi,

I have tested on the S32G-VNP-RDB2 EVM using this register setting, but still cannot wakeup.

Is there any limitation preventing wakeup on S32G-VNP-RDB2 EVM?

Thanks, Ethan.

0 项奖励
回复