s32k324 standby mode and can wakeup

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

s32k324 standby mode and can wakeup

1,268 Views
Prasad_330
Contributor III

hi 

currently i am working on the S32k324 controller 

I wanted to enable the standby mode and CAN wake up mode.

I tried to configure the CAN rx pin as wkup 10.

and also i am able to enter into stand by  mode but unable to wakeup.

There are some example of can wake up mode but i am not able to open the .mex file

 

I want some help in configuration plz help me.

0 Kudos
Reply
9 Replies

1,210 Views
Prasad_330
Contributor III

Hi Julian_ArogonM,

Thanks for the reply,

I am facing the same problem with the example S32K3 Low Power Management AN and demos.

can you plz help me out.

0 Kudos
Reply

1,205 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Prasad_330,

Make sure you are correctly flashing the projects:

Julin_AragnM_0-1718741365167.png

You can use the following community posts as reference:

Best regards,
Julián

0 Kudos
Reply

1,172 Views
Prasad_330
Contributor III

Hi Julian_AragonM

All the above mentioned configuration are properly configured in my project

0 Kudos
Reply

1,153 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Prasad_330,

Could you elaborate on the issue? Is it going into hard fault when stepping into the function? Could you debug step by step to see which line causes the problem?

0 Kudos
Reply

1,108 Views
Prasad_330
Contributor III

Hi Julian_AragonM,

I am configuring the PTB19 as the wake up and PTE10   as output which drives the LED

i am able to put the controller into the standby mode but i am not able to wake up it.

The Led will be turned ON after controller wakes up.

I am attaching the code.

Plz suggest me what is the right configuration

0 Kudos
Reply

1,050 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Prasad_330,

I can see in your configuration that FAST_STANDBY is used. You can copy over the configurations from the S32K3 Low Power Management AN and demos (GPIO Wkup S32K324):

Julin_AragnM_0-1719255069419.png

The value of McuDcmGprConfiguration.boot base address for Fast wake up must be same with the address of FastWkupBootVectorTable, so add a ".fastboot_vector" section in linker files:

Julin_AragnM_1-1719255167866.png

You can configure the fast standby, or use normal Standby as in the example:

Julin_AragnM_2-1719255260565.png

Best regards,
Julián

0 Kudos
Reply

705 Views
Prasad_330
Contributor III

Hi Julian_AragonM,

Thanks for reply.

I did not configure the clock for standby mode. that is the reason i was not able to wake up from. Know i am able to wake up from the can.

1,222 Views
Prasad_330
Contributor III

Thanks  Julian_ArogonM,

I installed  RTD V2.0 and S32DS3.4 and started working on it .

I tried S32K324_GPIO_Wkup_S32DS_RTD_LLD_2_0_M7_0 example just to test, but is not coming out of

" Power_Ip_Init(&Power_Ip_HwIPsConfigPB)". I did not make any modification. 

Can you plz help me.

0 Kudos
Reply

1,244 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Prasad_330,

You can look into these examples: S32K3 Low Power Management AN and demos.

These examples are based on RTD V2.0 and S32DS3.4, so you need to install the corresponding software.

Best regards,
Julián

0 Kudos
Reply