MC9S12XDP512 WAIT mode和STOP mode
- UID
- 104380
- 性别
- 男
|
首先,你应该用BDM调试一下,看看是否确实执行了STOP指令;
其次,要看一下是否有中断将MCU从STOP模式唤醒;
另外,执行STOP指令的格式为:
asm STOP; |
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
有些模块再缺省模式下是开启的。要一个一个地核对。另外,要看系统电流到底有多少是芯片本身消耗的。 |
|
|
|
|
|
- UID
- 104380
- 性别
- 男
|
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. |
|
|
|
|
|