Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 29 Apr 2008 09:16 AM by  mjm2781
Waking from low power states
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

mattwick



New Member


Posts:
New Member


--
26 Mar 2008 01:19 PM
    Has anyone successfully used a GPIO to wake up out of a low power mode? We are able to enter the mem power state and we've registered our irq such that it is being handled during this low power state, but we can't seem to get our irq to wake the kernel.

    Here are the functions that we're using to setup our irq.

    mxc_request_iomux(MX31_PIN_SCK6, OUTPUTCONFIG_GPIO, INPUTCONFIG_GPIO);
    gpio_config(PORT, PIN, false, GPIO_INT_RISE_EDGE);
    gpio_request_irq(PORT, PIN, GPIO_LOW_PRIO, our_irq_handler, IRQ_FLAGS, DEV_NAME, DEVID);
    set_irq_wake(MXC_GPIO_TO_IRQ(PORT_SIG_TO_GPIO(PORT, PIN)), 1);

    Any help would be appreciated.

    mjm2781



    New Member


    Posts:
    New Member


    --
    29 Apr 2008 09:16 AM
    Hi,

    We were able to wake our system up from a low power sleep mode by asserting ON2B/ON3B low, or by having the timer go off. Sounds like you really want to use a GPIO to do that for your application, so I'm not sure this is that helpful.

    If you don't mind me asking, did you dig into the PMIC to shutdown all the ancilliary supplies / LDOs to get into a really low-power state. And if so, how low in power were you able to go?

    Thanks.
    You are not authorized to post a reply.