SetOperationMode() and DOM_SLEEP?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SetOperationMode() and DOM_SLEEP?

646件の閲覧回数
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 件の賞賛
1 返信

329件の閲覧回数
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 件の賞賛