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
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 ?
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].
Posted by Nobody/Anonymous on May 13, 2007
I also will be glad to seeing Your modification. My
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
Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd..
See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.