本人刚接触单片机,使用是定制的芯片,MCU是8051,Power mode分为SLEEP, IDLE, NORMAL. 如下表,IDLE mode只关闭MCLK,SLEEP mode关闭所有时钟。请问,什么是MCLK,DCLK和OSC Block ?
Operation Mode OSC Block MCLK DCLK
Normal Mode Active Active Active
Idle Mode Active Stop Active
Deep Sleep Mode Stop Stop Stop
NTxxx provides both IDLE and Deep Sleep Mode. Write #55H to SUSLO and 1 to PD
Sleep Mode, and the on-chip oscillator will stop when MCU operates in Deep Sleep Mod
ock froze, all functions will stop, but the on-chip RAM and Special function Registers ho
t data. Write #55H to SUSLO and 1 to IDL to enter IDLE mode. In IDLE mode, the inter
is gated off to the CPU only, and the MCU status is preserved entirety, including the Sta
r, Program Counter, Program Status Word, Accumulator and all the other registers.
------解决方案--------------------
MCLK MASTER CLK系统主时钟
DCLK 是由晶振或者外部提供的,一般是8倍的MCLK
OSC CLOCK时整个系统工作的时钟