cancel
Showing results for 
Search instead for 
Did you mean: 

Is is possible to wakeup the STM32L496 with an external interrupt in standby mode

saikumar31
Associate

Hello,

currently I'm using stm32l496 in that i want to wake up the controller from the standby mode on an external interrupt.

i configured pin PC13 (supports wake up functionality) as an external interrupt with rising edge , now when the MCU enters into the standby mode, upon receiving external interrupt will the device wakeup?

1 ACCEPTED SOLUTION

Accepted Solutions

The available wakeup sources are stated in the datasheet - they do not include  EXTI.

If EXTI were available as a wakeup source, that would be stated in the datasheet.

View solution in original post

6 REPLIES 6
STTwo-32
ST Employee

Hello @saikumar31 and welcome to the ST Community.

As you can see on the DS11585 Rev 19 page 30:

"The device exits Standby mode when an external reset (NRST pin), an IWDG reset,
WKUP pin event (configurable rising or falling edge), or an RTC event occurs (alarm,
periodic wakeup, timestamp, tamper) or a failure is detected on LSE (CSS on LSE)."

For more details, you can refer to this example. (Please read the readme file of the project).

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Yes, i understood that give confirmation that upon configuring pin PC13 as an external interrupt instead of SYS_WK still is that possible to wakeup the device on an external interrupt event ?


@STTwo-32 wrote:

As you can see on the DS11585 Rev 19 page 20:


you mean page 30?

AndrewNeil_0-1731327808604.png

https://www.st.com/resource/en/datasheet/stm32l496ae.pdf#page=30

Yes, the same thing i interfaced the ST's IIS3DWB MEMS sensor ,currently i'm getting interrups on INT2 pin of the IIS3DWB when there a motion or vibration is detected, the INT2 pin of MEMS sensor is connected to the PC13 , and the PC13 is configured as a EXTI, now if i get interrupt on the INT2 pin does the PC13 recognizes and wakes up the MCU from Standby mode?

As mentioned on the paragraph I shared with you. The PC13 should be configured as a Wake-up pin to wake up the MCU from standby mode. EXTI is not a source of Wake-up.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

The available wakeup sources are stated in the datasheet - they do not include  EXTI.

If EXTI were available as a wakeup source, that would be stated in the datasheet.