exiting core standby mode using CAN wakeup

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

exiting core standby mode using CAN wakeup

1,727件の閲覧回数
sai-bodhanapu
Contributor I

Hello @danielmartynek , i am using S32K31 and i am working on low power modes. i can configure Standbymode and Core standby mode using S32DS. i can wakeup from corestandby mode using GPIO(ERIQ), RTC and for standby mode i can wakeup using (WAKEUP pins, CAN, RTC). i need to wakeup from corestandby mode using CAN RX pin. i looked into low_power_modes examples but they have CAN example for standby mode not for core standby mode. can we implement CAN wakeup for Corestandby mode? if yes please let me know.

Thanking you in advance

0 件の賞賛
返信
4 返答(返信)

1,709件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sai-bodhanapu,

If only the core is Waiting for Interrupt (WFI), but the whole system is not in Standby, meaning the clocks and peripherals are running, the core can be waken up by any interrupt.

 

Regards,

Daniel

 

0 件の賞賛
返信

1,660件の閲覧回数
sai-bodhanapu
Contributor I
HI, i tried to wakeup using CAN interrupt, but it did not wakeup from core, same CAN RX pin configured are Wakeup pin to wakeup from standbymode, but it wakeup when it enter standbymode
0 件の賞賛
返信

1,602件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @sai-bodhanapu,

I'm sorry for the delay.

Are all the clocks needed by the application in the CORE_STANDBY mode enabled?

For example, in the attached test project, the S32K312 CM7_0 wakes up through an EMIOS_0 interrupt and toggles GPIOs.

So I need these modules to be clocked.

danielmartynek_0-1704291755719.png

The CORE_STANDBY mode just reconfigures clocks and executes the WFI instruction (Wait For Interrupt). This is not a system standby mode.

 

Regards,

Daniel

 

 

 

 

0 件の賞賛
返信

1,211件の閲覧回数
saranshgoel
Contributor I

Hi,

I am trying the same on S32k312. I have configured the GPIO PTA13 as a WKUP Channel 8. I am able to to wake up the board from STANDBY mode but I am not able to wake up the board from CORE-STANDBY mode. I have taken care of all the peripherals are initialized that are required to wake up from the CORE-STANDBY mode.  

But when I configure the same pin as EIRQ[21] I am able to wake up the board from CORE-STANDBY.  But i want to wake it up using the WKUP Channel 8 as I also using the same pin to wake it up from STANDBY Mode. 

Can you please help me with this issue ?

Best Regards,

Saransh Goel

0 件の賞賛
返信