Skip to main content
Iman Hosseinzadeh
Associate III
August 15, 2018
Question

Several Wakeup Pins

  • August 15, 2018
  • 4 replies
  • 675 views

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.

This topic has been closed for replies.

4 replies

ST Technical Moderator
August 16, 2018

Hello @Iman Hosseinzadeh​ ,

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

Please refer to the STM32L15xRC datasheet for more information.

With Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Tesla DeLorean
Guru
August 16, 2018

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

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Iman Hosseinzadeh
Associate III
August 20, 2018

@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
Senior III
August 20, 2018

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