<?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 Frequency</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1043/pwm-frequency</link><description>Hello, I&amp;#39;ve looked at the forum response for 
 devzone.nordicsemi.com/.../is-there-an-example-code-for-using-pwm-on-the-nrf51822-with-a-softdevice 
 I am unable to implement because, I think, I don&amp;#39;t have access to all of the libraries included nor</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Apr 2014 12:59:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1043/pwm-frequency" /><item><title>RE: PWM Frequency</title><link>https://devzone.nordicsemi.com/thread/4937?ContentTypeID=1</link><pubDate>Mon, 21 Apr 2014 12:59:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5931d7bd-8739-4f88-86de-ae33a9fddb1f</guid><dc:creator>Ruben</dc:creator><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;thanks for your quick reply. Sounds like a good hack, but unfortunately that could not work for me. Mainly due to size restrictions, I still hope I manage to find a way to increase the PWM on the RFduino itself. I can&amp;#39;t imagine that it would not be possible to do this.&lt;/p&gt;
&lt;p&gt;I hope I&amp;#39;ll find a solution soon :S&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;R.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM Frequency</title><link>https://devzone.nordicsemi.com/thread/4936?ContentTypeID=1</link><pubDate>Sat, 19 Apr 2014 15:14:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7eea9e9-a2d3-4096-a298-c37a943e5c1f</guid><dc:creator>Mike Zumbrunnen</dc:creator><description>&lt;p&gt;Hello Ruben,&lt;/p&gt;
&lt;p&gt;Thanks for the reply and links.  I&amp;#39;ll need to look at them and the SDK mentioned in the reply above yours.&lt;/p&gt;
&lt;p&gt;What I did to get the project moving was implemented a work around.  I haven&amp;#39;t gotten back to solving the correct way which is adjusting the frequency in the RFDuino.&lt;/p&gt;
&lt;p&gt;My work around was to use a Tiny85 as the PWM higher frequency generator.  Basically, the low PWM signal from the RFDuino goes through a low pass filter so it looks like an analog out signal.  The new analog signal is read by the Tiny85 and re-transmitted out of it as a higher PWM frequency to my pump motor.  All is good.&lt;/p&gt;
&lt;p&gt;This added about a buck to my project but got me moving on.  Some day I&amp;#39;ll return and do it right.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM Frequency</title><link>https://devzone.nordicsemi.com/thread/4935?ContentTypeID=1</link><pubDate>Sat, 19 Apr 2014 14:22:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9b79d5c-7d17-4271-b14e-c45b2cb51f74</guid><dc:creator>Ruben</dc:creator><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;Have you found a solution to increase the PWM frequency on the RFduino in a way that I can keep on using the analogWrite function?&lt;/p&gt;
&lt;p&gt;I was able to slow it down by increasing the divider, but unable to increase the frequency since it was already set to 1 (2^0). ( I believe the base frequency is around ±240hz)based on this thread: &lt;a href="http://forum.rfduino.com/index.php?topic=228.0"&gt;forum.rfduino.com/index.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But I&amp;#39;ve found a way to ramp the PWM frequency up to 62.5 kHz based on this: &lt;a href="http://forum.rfduino.com/index.php?topic=347.msg1135#msg1135."&gt;forum.rfduino.com/index.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Unfortunately the RFduinoBLE function interferes with this way of pumping up the frequency (the signal start to jump around as soon as I do RFduinoBLE.begin();. Not exactly sure why but have the feeling it has to do with the interrupts.&lt;/p&gt;
&lt;p&gt;I tried several things but haven&amp;#39;t been successful in increasing the frequency in a different way.&lt;/p&gt;
&lt;p&gt;Hope you can help.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;R.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM Frequency</title><link>https://devzone.nordicsemi.com/thread/4934?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2013 16:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1c8b288-00ea-400d-acb8-641688b0d625</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;The library and examples you found depends on having the full nRF51 SDK, which I&amp;#39;m not sure you&amp;#39;ll get when using an RFduino.&lt;/p&gt;
&lt;p&gt;The regular SDK is available for download from our main page if you have a product key for one of our nRF51 kits. If you already have it, the examples should compile if the Simple PWM folder is put in the nrf51822\Board\nrf6310\ folder inside the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM Frequency</title><link>https://devzone.nordicsemi.com/thread/4932?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2013 05:20:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2487d82c-ca3a-469b-9e4b-ec0d99a3c75d</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;I&amp;#39;ve found the include files but still haven&amp;#39;t figured it out.  I guess this problem is beyond my abilities.  I&amp;#39;ll keep trying.  Any clues would be appreciated.  Thx.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PWM Frequency</title><link>https://devzone.nordicsemi.com/thread/4933?ContentTypeID=1</link><pubDate>Wed, 04 Dec 2013 05:20:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aa868e8-9e9a-412a-92ee-a95ca5e06163</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;I&amp;#39;ve found the include files but still haven&amp;#39;t figured it out.  I guess this problem is beyond my abilities.  I&amp;#39;ll keep trying.  Any clues would be appreciated.  Thx.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>