sleep mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

sleep mode

跳至解决方案
1,267 次查看
monstor
Contributor II

which MCU would have sleep mode and the function is as similar as S12DP512?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,020 次查看
iggi
NXP Employee
NXP Employee

Hi,

Sleep mode is actually called Stop mode and it is a functionality that every MCU has. On all S12(X) devices in order to enter Stop mode, two instructions must be executed:

asm ANDCC #0x7F; //clear S bit in CPU Condition Code Register (CCR) - enable the stop mode.

asm STOP;          // stop mode

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,021 次查看
iggi
NXP Employee
NXP Employee

Hi,

Sleep mode is actually called Stop mode and it is a functionality that every MCU has. On all S12(X) devices in order to enter Stop mode, two instructions must be executed:

asm ANDCC #0x7F; //clear S bit in CPU Condition Code Register (CCR) - enable the stop mode.

asm STOP;          // stop mode

0 项奖励
回复
1,020 次查看
monstor
Contributor II

Really thanks for your reply.

We need to exist the STOP mode by external interrupt. E.g. nXIRQ or IRQ. Can we wake up the MCU by any internal interrupt? Let say timer?

I want to implement a periodical mode for power saving.

0 项奖励
回复