exiting core standby mode using CAN wakeup

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

exiting core standby mode using CAN wakeup

1,678 Views
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 Kudos
Reply
4 Replies

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

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

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

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