cancel
Showing results for 
Search instead for 
Did you mean: 

Several Wakeup Pins

Iman Hosseinzadeh
Associate III

Hi All,

Is it possible to define wakeup pins other than WKUP0 and WKUP1 in STM32L152RC? I need to define three or more wakeup sources.

Thanks in advance.

4 REPLIES 4
Imen.D
ST Employee

Hello @Iman Hosseinzadeh​ ,

There are three WKUP pins (WUKP1, WKUP2 or WKUP3).

Please refer to the STM32L15xRC datasheet for more information.

With Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

For a broader ranges of sources consider using external circuity to combine them

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Iman Hosseinzadeh
Associate III

@Imen DAHMEN​ Thanks! I think the R series don't have the third wakeup.

@Community member​ Thanks. I added an OR circuit two combine two sources. When the MCU wakes up, is it possible to detect the source of wake up?

T J
Lead

do you pull to ground to wake up ?

you can use multiple diodes from many sources to pull that pin down...

use 4 diodes as a 4input OR gate