I am using spc560b discovery board , i want to implement low power modes like halt , stop and standby ,
i am able to implement standby mode and waking up with CAN Rx at PB1 , however when i try with stop mode
i think it got hang and current consumption not get reduced and it didn't wakeup like in standby mode .
For sleep i am using PA3 pin interrupt , most of the code i have took from the example project , SPC560Bxx_OS-Less_STANDBY_Test_Application_for_Discovery that i got in different thread .
I am sharing code as attachment any help will be appreciated .