SetOperationMode() and DOM_SLEEP?

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

SetOperationMode() and DOM_SLEEP?

627 Views
marknordstrand
Contributor III

So, I've had a great deal of success with VLLSx and DOM_STOP, and recently have been using DOM_WAIT.  But it isn't real clear what DOM_SLEEP should provide.  Wait will exit from an interrupt, and VLLSx will exit from the LLWU event all as expected.  The sleep mode will only exit from a reset.  From the documentation, I can see RUN/WAIT/STOP.  And from Cpu.c it looks like sleep is like stop but with out any low leakage pieces.  What is the use of this sleep mode?

mk20dn512vlq10 with CW 10.4

0 Kudos
1 Reply

310 Views
Petr_H
NXP Employee
NXP Employee

Hi,

The DOM_SLEEP and DOM_WAIT are processor expert software options that are mapped to various hardware low power modes.

I'm not sure how it's on Kinetis K, but on Kinetis L, the DOM_SLEEP can be mapped to normal stop mode, very low power stop, partial stop 1 or partial stop 2 according to configuration of CPU component. I have created a short article regarding that, please see Operation modes in Processor Expert.

Best regards

Petr Hradsky

0 Kudos