Electronic Components Datasheet Search
  English  ▼

X  

UM0851 Datasheet(PDF) 233 Page - STMicroelectronics

Part # UM0851
Description  SPEAr is a family of highly customizable ARM-based embedded
PDF  245 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM0851 Datasheet(HTML) 233 Page - STMicroelectronics

Back Button UM0851 Datasheet HTML 229Page - STMicroelectronics UM0851 Datasheet HTML 230Page - STMicroelectronics UM0851 Datasheet HTML 231Page - STMicroelectronics UM0851 Datasheet HTML 232Page - STMicroelectronics UM0851 Datasheet HTML 233Page - STMicroelectronics UM0851 Datasheet HTML 234Page - STMicroelectronics UM0851 Datasheet HTML 235Page - STMicroelectronics UM0851 Datasheet HTML 236Page - STMicroelectronics UM0851 Datasheet HTML 237Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 233 / 245 page
background image
UM0851
Power management section
Doc ID 16604 Rev 2
233/245
10.4
Usage and performance
10.4.1
Usage: Linux PM framework
●
The status of the devices which have been setup as the wake up events, is available
through the sysfs interface. Below is the status of the devices that have the capability to
wake up SPEAr from sleep mode.
–
Wake-up source status:
If any of the sources has been enabled to provide wake-up from sleep, its status can be
captured by the following command.
$ cat /sys/devices/platform/spear-eth/power/wakeup
$ enabled
$ cat /sys/devices/platform/spear-rtc/power/wakeup
$ enabled
●
To put the system into sleep mode, execute the following command:
$ echo mem >/sys/power/state
PM: Syncing FileSystems …done
Freezing User Space processes…(elapsed 0.00 seconds) done.
Freezing remaining freezable tasks …(elapsed 0.00 seconds) done
Suspending Console(s) (use no_console_suspend to debug)
●
The system comes out of sleep mode either through the Ethernet Wake, or RTC alarm,
or through GPIO. This has been tested using the following setups:
–
Wake-up through Ethernet
Connect the SPEAR board on the network to Linux PC via a cross cable. Setup
the system IP address for SPEAR.
$ ifconfig eth0 192.168.1.11
Put the system in sleep, using the suspend command. Now from a distant PC
send across the wakeup command.
$ ether-wake <MAC Address of SPEAR)
The SPEAR board comes out of sleep and gives the following debug messages
$ Restarting Tasks … Done
–
Wake-up through RTC
Set Up the RTC alarm as the wakeup event from the application space.
The
command below sets the wakeup event after 10 seconds.
$rtc-wake -s 10
Now Put the system in sleep mode, and the system wakes up in 10 seconds. The
debug prints are same as the ones obtained for the Ethernet.
The SPEAR board comes out of sleep and gives the following debug messages
$ Restarting Tasks … Done
10.4.2
Usage: clock framework
The clock dependency tree can be viewed from user space by typing in the following
command:



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com