2018-08-15 01:21 AM
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.
2018-08-16 05:50 AM
Hello @Iman Hosseinzadeh ,
There are three WKUP pins (WUKP1, WKUP2 or WKUP3).
Please refer to the STM32L15xRC datasheet for more information.
With Regards,
Imen
2018-08-16 08:26 AM
For a broader ranges of sources consider using external circuity to combine them
2018-08-19 10:01 PM
@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?
2018-08-20 12:34 AM
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