AnsweredAssumed Answered

K70 Not entering Wait mode 

Question asked by Lourdu Xavier on Apr 2, 2019
Latest reply on Apr 3, 2019 by Mark Butcher

Hi All,

I am very new to Kinetis, I am trying to implement Low power mode, We are using MK70FN1M0VMJ15.

I tried to put the system to Wait mode using "_lpm_set_operation_mode (LPM_OPERATION_MODE_WAIT)" looks it's not working,
got stuck in _lpm_set_cpu_operation_mode() as it waiting PMSTAT register status to go for wait mode (4)

SO I read the register values to check

SMC_PMSTAT => 0x1 -- set to run mode

SMC_PMPROT => 0x2a (low power mode enabled) code compilation flag for LPM enabled.
SMC_PMCTRL => 0x40 set to wait mode – (I read this register before setting wait mode; the STOPA bit not set)

waited long time but SMC_PMSTAT not changing to Wait mode.

I saw the other threads and reference doc, I could not find what I am missing.

Please help to find the issue. Thanks in advance.

Xavier

Outcomes