Skip to main content
kontakt
Visitor II
December 21, 2010
Question

Missing wake up interrupt when entering low power mode?

Posted on December 21, 2010 at 19:09

Missing wake up interrupt when entering low power mode?

    This topic has been closed for replies.

    2 replies

    joseph239955_st
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 14:19

    Please use WFE for this, and insert a SEV into the interrupt handler.

    Since the WFE receive the event from the SEV, it will not enter sleep mode.

    Hope this helps and Merry Christmas :)

    damh
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 14:19

    The wakeup logic is an OR-gate (RTC-ALARM OR PA0-WKUP). If your trigger sets PA0 high in the wrong moment, it is possible to never wake up again. The wakeup signal should be toggled every about 80µs to be sure to wake up. If it is no problem to loose one trigger signal, limit the trigger signal to 80µs.

    I didn't tried, but the IWDG could help in this case, because it should wake up from standby even with high signal at PA0.