<?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>PWM outputs in nRF51822</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21735/pwm-outputs-in-nrf51822</link><description>Hi,
I need 6 PWM channels for a BLE project. Is there any solution to add 2 other pwm channels to nRF51822? If not, Which other Nordic ICs might be helpful instead?
Thank you</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 May 2017 07:32:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21735/pwm-outputs-in-nrf51822" /><item><title>RE: PWM outputs in nRF51822</title><link>https://devzone.nordicsemi.com/thread/85373?ContentTypeID=1</link><pubDate>Tue, 02 May 2017 07:32:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91927144-1b2c-4fa4-8ab1-1c38aade31b9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The nRF51822 has 4 GPIOTE channels, and this sets the upper limit for hardware PWM channels to 4. If you need more than that you would have to implement them purely in software, using timer interrupts to update the outputs manually. This would severely limit the PWM frequency, but for LED control it might be sufficient since a PWM frequency of 60-100Hz is usually sufficient.&lt;/p&gt;
&lt;p&gt;If you need more than 4 PWM channels I would recommend upgrading to the &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF52832"&gt;nRF52832&lt;/a&gt;. The nRF52832 has 12 hardware PWM channels with DMA, and also allows 8 GPIOTE based PWM channels. So you can have &lt;strong&gt;20 PWM channels in total with the nRF52832&lt;/strong&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>