Go to previous topic
Go to next topic
Last Post 29 Apr 2008 09:16 AM by  mjm2781
Waking from low power states
 1 Replies
Author Messages
mattwick
New Member
New Member
Posts:


--
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
    New Member
    Posts:


    --
    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.


    ---