Skip to main content
Associate II
July 6, 2024
Solved

Stm32f103c8t6 sleep mode and Wakeup mode

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

This topic has been closed for replies.
KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
July 15, 2024

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 "Best answer" on the reply which solved your issue or answered your question.

1 reply

KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
July 15, 2024

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 "Best answer" on the reply which solved your issue or answered your question.