<?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>NRF PWM LIBRARY UNABLE TO SET VALUE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/3918/nrf-pwm-library-unable-to-set-value</link><description>Hi, 
 I&amp;#39;m currently trying to use the PWM Library in the LED Button Example, I was able to get the LED to blink with the PWM library when USE_WITH_SOFTDEVICE=0, but ofcourse I then cannot control the LED from my phone, the real problems is once i&amp;#39;ve</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Oct 2014 13:39:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/3918/nrf-pwm-library-unable-to-set-value" /><item><title>RE: NRF PWM LIBRARY UNABLE TO SET VALUE</title><link>https://devzone.nordicsemi.com/thread/14107?ContentTypeID=1</link><pubDate>Mon, 06 Oct 2014 13:39:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7efa770f-0ace-41b2-ac09-f1ee52f6c9fa</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;You must make sure that the application wakes up from power_manage() to configure the pwm. Use for example an app_timer and run the pwm configurations from there. You&amp;#39;ll see that if you comment out power_manage in your code it will run as expected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF PWM LIBRARY UNABLE TO SET VALUE</title><link>https://devzone.nordicsemi.com/thread/14106?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2014 19:42:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d28f5fce-d01f-4e75-b614-5d42f84e44f4</guid><dc:creator>epinnock</dc:creator><description>&lt;p&gt;I&amp;#39;m using the nrfpwm library located at the nordic github
so here are the exact lines&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#if(USE_WITH_SOFTDEVICE == 1)
 sd_ppi_channel_assign(ch_num, event_ptr, task_ptr);
 sd_ppi_channel_enable_set(1 &amp;lt;&amp;lt; ch_num);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Also It&amp;#39;s advertising and I&amp;#39;m able to connect to the device, the problem is that I&amp;#39;m unable to alter the state of the LED.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF PWM LIBRARY UNABLE TO SET VALUE</title><link>https://devzone.nordicsemi.com/thread/14105?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 14:34:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a9e99dd-9991-4870-a9cb-db125a7ac004</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;How are you assigning PPI channels for the PWM? Are you using the sd_ calls through the softdevice or are you writing directly to the PPI? If you are enabling the softdevice you must use the softdevice functions to access the ppi channels.&lt;/p&gt;
&lt;p&gt;Do you see that the device is advertising or is it hanging in the initialization? I&amp;#39;m just trying to understand where it stops when you enable the softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>