Shopping Cart | 中文网站
 
 
Overview
Online Support
FAQ
  Atmel Boards  (37) TOP10
  MYD-SAM9X5 (9)
  MYS-SAM9X5 (2)
  MYS-SAM9G45 (1)
  MYD-SAMA5D3X (14)
  MYD-SAM9X5-V2 (2)
  MYC-SAM9X5 (4)
  MYC-SAM9X5-V2 (1)
  MYC-SAMA5D3X (1)
  MYD-JA5D4X (3)
  NXP Boards  (6) TOP10
  MYD-LPC435X (2)
  MYD-LPC185X (1)
  MYD-LPC1788 (0)
  MYS-6ULX (3)
  Samsung Boards  (0) TOP10
  TI Boards  (21) TOP10
  MYD-AM335X (9)
  MYC-AM335X (1)
  Rico Board (6)
  MYD-C437X-PRU (5)
  Other  (3) TOP10
  MY-WF003U (1)
  Freescale Boards  (2) TOP10
  MYD-IMX28X (2)
  Xilinx Boards  (25) TOP10
  Z-turn Board (10)
  MYD-C7Z010/20 (7)
  MYD-C7Z015 (7)
 
  Home >  Support > Atmel Boards > MYD-SAMA5D3X
 
How to do sleeping test on MYD-SAMA5D3X development board?
 
Question
How to do sleeping test on MYD-SAMA5D3X development board?
Answer

Linux has two sleeping modes: mem and standby. Both of the two modes are suspend to

RAM (called STR for short). But the standby mode will require more power and spend

less time to return to normal working mode. 


1. Sleeping command

1

2

3

4

5

6

7

8

# echo mem > /sys/power/state

or

# 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)

 

2.  WakeUp

Press the USER (K3) button on the development board to wake up the system. The output is as

below:

01

02

03

04

05

06

07

08

09

10

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.


3. MYD-SAMA5D3X power consumption
Normal running without LCD: about 5V/350mA
Normal running with LCD: about 5V/395mA
Sleeping mode: about 5V/208mA



1
2
3
4
5
6
7
8
# 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)

 

Room 04, 6th Floor, Building No.2, Fada Road, Yunli Smart Park, Bantian, Longgang District, Shenzhen, Guangdong, China 518129
E-mail: sales@myirtech.com or myirtech@yahoo.com  Phone: +86-755-22984836  Fax: +86-755-25532724
Copyright © MYIR Tech Limited 2011-2017 all rights reserved.