<?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>nRF51822 and PWM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12924/nrf51822-and-pwm</link><description>Hi all, 
 I see that the nRF51 doesn&amp;#39;t have a PWM module and a software PWM library is needed. How well does the software module actually run? I&amp;#39;ve had rather bad experiences with software I2C in the past (on another processor), so I wonder how stable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 01 Apr 2016 13:42:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12924/nrf51822-and-pwm" /><item><title>RE: nRF51822 and PWM</title><link>https://devzone.nordicsemi.com/thread/49232?ContentTypeID=1</link><pubDate>Fri, 01 Apr 2016 13:42:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12488787-9c5f-43ec-9b08-0e8b44fcca2e</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;PWM on nRF51 is implemented using TIMER, PPI and GPIOTE, so it is not software in the sense that gpio is toggled in software. It is more a combination of different hardware peripherals to do what a hardware PWM does.&lt;/p&gt;
&lt;p&gt;I would recommend to use the PWM library from SDK 10 or 11. The PWM library had some issues prior to SDK 10 that the signal was inverted, but this is now fixed. Unfortunately the PWM library you linked to also have had reported issues of inverting.&lt;/p&gt;
&lt;p&gt;The PWM library from SDK 10 or 11 implemented a way of fixing this. It does have some limitiations described &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/lib_pwm.html"&gt;here&lt;/a&gt; which includes duty cycle update latency, number of channels per timer and frequency of PWM signal. For most users this is not a problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>