<?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>Create PWM sequence using TIMER/GPIOTE/PPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15655/create-pwm-sequence-using-timer-gpiote-ppi</link><description>Due to the PWM driver having intermittent issues we had to replace it with a TIMER/PPI/GPIOTE setup.
The PWM is working great in this way, but now I&amp;#39;d like to have one of the TIMER compare values iterate through a sequence without using interrupts. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Sep 2016 17:55:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15655/create-pwm-sequence-using-timer-gpiote-ppi" /><item><title>RE: Create PWM sequence using TIMER/GPIOTE/PPI</title><link>https://devzone.nordicsemi.com/thread/59769?ContentTypeID=1</link><pubDate>Wed, 14 Sep 2016 17:55:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eaf0bc61-f7de-4488-80f5-fb844807193f</guid><dc:creator>Ian</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;The intermittent issues caused the PWM to jump to 100% occasionally when using the soft device. The issue was brought up with Martin and Ole previously.&lt;/p&gt;
&lt;p&gt;I ended up using an app timer to do the PWM in a similar way as low_power_pwm does, as it did not need to be accurate. I was hoping to avoid using interrupts but current consumption of the LF clock is so low that this method is adequate.&lt;/p&gt;
&lt;p&gt;Thanks for the help,
Ian&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Create PWM sequence using TIMER/GPIOTE/PPI</title><link>https://devzone.nordicsemi.com/thread/59768?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2016 08:27:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f669705-767c-44d3-bb80-57e7c48e9fd2</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Ian&lt;/p&gt;
&lt;p&gt;What intermittent issues are you having with the PWM driver?&lt;/p&gt;
&lt;p&gt;There are two pwm libraries available in the SDK, one is the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/lib_pwm.html?cp=6_0_0_3_20"&gt;pwm_library&lt;/a&gt;, which uses TIMER+GPIOTE+PPI. Another library is the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/lib_low_power_pwm.html?cp=6_0_0_3_14"&gt;low_power_pwm&lt;/a&gt;, which uses application timers and RTC1 in the background. It is therefore not very accurate but can control e.g. LEDs etc. There are examples in SDK 11.0.0 that use both those libraries.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>