2024-04-17 01:11 AM - edited 2024-04-17 01:42 AM
Helllo Frends,
I am workin on FreeRTOS with STM32f411CEU6 Blackpill.
In this I am facing issue with using sleep mode because there is no pin LPTIM1 in the section of TIMERS.
I tryed bothe of them CMSIS_V1 and CMSIS_V2.
Is there aany Way to use SLEEP MODE
Solved! Go to Solution.
2024-04-17 01:58 AM
Use one of the timers which is available!
RTC might be an option?
The FreeRTOS documentation should cover this...
2024-04-17 01:30 AM
@Kai_Satone wrote:STM32f411CEU6 ... there is no pin LPTIM1 in the section of TIMERS.
That chip doesn't have an LPTIM1 timer:
@Kai_Satone wrote:Blackpill.
Beware that many of the "pill" boards have fake STM32s
2024-04-17 01:47 AM
Im hopin that there is any other way to usee sleep mode in RTOS
2024-04-17 01:58 AM
Use one of the timers which is available!
RTC might be an option?
The FreeRTOS documentation should cover this...
2024-04-17 02:24 AM
Hello @Kai_Satonen
To reach stop modes you can use LPTIM or RTC clocked by LSE... typically, the RTC has a resolution of 1 sec, which is inappropriate for most cases. it is mostly used in deeper sleep modes and not in sleep mode.
I would as well suggest upgrading to another STM32 as @Andrew Neil said the blackpills are mostly fake!
There are quite range of affordable Nucleo boards with LPTIM, for instance you can choose a NucleoL0 or L4
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-04-17 02:26 AM
@Sarra.S wrote:typically, the RTC has a resolution of 1 sec, which is inappropriate for most cases.
The "sub-seconds" might be usable ...
2024-04-17 02:42 AM
@Andrew Neil wrote:
@Kai_Satone wrote:STM32f411CEU6 ... there is no pin LPTIM1 in the section of TIMERS.
That chip doesn't have an LPTIM1 timer:
Chips which do have LPTIM:
So an L4 would be the closest to what you have ...
2024-04-17 02:54 AM
@Kai_Satone wrote:FreeRTOS with STM32f411
https://www.google.com/search?q=freertos+with+stm32f411+sleep+mode