<?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>PWM current / power consumption</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10800/pwm-current-power-consumption</link><description>Hello, 
 I need help, 
 I&amp;#39;am using uvision V5.17, SDK 9.0.0 and SD130. 
 First problem is solved, 
 If I don&amp;#39;t declare app_pwm_init() in app_pwm.h, the current is 0.4mAh steadily, 
 but If I declare app_pwm_init() the current increase to 1.6mAh.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Jul 2016 12:21:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10800/pwm-current-power-consumption" /><item><title>RE: PWM current / power consumption</title><link>https://devzone.nordicsemi.com/thread/40376?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 12:21:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a27d7b0e-26dd-46b2-89c2-6d22b4810d1e</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;How high and how short? You can only start the PWM and comment out all other code to only measure PWM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM current / power consumption</title><link>https://devzone.nordicsemi.com/thread/40373?ContentTypeID=1</link><pubDate>Fri, 15 Jul 2016 08:07:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9316b82d-6312-450b-b222-c1ae43a1af90</guid><dc:creator>hawk</dc:creator><description>&lt;p&gt;hi, ole:   it is very strange. i test the pwm by test equipment to check the voltage, it  is good.  but tester guy use current test equipment  to check the pwm, but the current  sometime is high very short time. there are some burrs... How to deal with this problem.. so  i want to disable all the other interrupts while PWM is running to check other interrupts influence this pwm.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM current / power consumption</title><link>https://devzone.nordicsemi.com/thread/40375?ContentTypeID=1</link><pubDate>Wed, 13 Jul 2016 11:13:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77e111b1-68f6-4b5a-bcef-8d1f095dc52d</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You can comment out &lt;code&gt;ble_advertising_start(..);&lt;/code&gt;, then the device will not start advertising and the current should be more or less stable.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM current / power consumption</title><link>https://devzone.nordicsemi.com/thread/40374?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 04:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0d978a8-534c-4bea-9e92-63cfe6f3c5b8</guid><dc:creator>hawk</dc:creator><description>&lt;p&gt;i make pwm by setting gpio high or low， and  test the current and found  the current sometime is not still。  can i disable ble  ？&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM current / power consumption</title><link>https://devzone.nordicsemi.com/thread/40372?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2015 08:59:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7fc7f8f-a6d9-46e1-bed6-c18211942f94</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;What other things are you running? Could you try to only run the PWM part and see if the current is still the same? Are you running multiple instances of PWM?&lt;/p&gt;
&lt;p&gt;The PWM driver will require the high frequency clock to run, which will cause an increase in current consumption. The high frequency clock will only be stopped if no resources are requiring it. If you have to PWM instances enabled, then disabling one of them will not decrease the current consumption since the high frequency clock is still running.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM current / power consumption</title><link>https://devzone.nordicsemi.com/thread/40371?ContentTypeID=1</link><pubDate>Wed, 16 Dec 2015 05:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80ca4802-55a3-420d-b4df-81554eb9b290</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I did it as you mentioned that including app_pwm.c and app_pwm.h files from sdk 10.
Therefore I only use app_pwm_disable(), but the current still in instability 0.4mAh to 0.8mAh.&lt;/p&gt;
&lt;p&gt;It can&amp;#39;t be fixed for now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM current / power consumption</title><link>https://devzone.nordicsemi.com/thread/40370?ContentTypeID=1</link><pubDate>Fri, 11 Dec 2015 10:13:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:496357e4-e2e1-4ea1-bf67-339b490cab13</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The SDK 9 driver has some known issues regarding app_pwm_uninit() and app_pwm_disable(). I will therefore suggest that you use the SDK 10 driver. You only need to call app_pwm_disable(), as this will stop the timer and reduce the current consumption. app_pwm_uninit() is for deallocate the resources used by the pwm and are therefore not necessary to call in your case. You should also remove the nrf_drv_gpiote calls, this is fixed by the driver. Doing nrf_drv_gpiote calls on the pwm pin may create issues with the pwm driver.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t want to migrate the project to SDK 10, it should be possible to only include the app_pwm.c and app_pwm.h files.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>