1 / 18

Power Manage

Power Manage. 1. 简单介绍 MCU 的四种模式. Coldfire 系列 MCU 有四种模式: 正常工作模式: run mode Lower power mode : wait,doze,stop. run 模式:芯片正常工作。功耗与芯片的系统时钟直接相关。 wait 模式: CPU 、 FLASH 和 SRAM 的时钟被关闭。 Doze 模式:不仅 CPU 、 FLASH 和 SRAM 的时钟可以被关闭,另外各个 peripherals 的时钟可以分别被关闭。 Stop 模式:所有的 peripheral 以及 CUP 、 memory 的始终都被关闭。.

tate
Download Presentation

Power Manage

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Power Manage

  2. 1.简单介绍MCU的四种模式 Coldfire系列MCU有四种模式: 正常工作模式:run mode Lower power mode:wait,doze,stop

  3. run模式:芯片正常工作。功耗与芯片的系统时钟直接相关。run模式:芯片正常工作。功耗与芯片的系统时钟直接相关。 • wait模式:CPU、FLASH和SRAM的时钟被关闭。 • Doze模式:不仅CPU、FLASH和SRAM的时钟可以被关闭,另外各个peripherals的时钟可以分别被关闭。 • Stop模式:所有的peripheral以及CUP、memory的始终都被关闭。

  4. 2.REGISTER • Low-Power Control Register (LPCR) • Low-Power Interrupt Control Register (LPICR) • Peripheral Power Management Register High (PPMRH) • Peripheral Power Management Register Low (PPMRL) • Peripheral Power Management Set Register (PPMRS) • Peripheral Power Management Clear Register (PPMRC)

  5. 2.1 Low-Power Control Register (LPCR)

  6. 2.1 Low-Power Control Register (LPCR)

  7. 2.1 Low-Power Control Register (LPCR)

  8. 2.2 Low-Power Interrupt Control Register (LPICR)

  9. 2.3Peripheral Power Management Register High (PPMRH)

  10. 2.4Peripheral Power Management Register Low (PPMRl)

  11. 2.5Peripheral Power Management Set Register (PPMRS)

  12. 2.6Peripheral Power Management Clear Register (PPMRC)

  13. 2.7 IPS Bus Timeout Monitor • 当MCU进入doze和stop模式后,关闭各个peripheral的时钟。怎么知道peripheral的时钟已经关闭了? • IPS Bus Timeout Monitor就是监视总线上的peripheral的始终有没有关闭

  14. 超时值必须被选择所以它比最慢的IPS 外围设备相应时间要大

  15. 3. FEATURE • 系统通过执行一个STOP 指令进入到低功耗模式。设备实际进入哪个模式(stop,wait, 或doze)由LPCR 中编程来指示。

  16. 3.1 退出低功耗模式(stop) • 任何类型的复位 • 任何有效的中断请求 • 通过一个中断请求来推出低功耗模式需要: • 一个优先级高于LPICR 中XLPM_IPL 域中编程值的中断请求。 • 一个优先级高于核心的状态寄存器中的中断优先级屏蔽域中编程值的中断请求。 • 一个来自在中断控制器的中断屏蔽寄存器中不再被屏蔽的中断请求 • 一个可以使中断源中的模块运行的中断请求

  17. THE END

More Related