<?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>How to operate PWM and softdevice  at the same time?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17306/how-to-operate-pwm-and-softdevice-at-the-same-time</link><description>I`m trying to operate PWM and soft device at the same time.
I have to make 4 Mhz using PWM block so I checked the PWM driver. There is no problem when using peripheral/pwmdriver. 
 However,when I applied pwm driver to ble_app_uart example, pwm driver</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Oct 2016 15:24:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17306/how-to-operate-pwm-and-softdevice-at-the-same-time" /><item><title>RE: How to operate PWM and softdevice  at the same time?</title><link>https://devzone.nordicsemi.com/thread/66498?ContentTypeID=1</link><pubDate>Tue, 25 Oct 2016 15:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b72d2dbc-45f1-4721-b0a1-43d0b82cf693</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi Mac&lt;/p&gt;
&lt;p&gt;The top value has minimum value of 3. That is stated in the PWM &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/pwm.html?cp=2_2_0_46_4_6#register.COUNTERTOP"&gt;COUNTERTOP&lt;/a&gt; register. If you want to make 4MHz square wave, you can do that with TIMER+PPI+GPIOTE, similar to what is done in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/nrf_gpiote_example.html?cp=4_0_0_4_5_10"&gt;gpiote example in the SDK&lt;/a&gt;, just with higher frequency.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>