<?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>High background current after disabling PWM in SoftDevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7771/high-background-current-after-disabling-pwm-in-softdevice</link><description>The question is: how to completely turn off PWM in SoftDevice? 
 I am using the libraries nrf_pwm.h and nrf_pwm.c in this repo for PWM with SoftDevice. Everything seems to work fine (e.g., I can enable up to 4 PWM channels through PPI) except that there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jun 2015 16:35:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7771/high-background-current-after-disabling-pwm-in-softdevice" /><item><title>RE: High background current after disabling PWM in SoftDevice</title><link>https://devzone.nordicsemi.com/thread/27691?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2015 16:35:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:887e1448-c24f-479b-be66-66f97856ce72</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@diode: I found the issue with the example code in the repo is that we forgot to disable the PAN#73 workaround when we disable the pwm. So if you add:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;apply_pan73_workaround(PWM_TIMER, false);&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;and
&lt;code&gt;apply_pan73_workaround(PWM_TIMER2, false);&lt;/code&gt; (if you use 2 timers)&lt;/p&gt;
&lt;p&gt;to the nrf_pwm_set_enabled() function when disabling.&lt;/p&gt;
&lt;p&gt;Then the 300mA extra current consumpt should be removed.&lt;/p&gt;
&lt;p&gt;Also adding PWM_TIMER-&amp;gt;TASKS_SHUTDOWN = 1; could reduce the power consumption a little bit more.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>