<?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>Is it possible to make 5 PWM outputs on NRF51422 (or NRF51822)?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8480/is-it-possible-to-make-5-pwm-outputs-on-nrf51422-or-nrf51822</link><description>I know that it is possible to make 4 PWM outputs, but I need to generate 5. I will be using SoftDevice 110 and BLE. Is there any possible way to generate a 5th PWM output? 
 Any advice would be much appreciated.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Aug 2015 13:36:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8480/is-it-possible-to-make-5-pwm-outputs-on-nrf51422-or-nrf51822" /><item><title>RE: Is it possible to make 5 PWM outputs on NRF51422 (or NRF51822)?</title><link>https://devzone.nordicsemi.com/thread/30944?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2015 13:36:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c7b7a49-5241-4a6b-842e-faec2f2a3f6a</guid><dc:creator>Brandon A</dc:creator><description>&lt;p&gt;Ok, I see. I don&amp;#39;t think I will try to add a 5th pwm output then. Thanks for helping!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to make 5 PWM outputs on NRF51422 (or NRF51822)?</title><link>https://devzone.nordicsemi.com/thread/30943?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2015 06:05:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46c74ad3-2917-464d-b0bc-08e6013baade</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Bit bang is not reliable, GPIOTE helps make the big bang implementation more reliable. For the 5th PWM you would not have a GPIOTE available, that makes things even harder.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to make 5 PWM outputs on NRF51422 (or NRF51822)?</title><link>https://devzone.nordicsemi.com/thread/30942?ContentTypeID=1</link><pubDate>Tue, 04 Aug 2015 13:20:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f913816a-2ec2-46df-b88d-0f18169cd926</guid><dc:creator>Brandon A</dc:creator><description>&lt;p&gt;Hi Øyvind,&lt;/p&gt;
&lt;p&gt;Thanks for your answer. When you say that I will not be able to get reliable PWM output on a 5th pin, do you mean that bit bang pwm won&amp;#39;t give reliable output, or is there a way to send a 5th PWM output to a non-GPIOTE pin that is unreliable?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to make 5 PWM outputs on NRF51422 (or NRF51822)?</title><link>https://devzone.nordicsemi.com/thread/30941?ContentTypeID=1</link><pubDate>Mon, 03 Aug 2015 06:23:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2d16d8e-6283-4f1b-99b0-f8bf7097f3c8</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have 4 compare events per timer instance, for each of these 4 one will be used as a reset. That means that we&amp;#39;re left with three possible outputs per timer. In operation alongside the SoftDevice we will have access to two timers, this gives us a total of 6 outputs.&lt;/p&gt;
&lt;p&gt;The problem is that we only have 4 GPIOTE slots, which means that you will not get reliable PWM output, this might be fine if you want to control a LED or simple motor.&lt;/p&gt;
&lt;p&gt;For help on implementation search google for &amp;quot;bit bang pwm&amp;quot;, and there should be some useful results.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>