<?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 pwm</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1810/nrf51822-pwm</link><description>Is possible to generate 4 different pwm with the NRF51822 ?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 20 Apr 2014 11:07:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1810/nrf51822-pwm" /><item><title>RE: NRF51822 pwm</title><link>https://devzone.nordicsemi.com/thread/7866?ContentTypeID=1</link><pubDate>Sun, 20 Apr 2014 11:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ff5827c-016a-4563-ba06-8b4b1dbadf80</guid><dc:creator>Andrew Frazer</dc:creator><description>&lt;p&gt;Does the same apply for the 51422?   If i need four PWM&amp;#39;s can i generate them from two timers?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 pwm</title><link>https://devzone.nordicsemi.com/thread/7868?ContentTypeID=1</link><pubDate>Thu, 06 Mar 2014 16:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc2d8786-e0df-4711-a52b-d2fab5284967</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Mst,&lt;/p&gt;
&lt;p&gt;Yes, you are correct, current Softdevice now occupies 8 PPI channel leaving only 8 left. But in the future version, we may get more since the Softdevice will start to use the predefined PPI channel instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 pwm</title><link>https://devzone.nordicsemi.com/thread/7867?ContentTypeID=1</link><pubDate>Thu, 06 Mar 2014 16:08:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbba3afb-7c53-4bcb-a99f-777013308095</guid><dc:creator>mst</dc:creator><description>&lt;p&gt;To elaborate a bit on the limitations:
When using SoftDevice, 8 PPI channels are available. One PWM needs 2 PPI channels. 4 PWM would indeed be possible by using 2 timers (TIMER1 and TIMER2), but 5 would not because we run out of PPI channels. Am I correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 pwm</title><link>https://devzone.nordicsemi.com/thread/7865?ContentTypeID=1</link><pubDate>Thu, 06 Mar 2014 15:28:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:06046b3b-bc35-48a1-9187-8a9da4f11133</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Augusto,&lt;/p&gt;
&lt;p&gt;Since a timer only has 4 capture compare CC[] registers, you can create maximum 3 PWM with 1 timer.
So to have 4 timer you would need to use 2 timers or use CPU instead of PPI.
There is an example of making 3 PWM from one timer here:
&lt;a href="https://devzone.nordicsemi.com/index.php/is-there-an-example-code-for-using-pwm-on-the-nrf51822-with-a-softdevice"&gt;devzone.nordicsemi.com/.../is-there-an-example-code-for-using-pwm-on-the-nrf51822-with-a-softdevice&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>