<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nRF52 FreeRTOS Power Consumption Tickless Idle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12363/nrf52-freertos-power-consumption-tickless-idle</link><description>I have a project using FreeRTOS with Tickless idle enabled, SDK 11.0.0 alpha and the S132 soft device. Currently the project is consuming ~6.5mA average, ~5.2mA if advertising is disabled. 
 This is on our own hardware platform but I have confirmed all</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Jul 2018 04:00:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12363/nrf52-freertos-power-consumption-tickless-idle" /><item><title>RE: nRF52 FreeRTOS Power Consumption Tickless Idle</title><link>https://devzone.nordicsemi.com/thread/141239?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 04:00:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2764c4a9-dc95-48a9-98a3-5541a1108029</guid><dc:creator>inghowe83</dc:creator><description>&lt;p&gt;Hi Darren,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m interested to use tickless interrupt feature with softdevices, mind to share where can I get more info on how to configure this feature? Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS Power Consumption Tickless Idle</title><link>https://devzone.nordicsemi.com/thread/46759?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2016 17:46:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db7ba602-36db-4057-8f35-2b859f05293e</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;The current consumption turned out to be due to an unhandled FPU divide by 0 interrupt.  See this post &lt;a href="https://devzone.nordicsemi.com/question/70989/fpu-divide-by-0-and-high-current-consumption/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS Power Consumption Tickless Idle</title><link>https://devzone.nordicsemi.com/thread/46758?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2016 11:45:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4689dd9-3b68-4e03-a69a-7ff4971867e0</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Are you using the pwm driver? Depending on how you set it up, it might fire a callback interrupt every time the counter reaches the top, or the sequence is played through. Can you post the code where you initialize and start the PWM?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS Power Consumption Tickless Idle</title><link>https://devzone.nordicsemi.com/thread/46757?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2016 06:34:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd365230-878a-456e-8238-77d526d55beb</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;Anders,&lt;/p&gt;
&lt;p&gt;Thanks for the reply! I have temporarily disabled tickless idle and switched back to the idle task, see below.  The debug IO is being toggled at a rate of 4.40us which is close to the rate we have set our PWM to.  Is it possible we are missing an event in the PWM hardware module?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;/** Called when there is no work for the OS to do.
&lt;/code&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In the case of this design that means once every tick.
*/
void vApplicationIdleHook( void )
{
nrf_gpio_pin_toggle(DEBUG_PIN);&lt;/p&gt;
&lt;p&gt;uint32_t err_code = sd_app_evt_wait();
APP_ERROR_CHECK(err_code);
}&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52 FreeRTOS Power Consumption Tickless Idle</title><link>https://devzone.nordicsemi.com/thread/46756?ContentTypeID=1</link><pubDate>Mon, 07 Mar 2016 14:58:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1caaf76d-4f98-41ea-bf3e-33101d3a88c3</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hello.&lt;/p&gt;
&lt;p&gt;6.5 mA indicates that the cpu is running most of the time. In the tickless idle mode, the chip is put to sleep when no task is running. It is woken up by any interrupt source, in addition to the wakeup timer of the scheduler.&lt;/p&gt;
&lt;p&gt;This means that you either have interrupts triggering frequently, or that your rtos tasks are not sleeping. If the chip is not woken up by other interrupts, your chip should sleep when you call vTaskDelay or other function that make your task sleep.&lt;/p&gt;
&lt;p&gt;You can call sd_power_dcdc_mode_set() in main(), after you have enabled the softdevice. If the softdevice is enabled in some rtos task, you call this function there instead. To use the DCDC, you must have some external components.
See the page about &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.0/power.html?cp=1_2_0_16#concept"&gt;power supplies&lt;/a&gt; in the product spec.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>