2024-07-06 08:25 AM
Hi friends,
I have to configure Sleep mode and Wakeup mode in STM32F103C8T6 and STM32F407VET6 using RTC .But i did not know how to configure this process .I need your guidance how to configure this by using datasheet and one important point is i have to use only internal clock for my configure. Thank you for advance for yours response
Solved! Go to Solution.
2024-07-15 08:05 AM
Hello @Vignesh_V ,
If the WFI instruction is used to enter Sleep mode, any peripheral interrupt acknowledged by the nested vectored interrupt controller (NVIC) can wake up the device from Sleep mode.
I recommend you to get inspired from these examples to configure your own project:
- PWR_SLEEP for STM32F1 device and PWR_CurrentConsumption for STM32F407 device: These examples explain how to enter the Sleep mode and wake up from this mode by using an interrupt.
- How to configure the RTC to wake up the STM32 periodically from Low Power modes: This FAQ descripts how to configure the RTC peripheral of the STM32 to wake up the STM32 periodically from a low power mode.
I hope this help you.
Kaouthar
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-07-15 08:05 AM
Hello @Vignesh_V ,
If the WFI instruction is used to enter Sleep mode, any peripheral interrupt acknowledged by the nested vectored interrupt controller (NVIC) can wake up the device from Sleep mode.
I recommend you to get inspired from these examples to configure your own project:
- PWR_SLEEP for STM32F1 device and PWR_CurrentConsumption for STM32F407 device: These examples explain how to enter the Sleep mode and wake up from this mode by using an interrupt.
- How to configure the RTC to wake up the STM32 periodically from Low Power modes: This FAQ descripts how to configure the RTC peripheral of the STM32 to wake up the STM32 periodically from a low power mode.
I hope this help you.
Kaouthar
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.