AnsweredAssumed Answered

RCM_GetPreviousResetSources(RCM) returns incorrect value

Question asked by Gaurav Banyal on Feb 21, 2017
Latest reply on Jul 31, 2017 by xiangjun.rong

Hello,

 

I am working with a MKL03Z32 and I am using VLLS0 and VLLS3 states.

When I recover from these states to RUN state because of an LLWU interrupt source, the RCM_GetPreviousResetSources(RCM) returns an even number. It should be odd (with LSb = 1).

 

This is called before the function BOARD_InitPins(); in the main(). My code is based on the example "power mode switch"

 

Any ideas on what could be wrong?

 

Thanks!

Outcomes