*Kernel*: Linux beaglebone 4.4.48-ti-r88 #1 SMP Sun Feb 12 01:06:00 UTC 
2017 armv7l GNU/Linux
*OS*: Debian 8.1

In order to get a low-power board, I get sensors data every 10min and I 
need to sleep meanwhile.
I have an external RTC DS3231 with a SQW pin in order to setAlarm. I can 
plug it to a gpio and it changes its value when I want.

What I would like is:
1) After the sampling, put the board in the highest low-power mode as 
possible (only the RTC running?)
2) Let the RTC wakup from suspension changing the gpio pin value

I tried:
root@beaglebone:/# echo standby > /sys/power/state 

The rtc set the gpio value from 1 to 0 but it doesn't wakeup. I think 
because I *don't have *the wakup option in /sys/class/gpio/gpio44/power. 
Right? How could I enable it?

Is there a way to close the 3.3/5V output to the sensor when the device is 
sleeping and reopen it after wakeup?

It this 
<http://processors.wiki.ti.com/index.php/AM335x_Power_Management_Standby_User%27s_Guide#GPIO_wakeup>
 
guideline still good for my beaglebone green wireless? It tells to set 

echo uart0_rxd.gpio1_10=0x27,rising > standby_gpio_pad_conf 

but If I would set gpio P8_12? 
Something like:

echo something.gpio44=0x??, falling > standby_gpio_pad_conf

???

Some tutorials speak about a GPIO0 use for wakeup. Which is in our BB?

Is this the right way?

Thank you for the support :D

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/ce98bb67-36b6-4d9f-9e00-d9b55fb970e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to