We're looking for something less external mcu-based in order to exploit all the AM335x capabilities. I would prefer consume a bit more without making the project too complex with programming an external mcu :)
I'm wondering if the BB offers a inner way to sleep/awake or at least the possibility to use the GPIO and the external rtc with the interrupt. I'm trying rtcwake with 'standby' mode and it's working quite good, but the best (imho) wat would be the 'mem' mode if it's possible to wake it up with the rtc (rtc0 or rtc1). I'm using an external RTC because I will have possible situations without the access to Internet, like you guessed. Il giorno giovedì 16 febbraio 2017 20:36:47 UTC+1, William Hermans ha scritto: > > If you want the lowest possible power usage from the beaglebone, and using > something like, or akin to sleeping the system. You will need an external > processor( low power MCU ) involved. > > It would work something like this: > > > - The beaglebone is completely powered down > - the External MCU would toggle power, and reset lines on the > beaglebone. > - The beaglebone after boot through systemd would run a OneShot > service. > - This services calls a script that runs through a sequence of things > it must do for a single time period. Lastly, the board powers down. > - The MCU, has a timer loop than will toggle toggle the power and > reset lines on the beaglebone every X time period. > > While your at it, add psuedo watch dog functionality to your MCU, which > basically you've already done by following the above proceedures. Add an > I2C RTC to the board you made for this automated wake up system described > above. As the onboard beaglebone RTC functions, but only while it has power. > > On Thu, Feb 16, 2017 at 8:22 AM, Davide Aguiari <[email protected] > <javascript:>> wrote: > >> *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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beagleboard/ce98bb67-36b6-4d9f-9e00-d9b55fb970e4%40googlegroups.com >> >> <https://groups.google.com/d/msgid/beagleboard/ce98bb67-36b6-4d9f-9e00-d9b55fb970e4%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/939e2aba-e426-44d1-8718-2ac0d87b5e60%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
