FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [May 2007 Threads] Low-Power-ManagementPosted by Nobody/Anonymous on May 8, 2007 Hi,
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 ?
Jürgen
RE: Low-Power-ManagementPosted 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].
Regards.
RE: Low-Power-ManagementPosted by Nobody/Anonymous on May 13, 2007 Hello. I also will be glad to seeing Your modification. My
RE: Low-Power-ManagementPosted 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
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|