Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

How to enter and exit low power mode

Posted by mige on January 26, 2018

Hello,

we are developing a new product based on FreeRTOS that has to support a low power mode. Last year, we created a first prototype that seems to work.

Now, I read about the tickles idle mode (see https://www.freertos.org/low-power-tickless-rtos.html). Our Implementation does not use that mode.

If the provided power is under the normal limit, our implementation disables all peripherals and interrupts directly including the timer that would trigger the scheduler. Because of that, we had to enable the schedulers timer interrupt in portYIELDWITHINAPI in contrast to portYIELD, where that timer is still disabled. Only the RTC is enabled, to wake up the system after one minute.

We are using a Renesas YRDKRL78G13 evaluation board. If there is a port available for this processor/board that implements the low power mode, please let me know.

I would like to know your opinion about the implementation of the low power mode.

Thanks


How to enter and exit low power mode

Posted by rtel on January 26, 2018

I think there is a tickless example for the RX100 (another Renesas proprietary core), but not the RL78.

In your application, does it matter if the system time is not maintained across sleeps? If so it is probably ok. The tickless mode is designed to correct the time after the system wakes.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Meet us at Embedded World. Hall 3A-525.

Hear from Richard Barry at Embedded World. Feb 28, 16:00, Hall 4-428.

Video: Watch James Gosling & Richard Barry at re:Invent, Las Vegas 2017.

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS