Skip to main content
Visitor II
July 1, 2003
Question

Wake up from Power Down Mode with the Fast External Interrupts

  • July 1, 2003
  • 6 replies
  • 1178 views
Posted on July 01, 2003 at 06:54

Wake up from Power Down Mode with the Fast External Interrupts

    This topic has been closed for replies.

    6 replies

    steffen2Author
    Visitor II
    June 17, 2003
    Posted on June 17, 2003 at 07:11

    How can i wake up the ST10 with a Fast External Interrupt from the Power Down Mode. The ST10 goes in the Power Down Mode with the _pwrdn() instruction so far it works, but i can't wake him up.

    The wake will be done with a high to low transition on one of the Fast External interrupts.

    How do i have to configure the Fast External Interrupts in my

    c program.
    Visitor II
    June 17, 2003
    Posted on June 17, 2003 at 09:19

    Hello,

    in order to be able to wake-up the ST10 with an external interrupt, you need to activate the interruptible power-down mode by setting the PWDCFG bit in SYSCON register.

    Be careful this register can only be modified during the initialization period, before the EINIT instruction.

    Let us know if this does not solve the problem.

    steffen2Author
    Visitor II
    June 17, 2003
    Posted on June 17, 2003 at 11:15

    Hello,

    the PWDCFG bit in SYSCON register ist activated. My question is how do i have to configure the external interrupt in the c programm.

    Are there any examples for the power down mode?
    Visitor II
    June 17, 2003
    Posted on June 17, 2003 at 14:17

    The register to setup is called EXICON, a description of the bits is available in the user's manual.

    You can get the ST10F269 user's manual on foillowing link:

    http://us.st.com/stonline/books/pdf/docs/8456.pdf

    look at page 296.
    steffen2Author
    Visitor II
    June 26, 2003
    Posted on June 26, 2003 at 07:40

    It is not clear for me, for example we want to use p2.12 for waking up the ST10. Do we have to configure the p2.12 as a normal interrupt (CC12IO) and additonaly set the EXICON register??

    steffen2Author
    Visitor II
    July 1, 2003
    Posted on July 01, 2003 at 06:54

    Thanks a lot for your help Max.

    i got the solution

    [ Diese Nachricht wurde editiert von : steff76 on 01-07-2003 10:25 ]