Quality RTOS & Embedded Software

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



Posted by Nobody/Anonymous on May 8, 2007

i have running A IAR-MSP430 Port of V4.2.0 with some small extentions for Low-Power-Modes.
So the System is running in Power-Down with the 32kHz - Clock as a Realtime Clock toggeling ans showing on LCD every second with 10uA current.

For Power-Down I loaded the value of the tik-counter in a timer with the next task-wakeup-time and coroutine-wakeup-time in a Compare-Register of that Timer.

So the Controller can Sleep up to the nextwakeup or asynchron event.

Then the Tik-Counter is restored and the normal Realtime-Tiks are Handled.

If there ist no task or coroutine to run, the Power-Down-Mechanism is Called in the IDLE-task.

I Implemented this in port.c file but I extended the task.c with some small Routines to get and set the TIKs

portTickType xTaskGetxTickCount(void)
void xTaskSetxTickCount( portTickType newxTickCount )

and to get the next Timepoint to wake up

portTickType xTaskGetNextDelayedTik( void )
portTickType pxGetNextDelayedCoRoutineTik ( void )

Are there an interest or plans to implement some more low-power-management feature in Free RTOS ?


RE: Low-Power-Management

Posted by Richard on May 8, 2007
Hi - Nice work - I would definitely be interested in seeing your modifications. My email address is r [_dot] barry [_at] freertos.org.

[attachments get stripped from SourceForge emails].


RE: Low-Power-Management

Posted by Nobody/Anonymous on May 13, 2007
I also will be glad to seeing Your modification. My

RE: Low-Power-Management

Posted by Nobody/Anonymous on May 14, 2007
I too would like to see your implementation of low power management, please send to frankwa [_at]gmail.com

Best regards, Frank Andersen

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

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

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

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

Xilinx Microblaze and Zynq partner