cancel
Showing results for 
Search instead for 
Did you mean: 

how to set standby mode in spc560b disc EVK.

rpoon
Associate II

Hello,

I am not able to activate the module entry in Clock Component RLA.

Can you please guide me how to do the configuration for sending the uc in standby mode.

1 ACCEPTED SOLUTION

Accepted Solutions
Erwan YVIN
ST Employee

Hello ,

There are 2 Test Applications

SPC560Dxx_RLA WKPU API Test Application for Discovery (STOP mode)

SPC560Dxx OS-Less STANDBY SRAM Test Application for Discovery (STANDBY Mode)

You can follow them with the RM0037.

The mecanism is the same

Best regards

Erwan

View solution in original post

4 REPLIES 4
Erwan YVIN
ST Employee

Hello ,

There are 2 Test Applications

SPC560Dxx_RLA WKPU API Test Application for Discovery (STOP mode)

SPC560Dxx OS-Less STANDBY SRAM Test Application for Discovery (STANDBY Mode)

You can follow them with the RM0037.

The mecanism is the same

Best regards

Erwan

Rajesh_
Associate II

Hello,

Are you able to set Standby mode in SPC560b now?

Because I am also facing the issue in setting standby mode.

Whenever i try to change the mode to standby it is going to STOP mode.

Please let me know if you resolved this issue.

Regards,

Rajesh

Hello Erwan,

I have used following line of code but the current drawn by the mcu is still 90mamp, for standby mode it should be in micro amp.

Kindly help me out with the issue.

uint32_t n =69;

uint32_t pctl = SPC5_ME_PCTL_RUN(2)|| SPC5_ME_PCTL_LP(1);

ME.PCTL[n].R = pctl;

ME.IS.R = 5;

uint8_t flag_ret = 0;

ME.STANDBY0.B.PDO = 0;

ME.STANDBY0.B.MVRON = 0;

ME.STANDBY0.B.DFLAON = 1;

ME.STANDBY0.B.CFLAON = 1;

// ME.STANDBY0.B.SSCLKON =

ME.STANDBY0.B.PLLON = 0;

ME.STANDBY0.B.OSCON = 0;

ME.STANDBY0.B.RCON = 0; //

ME.STANDBY0.B.SYSCLK = 0XF; //system clock disabled

// LOW POWER PERIPHERAL CONFIGURATION

//ME.LPPC[0].B.STANDBY0 = 0; //Peripheral is frozen with clock gated

//ME.MER.B.STANDBY0 = 1; //enabling the mode

ME.MCTL.R = SPC5_ME_MCTL_MODE(SPC5_ME_LP_PC_STANDBY ) | SPC5_ME_MCTL_KEY ;

ME.MCTL.R = SPC5_ME_MCTL_MODE(SPC5_ME_LP_PC_STANDBY ) | SPC5_ME_MCTL_KEY_INV;

while(ME.GS.B.MTRANS != 0)

Best Regards

Rewatee

Hi ,

I am not able to make exactly in standby mode.

Kindly help me out in case you resolved.

Regards

Rewatee