<?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>want to have 5 channels PWM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9584/want-to-have-5-channels-pwm</link><description>kit: RF51DK.
sdk:nRF51_SDK_8.1.0
SoftDevice:s110_nrf51_8.0.0_softdevice.hex 
 I want to use 5 channels pwm to control 2 servos and 1 motor;each servo uses 2 channels pwm,so I must 
use 5 channels pwm.
My way is below: 
 app_pwm_config_t pwm1_cfg</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Oct 2015 13:34:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9584/want-to-have-5-channels-pwm" /><item><title>RE: want to have 5 channels PWM</title><link>https://devzone.nordicsemi.com/thread/35404?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2015 13:34:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a575724-171a-4aaf-b5eb-2eb7e8d166f0</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hi.
In nRF51, you can have 2 channels per timer, which makes 4 the total amount of PWM channels you can use. APP_PWM_DEFAULT_CONFIG_3CH is not a valid setting, which is why you are returned an error.&lt;/p&gt;
&lt;p&gt;In our next product, the nRF52, you have up to 12 separate pwm channels available.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to have 5 channels PWM</title><link>https://devzone.nordicsemi.com/thread/35403?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2015 09:58:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fabf0701-c5dc-4aa8-8d0a-551d0e8edb7b</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;I am afraid nRF51 is not the best choice for that , as it doesn&amp;#39;t have hardware PWM. It would be hard to generate 5 different PWM channels and run BLE concurrently (if You want to use BLE)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: want to have 5 channels PWM</title><link>https://devzone.nordicsemi.com/thread/35402?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2015 08:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0acf3964-ad31-47a0-a81a-30adace77150</guid><dc:creator>snowbeans</dc:creator><description>&lt;p&gt;I have saw &lt;a href="https://devzone.nordicsemi.com/question/46908/is-it-possible-to-make-5-pwm-outputs-on-nrf51422-or-nrf51822/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt; , but it does not solve my problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>