首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

MC9S12XDP512 WAIT mode和STOP mode

首先,你应该用BDM调试一下,看看是否确实执行了STOP指令;
其次,要看一下是否有中断将MCU从STOP模式唤醒;
另外,执行STOP指令的格式为:

asm STOP;
海纳百川  有容乃大
有些模块再缺省模式下是开启的。要一个一个地核对。另外,要看系统电流到底有多少是芯片本身消耗的。
海纳百川  有容乃大
The system stop modes are entered if the CPU executes the STOP instruction and the XGATE doesn't execute a thread and the XGFACT bit in the XGMCTL register is cleared. Depending on the state of the PSTP bit in the CLKSEL register the MCU goes into pseudo stop mode or full stop mode. Please refer to CRG section.
海纳百川  有容乃大
返回列表