Standby and Wakeup by RTD on S32G2

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

Standby and Wakeup by RTD on S32G2

2,190 Views
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 Kudos
Reply
4 Replies

2,055 Views
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,052 Views
Raghu_0x17
Contributor I
I am experiencing the same issue on S32K344 RTD2.0.0
0 Kudos
Reply

2,079 Views
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 Kudos
Reply

1,963 Views
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 Kudos
Reply