[En-Nut-Discussion] tickless idle mode

bon at elektron.ikp.physik.tu-darmstadt.de bon at elektron.ikp.physik.tu-darmstadt.de
Mon Dec 3 13:39:14 CET 2018


Andras Szemzo writes:
> Hi,
> 
> I try to implement tickless idle operation for NutOS. I’m using a
> stripped down NutOS (just the kernel, without vfs, net,
> configurator,c runtime etc) on Microchip/Atmel SAMD21 Cortex-m0+.  
> What I do is in the IDLE thread, I added a call to a function which
> have to calculate the next event from the timer list: 
That sounds very interesting.
> 
> ...
>
> With this setup my power consumption is a few uA with NutOS at
> sleep.

Are you using a sleep deeper than WFI/WFE?
Do all peripherals still work in that mode?

For STM32, type, peripheral and peripheral clock type decide if some
peripheral stillworks in sleep modes deeper than WFI/WFE.

> Am I missing something?
>Is there any other implementation of tickeless mode for NutOS?
Nothing that I know of.

Pleasekeep us informed.

Bye

-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------


More information about the En-Nut-Discussion mailing list