设为首页收藏本站
查看: 10194|回复: 0

MYD-SAMA5D3X开发板睡眠测试

[复制链接]

25

主题

9

回帖

280

积分

中级会员

积分
280
Willian.Mo 发表于 2015-8-5 19:02:46 | 显示全部楼层 |阅读模式
本帖最后由 Willian.Mo 于 2015-8-6 11:07 编辑

介绍:
       Linux睡眠有两种方式:mem或standby,这两种方式都是suspend to RAM,简称STR,只是standby耗电会更多一些,而返回到正常工作方式时间更短。
1.睡眠命令:
[mw_shl_code=bash,true]# echo mem > /sys/power/state

# echo standby > /sys/power/state
PM: Syncing filesystems ... done.
mmc1: card 2109 removed
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
Suspending console(s) (use no_console_suspend to debug)[/mw_shl_code]
2.唤醒:
按下开发板上的USER(K3)按键即可唤醒系统,输出如下:
[mw_shl_code=bash,true]hdmi conntect flag: 0x00
PM: suspend of devices complete after 222.463 msecs
PM: late suspend of devices complete after 0.247 msecs
PM: noirq suspend of devices complete after 0.291 msecs
PM: noirq resume of devices complete after 0.237 msecs
PM: early resume of devices complete after 0.250 msecs
usb usb2: root hub lost power or was reset
hdmi conntect flag: 0x00
PM: resume of devices complete after 500.111 msecs
Restarting tasks ... done.[/mw_shl_code]3.MYD-SAMA5D3X系统功耗:
正常运行(没接LCD):约5V/350mA
正常运行(接上LCD):约5V/395mA
睡眠:约5V/208mA






回复

使用道具 举报

您需要登录后才可以回帖 登录

本版积分规则

Archiver|手机版|小黑屋|米尔科技论坛   

GMT+8, 2024-11-23 01:11 , Processed in 0.040610 second(s), 20 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表