当前位置: 技术问答>linux和unix
关于时钟与功耗的关系
来源: 互联网 发布时间:2016-10-18
本文导语: 2440中的电源管理模块对应4种模式:normal,slow,idle,sleep。 NORMAL mode: The block supplies clocks to CPU as well as all peripherals in the S3C2440A. In this mode, the power consumption will be maximized when all peripherals are turned...
2440中的电源管理模块对应4种模式:normal,slow,idle,sleep。
NORMAL mode: The block supplies clocks to CPU as well as all peripherals in the S3C2440A. In this mode, the
power consumption will be maximized when all peripherals are turned on. It allows the user to control the operation
of peripherals by software. For example, if a timer is not needed, the user can disconnect the clock(CLKCON
register) to the timer to reduce power consumption.
SLOW mode: Non-PLL mode. Unlike the Normal mode, the Slow mode uses an external clock (XTIpll or
EXTCLK) directly as FCLK in the S3C2440A without PLL. In this mode, the power consumption depends on the
frequency of the external clock only. The power consumption due to PLL is excluded.
IDLE mode: The block disconnects clocks (FCLK) only to the CPU core while it supplies clocks to all other
peripherals. The IDLE mode results in reduced power consumption due to CPU core. Any interrupt request to CPU
can be woken up from the Idle mode.
SLEEP mode: The block disconnects the internal power. So, there occurs no power consumption due to CPU and
the internal logic except the wake-up logic in this mode. Activating the SLEEP mode requires two independent
power sources. One of the two power sources supplies the power for the wake-up logic. The other one supplies
other internal logics including CPU, and should be controlled for power on/off. In the SLEEP mode, the second
power supply source for the CPU and internal logics will be turned off. The wakeup from SLEEP mode can be
issued by the EINT[15:0] or by RTC alarm interrupt.
这为什么关闭了相应外设或内设的时钟,就能降低它的消耗?设备的时钟和功耗有什么关系呢?
NORMAL mode: The block supplies clocks to CPU as well as all peripherals in the S3C2440A. In this mode, the
power consumption will be maximized when all peripherals are turned on. It allows the user to control the operation
of peripherals by software. For example, if a timer is not needed, the user can disconnect the clock(CLKCON
register) to the timer to reduce power consumption.
SLOW mode: Non-PLL mode. Unlike the Normal mode, the Slow mode uses an external clock (XTIpll or
EXTCLK) directly as FCLK in the S3C2440A without PLL. In this mode, the power consumption depends on the
frequency of the external clock only. The power consumption due to PLL is excluded.
IDLE mode: The block disconnects clocks (FCLK) only to the CPU core while it supplies clocks to all other
peripherals. The IDLE mode results in reduced power consumption due to CPU core. Any interrupt request to CPU
can be woken up from the Idle mode.
SLEEP mode: The block disconnects the internal power. So, there occurs no power consumption due to CPU and
the internal logic except the wake-up logic in this mode. Activating the SLEEP mode requires two independent
power sources. One of the two power sources supplies the power for the wake-up logic. The other one supplies
other internal logics including CPU, and should be controlled for power on/off. In the SLEEP mode, the second
power supply source for the CPU and internal logics will be turned off. The wakeup from SLEEP mode can be
issued by the EINT[15:0] or by RTC alarm interrupt.
这为什么关闭了相应外设或内设的时钟,就能降低它的消耗?设备的时钟和功耗有什么关系呢?
|
如果模块没有了时钟的话,其中的各个数字模块就不会有动作,电平就不会变化,因此消耗的仅仅是一些静态电流,就是quiescent电流,现在的工艺都很高的,静态电流一般都很小,有些甚至可以忽略不计。而一旦有时钟,模块内部就会有电平变化,从0到1,或者相反,这些变化都是需要能量的,频率和电压越高,消耗的能量越大,上面的例子都是一个芯片内的情况。不同的架构,不同的工艺,在相同的频率下功耗肯定是有差异的。
举个通俗的例子,吃饱了饭躺着消耗的能量肯定比走路少,走路的能量肯定比跑步少,原地快速高抬腿花的能量肯定最多。
举个通俗的例子,吃饱了饭躺着消耗的能量肯定比走路少,走路的能量肯定比跑步少,原地快速高抬腿花的能量肯定最多。
您可能感兴趣的文章:
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。