This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Wake up from LPM3 with application of VCC?

Other Parts Discussed in Thread: MSP430F5335

We’re working with the MSP430F5335. We want to determine whether it’s possible to wake from LPM3 or (preferably) LPM3.5 with application of VCC. Also, if there are any code snippets that can be shared on setting up the MSP for LPM3 or 3.5, that would be welcome as well.

Thank you,

Adam

  • Hi Adam,

     Unfortunately I'm not following your request,

    Adam Garrison1 said:
    wake from LPM3 or (preferably) LPM3.5 with application of VCC

    Could you please give us more information??

    Do you want to wake up from lpm3 after you apply VCC to one of the GPIO's??

     

      Regards,

       David

  • That would be one strategy. I was thinking more along the lines of if VCC goes from <2.2 to >3V, the device wakes up from LMP3 or LPM3.5.

    Adam
  • Hi Adam,
    You could for example use Comparator B. Set one input to a fixed reference voltage and the other input you could divide with a voltage divider to compare it against your reference voltage. Please note, a voltage divider can consume a lot of power, so take care of our resistor values.
    If your Vcc rises above a selected voltage, the comparator crates an interrupt and will wakeup your device.

    Before somebody will shout at me, well, there are for sure some other possibilities… that’s just one idea.

    Best regards,
    Tobias
  • You could also use a simple pin interrupt. Then you should set your resistor divider slightly above the minimum threshold voltage of the input Schmitt trigger. But the way Tobias has mentioned has an advantage: The voltage you compare against is fixed and does not depend on manufacturing tolerances between different devices as much.

**Attention** This is a public forum