Active mode: 全功能模式,稳压器的数字内核开启,要么16MHz的RC振荡器要开启、要么32MHz的晶体振荡器要开启、要么两者都开启;要么32kHz的RCOSC开启、要么32kHz的XOSC要开启。
Idle mode: 空闲模式-除了CPU内核停止运行之外,其他和active mode一样
PM1: The voltage regulator to the digital part is on. Neither the 32 MHz XOSC nor the 16 MHz RCOSC is running. Either the 32 kHz RCOSC or the 32 kHz XOSC is running. The system goes to active mode on reset, an external interrupt, or when the Sleep Timer expires.(处于PM1模式系统重新变为active mode要么reset,要么外部中断触发,要么Sleep timer溢出)
PM2: The voltage regulator to the digital core is turned off. Neither the 32 MHz XOSC nor the 16 MHz RCOSC is running. Either the 32 kHz RCOSC or the 32 kHz XOSC is running. The system goes to active mode on reset, an external interrupt, or when the Sleep Timer expires.
PM3: The voltage regulator to the digital core is turned off. None of the oscillators is running. The system goes to active mode on reset or an external interrupt.
POR在PM2/PM3模式下是Active的,但是BOD却是Power Down的,这给电源管理造成了限制。如果在PM2或者PM3模式下供电电压小于1.4V,温度高于70℃,并且然后重新进入主动模式之前,回到合适的运行电压,寄存器和RAM在PM2/PM3 下保存的内容可能会改变。Hence, care should be taken in the design of the system power supply to ensure that this does not occur. 因为如果电压低于大约1.7V 就触发一个BOD 复位,所以电压可以通过进入主动模式进行精确的定期监控。
Active mode is the fully functional mode of operation where the CPU, peripherals, and RF transceiver are active. The digital voltage regulator(数字稳压器) is turned on.
Active mode is used for normal operation.在active模式通过使能PCON.IDLE位 (SLEEPCMD.MODE = 0x00), CPU内核停止运行进入空闲模式. All other peripherals function normally, and any enabled interrupt wakes up the CPU core (to transition back from idle mode to active mode).
In PM1, the high-frequency oscillators are powered down (32 MHz XOSC and 16 MHz RCOSC). The voltage regulator and the enabled 32 kHz oscillator are on. When PM1 is entered, a power-down sequence is run.
当等待唤醒事件的预期时间相对较短(小于3ms),就要选用PM1模式,因为 PM1 uses a fast power-down/up sequence.