This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LPCOMP wake up from 2 different pins

Hi all,

may be you can advice me on a solution.

I need to be able to wake up a system when one of the pins shows more than 1v and I also need to wake up system when the other pin goes under 3v. Is there any good way to do that?

Thanks!

  • Hi,

    There is only one LPCOMP peripheral, so you can only use it to monitor one pin. But the GPIO peripheral can also be used to wake up the chip. So if your 3V pin goes low (below 0.3 x VDD), you can generate a DETECT signal to wake up the chip.

Related