2024-11-11 03:52 AM
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?
Solved! Go to Solution.
2024-11-11 06:38 AM
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.
2024-11-11 04:01 AM - edited 2024-11-11 04:31 AM
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.
2024-11-11 04:10 AM
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 ?
2024-11-11 04:23 AM
@STTwo-32 wrote:As you can see on the DS11585 Rev 19 page 20:
you mean page 30?
https://www.st.com/resource/en/datasheet/stm32l496ae.pdf#page=30
2024-11-11 04:30 AM
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?
2024-11-11 05:50 AM - edited 2024-11-11 06:38 AM
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.
2024-11-11 06:38 AM
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.